Merge pull request #3000 from weaveworks/issues/2990-empty-selinuxoptions-by-default

Kubernetes' seLinuxOptions are empty by default
This commit is contained in:
Bryan Boreham authored and GitHub committed 2017-06-16 15:44:44 +01:00
commit 8dccc88613
3 files changed
+3 -4

No files matched your search

+1 -2
View File
@@ -106,8 +106,7 @@ items:
hostPID: true
restartPolicy: Always
securityContext:
seLinuxOptions:
type: spc_t
seLinuxOptions: {}
serviceAccountName: weave-net
tolerations:
- effect: NoSchedule
+1 -2
View File
@@ -70,8 +70,7 @@ items:
hostPID: true
restartPolicy: Always
securityContext:
seLinuxOptions:
type: spc_t
seLinuxOptions: {}
serviceAccountName: weave-net
volumes:
- name: weavedb
+1
View File
@@ -223,6 +223,7 @@ If the YAML file is from `cloud.weave.works` as described above, then you can cu
- `trusted-subnets`: comma-separated list of CIDRs. Default: empty.
- `disable-npc`: boolean (`true|false`). Default: `false`.
- `env.NAME=VALUE`: add environment variable `NAME` and set it to `VALUE`.
- `seLinuxOptions.NAME=VALUE`: add SELinux option `NAME` and set it to `VALUE`, e.g. `seLinuxOptions.type=spc_t`
The list of variables you can set is: