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
|
hostPID: true
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
securityContext:
|
securityContext:
|
||||||
seLinuxOptions:
|
seLinuxOptions: {}
|
||||||
type: spc_t
|
|
||||||
serviceAccountName: weave-net
|
serviceAccountName: weave-net
|
||||||
tolerations:
|
tolerations:
|
||||||
- effect: NoSchedule
|
- effect: NoSchedule
|
||||||
|
|||||||
@@ -70,8 +70,7 @@ items:
|
|||||||
hostPID: true
|
hostPID: true
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
securityContext:
|
securityContext:
|
||||||
seLinuxOptions:
|
seLinuxOptions: {}
|
||||||
type: spc_t
|
|
||||||
serviceAccountName: weave-net
|
serviceAccountName: weave-net
|
||||||
volumes:
|
volumes:
|
||||||
- name: weavedb
|
- 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.
|
- `trusted-subnets`: comma-separated list of CIDRs. Default: empty.
|
||||||
- `disable-npc`: boolean (`true|false`). Default: `false`.
|
- `disable-npc`: boolean (`true|false`). Default: `false`.
|
||||||
- `env.NAME=VALUE`: add environment variable `NAME` and set it to `VALUE`.
|
- `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:
|
The list of variables you can set is:
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user