Merge pull request #3000 from weaveworks/issues/2990-empty-selinuxoptions-by-default
Kubernetes' seLinuxOptions are empty by default
This commit is contained in:
commit
8dccc88613
3 files changed
+3
-4
No files matched your search
@@ -106,8 +106,7 @@ items:
|
||||
hostPID: true
|
||||
restartPolicy: Always
|
||||
securityContext:
|
||||
seLinuxOptions:
|
||||
type: spc_t
|
||||
seLinuxOptions: {}
|
||||
serviceAccountName: weave-net
|
||||
tolerations:
|
||||
- effect: NoSchedule
|
||||
|
||||
@@ -70,8 +70,7 @@ items:
|
||||
hostPID: true
|
||||
restartPolicy: Always
|
||||
securityContext:
|
||||
seLinuxOptions:
|
||||
type: spc_t
|
||||
seLinuxOptions: {}
|
||||
serviceAccountName: weave-net
|
||||
volumes:
|
||||
- name: weavedb
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
Reference in new issue
Block a user