diff --git a/charts/retool/templates/configmap_js_executor.yaml b/charts/retool/templates/configmap_js_executor.yaml index 60c45c8..934e851 100644 --- a/charts/retool/templates/configmap_js_executor.yaml +++ b/charts/retool/templates/configmap_js_executor.yaml @@ -1,7 +1,9 @@ apiVersion: v1 kind: ConfigMap metadata: - name: js-executor-seccomp + name: {{ template "retool.fullname" . }}-js-executor-seccomp + labels: + {{- include "retool.labels" . | nindent 4 }} data: nsjail-seccomp.json: | {{- .Files.Get "files/nsjail-seccomp.json" | nindent 4 }} diff --git a/charts/retool/templates/deployment_js_executor.yaml b/charts/retool/templates/deployment_js_executor.yaml index b432b0f..75e66a7 100644 --- a/charts/retool/templates/deployment_js_executor.yaml +++ b/charts/retool/templates/deployment_js_executor.yaml @@ -149,7 +149,7 @@ spec: volumes: - name: seccomp-profile configMap: - name: "js-executor-seccomp" + name: {{ template "retool.fullname" . }}-js-executor-seccomp - name: host-seccomp hostPath: path: /var/lib/kubelet/seccomp