Enable Apparmor to all Armada test pods
Depends-On: https://review.opendev.org/#/c/731856/ Change-Id: Ib0ea0873d78edd0e3c5f847c84ce89cf151268ca
This commit is contained in:
parent
6b2c7245de
commit
04ac986684
|
@ -22,10 +22,11 @@ Test the Armada API, to ensure that the health endpoint is active and able to re
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Pod
|
kind: Pod
|
||||||
metadata:
|
metadata:
|
||||||
name: "{{ .Release.Name }}-armada-api-test"
|
name: armada-api-test
|
||||||
annotations:
|
annotations:
|
||||||
"helm.sh/hook": "test-success"
|
"helm.sh/hook": "test-success"
|
||||||
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
|
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
|
||||||
|
{{ dict "envAll" $envAll "podName" "armada-api-test" "containerNames" (list "armada-api-test") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 4 }}
|
||||||
labels:
|
labels:
|
||||||
{{ tuple $envAll "armada" "api-test" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
|
{{ tuple $envAll "armada" "api-test" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
|
||||||
spec:
|
spec:
|
||||||
|
@ -33,7 +34,7 @@ spec:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{ .Values.labels.test.node_selector_key }}: {{ .Values.labels.test.node_selector_value }}
|
{{ .Values.labels.test.node_selector_key }}: {{ .Values.labels.test.node_selector_value }}
|
||||||
containers:
|
containers:
|
||||||
- name: "{{ .Release.Name }}-armada-api-test"
|
- name: armada-api-test
|
||||||
env:
|
env:
|
||||||
- name: 'ARMADA_URL'
|
- name: 'ARMADA_URL'
|
||||||
value: {{ tuple "armada" "internal" "api" . | include "helm-toolkit.endpoints.host_and_port_endpoint_uri_lookup" | quote }}
|
value: {{ tuple "armada" "internal" "api" . | include "helm-toolkit.endpoints.host_and_port_endpoint_uri_lookup" | quote }}
|
||||||
|
|
|
@ -232,6 +232,8 @@ pod:
|
||||||
init: runtime/default
|
init: runtime/default
|
||||||
armada-api: runtime/default
|
armada-api: runtime/default
|
||||||
tiller: runtime/default
|
tiller: runtime/default
|
||||||
|
armada-api-test:
|
||||||
|
armada-api-test: runtime/default
|
||||||
probes:
|
probes:
|
||||||
armada:
|
armada:
|
||||||
api:
|
api:
|
||||||
|
|
Loading…
Reference in New Issue