Skip to content

Commit

Permalink
Merge pull request kubernetes#7792 from pweil-/security-context-types
Browse files Browse the repository at this point in the history
SecurityContext admission clean up
  • Loading branch information
wojtek-t committed May 7, 2015
2 parents 9ab1679 + 5acdf5e commit ca0f678
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cluster/gce/config-default.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ DNS_DOMAIN="kubernetes.local"
DNS_REPLICAS=1

# Admission Controllers to invoke prior to persisting objects in cluster
ADMISSION_CONTROL=NamespaceLifecycle,NamespaceAutoProvision,LimitRanger,SecurityContextDeny,ResourceQuota,
ADMISSION_CONTROL=NamespaceLifecycle,NamespaceAutoProvision,LimitRanger,SecurityContextDeny,ResourceQuota
2 changes: 1 addition & 1 deletion contrib/ansible/roles/master/templates/apiserver.j2
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ KUBE_SERVICE_ADDRESSES="--portal_net={{ kube_service_addresses }}"
KUBE_ETCD_SERVERS="--etcd_servers=http://{{ groups['etcd'][0] }}:2379"

# default admission control policies
KUBE_ADMISSION_CONTROL="--admission_control=NamespaceAutoProvision,LimitRanger,ResourceQuota"
KUBE_ADMISSION_CONTROL="--admission_control=NamespaceAutoProvision,LimitRanger,SecurityContextDeny,ResourceQuota"

# Add you own!
KUBE_API_ARGS=""
2 changes: 1 addition & 1 deletion contrib/init/systemd/environ/apiserver
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ KUBE_ETCD_SERVERS="--etcd_servers=http://127.0.0.1:4001"
KUBE_SERVICE_ADDRESSES="--portal_net=10.254.0.0/16"

# default admission control policies
KUBE_ADMISSION_CONTROL="--admission_control=NamespaceAutoProvision,LimitRanger,ResourceQuota"
KUBE_ADMISSION_CONTROL="--admission_control=NamespaceAutoProvision,LimitRanger,SecurityContextDeny,ResourceQuota"

# Add you own!
KUBE_API_ARGS=""

0 comments on commit ca0f678

Please sign in to comment.