Add Docker default AppArmor profile to promenade
Change-Id: Ic3983f963ae5003445642f842a9c550cf49d4d34
This commit is contained in:
parent
83d8616cc3
commit
fc331e5124
|
@ -46,7 +46,7 @@
|
||||||
name: airship-promenade-single-node
|
name: airship-promenade-single-node
|
||||||
nodes:
|
nodes:
|
||||||
- name: primary
|
- name: primary
|
||||||
label: ubuntu-xenial
|
label: ubuntu-bionic
|
||||||
- nodeset:
|
- nodeset:
|
||||||
name: airship-promenade-single-node-bionic
|
name: airship-promenade-single-node-bionic
|
||||||
nodes:
|
nodes:
|
||||||
|
@ -130,7 +130,6 @@
|
||||||
- ^etc/.*$
|
- ^etc/.*$
|
||||||
- ^tests/.*$
|
- ^tests/.*$
|
||||||
- ^tools/.*$
|
- ^tools/.*$
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: airship-docker-build-post
|
name: airship-docker-build-post
|
||||||
run: tools/zuul/playbooks/docker-image-build.yaml
|
run: tools/zuul/playbooks/docker-image-build.yaml
|
||||||
|
|
|
@ -41,6 +41,7 @@ spec:
|
||||||
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
|
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
|
||||||
configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}
|
configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}
|
||||||
configmap-etc-hash: {{ tuple "configmap-etc.yaml" . | include "helm-toolkit.utils.hash" }}
|
configmap-etc-hash: {{ tuple "configmap-etc.yaml" . | include "helm-toolkit.utils.hash" }}
|
||||||
|
{{ dict "envAll" $envAll "podName" "promenade-api" "containerNames" (list "promenade-api") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }}
|
||||||
spec:
|
spec:
|
||||||
{{ dict "envAll" $envAll "application" "promenade" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}
|
{{ dict "envAll" $envAll "application" "promenade" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}
|
||||||
affinity:
|
affinity:
|
||||||
|
|
|
@ -182,6 +182,10 @@ pod:
|
||||||
promenade_api:
|
promenade_api:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
|
mandatory_access_control:
|
||||||
|
type: apparmor
|
||||||
|
promenade-api:
|
||||||
|
promenade-api: runtime/default
|
||||||
affinity:
|
affinity:
|
||||||
anti:
|
anti:
|
||||||
type:
|
type:
|
||||||
|
|
Loading…
Reference in New Issue