diff --git a/release-charts/mixingx-agent-unit/templates/unit.yaml b/release-charts/mixingx-agent-unit/templates/unit.yaml index 2706ba0..7df8cd5 100644 --- a/release-charts/mixingx-agent-unit/templates/unit.yaml +++ b/release-charts/mixingx-agent-unit/templates/unit.yaml @@ -81,6 +81,9 @@ spec: - name: {{ $name }} image: {{ include "mixingx-agent-unit.image" (dict "registry" .Values.global.imageRegistry "image" .Values.images.agent) | quote }} imagePullPolicy: IfNotPresent + securityContext: + appArmorProfile: + type: Unconfined ports: - name: http containerPort: {{ .Values.ports.backend }} diff --git a/release-charts/mixingx-edge-unit/templates/unit.yaml b/release-charts/mixingx-edge-unit/templates/unit.yaml index 10fc0f3..d0a68af 100644 --- a/release-charts/mixingx-edge-unit/templates/unit.yaml +++ b/release-charts/mixingx-edge-unit/templates/unit.yaml @@ -59,6 +59,9 @@ spec: - name: {{ $name }} image: {{ include "mixingx-edge-unit.image" (dict "registry" .Values.global.imageRegistry "image" .Values.images.edge) | quote }} imagePullPolicy: IfNotPresent + securityContext: + appArmorProfile: + type: Unconfined ports: - name: http containerPort: {{ .Values.ports.backend }} diff --git a/release-charts/mixingx-gateway/templates/gateway.yaml b/release-charts/mixingx-gateway/templates/gateway.yaml index b22a2c3..67160ec 100644 --- a/release-charts/mixingx-gateway/templates/gateway.yaml +++ b/release-charts/mixingx-gateway/templates/gateway.yaml @@ -30,6 +30,9 @@ spec: - name: gateway image: {{ include "mixingx-gateway.image" (dict "registry" .Values.global.imageRegistry "image" $gatewayImage) | quote }} imagePullPolicy: IfNotPresent + securityContext: + appArmorProfile: + type: Unconfined ports: - name: http containerPort: {{ .Values.gateway.port | default 8080 }} diff --git a/release-charts/mixingx-platform/templates/_workloads.tpl b/release-charts/mixingx-platform/templates/_workloads.tpl index 88b3de2..079a55f 100644 --- a/release-charts/mixingx-platform/templates/_workloads.tpl +++ b/release-charts/mixingx-platform/templates/_workloads.tpl @@ -30,6 +30,9 @@ spec: {{ $image := index $root.Values.images .image }} image: {{ include "mixingx-platform.image" (dict "registry" $root.Values.global.imageRegistry "image" $image) | quote }} imagePullPolicy: IfNotPresent + securityContext: + appArmorProfile: + type: Unconfined ports: - name: http containerPort: {{ $port }} diff --git a/release-charts/mixingx-sso/templates/sso.yaml b/release-charts/mixingx-sso/templates/sso.yaml index 77f2551..2a9d535 100644 --- a/release-charts/mixingx-sso/templates/sso.yaml +++ b/release-charts/mixingx-sso/templates/sso.yaml @@ -32,6 +32,9 @@ spec: - name: {{ $name }} image: {{ include "mixingx-sso.image" (dict "registry" $root.Values.global.imageRegistry "image" $root.Values.images.sso) | quote }} imagePullPolicy: IfNotPresent + securityContext: + appArmorProfile: + type: Unconfined ports: - name: http containerPort: {{ $backendPort }} diff --git a/release-charts/mixingx-ultra/templates/ultra.yaml b/release-charts/mixingx-ultra/templates/ultra.yaml index 5d998df..ba0635e 100644 --- a/release-charts/mixingx-ultra/templates/ultra.yaml +++ b/release-charts/mixingx-ultra/templates/ultra.yaml @@ -37,6 +37,9 @@ spec: - name: {{ $name }} image: {{ include "mixingx-ultra.image" (dict "registry" $root.Values.global.imageRegistry "image" $root.Values.images.ultra) | quote }} imagePullPolicy: IfNotPresent + securityContext: + appArmorProfile: + type: Unconfined ports: - name: http containerPort: {{ $port }}