diff --git a/helm/pss-operator/templates/deployment.yaml b/helm/pss-operator/templates/deployment.yaml index c7ee78b..2a244d4 100644 --- a/helm/pss-operator/templates/deployment.yaml +++ b/helm/pss-operator/templates/deployment.yaml @@ -35,12 +35,6 @@ spec: items: - key: config.yaml path: config.yaml - - name: {{ include "name" . }}-secret - secret: - secretName: {{ include "resource.default.name" . }} - items: - - key: secret.yaml - path: secret.yaml serviceAccountName: {{ include "resource.default.name" . }} securityContext: runAsUser: {{ .Values.pod.user.id }} @@ -53,13 +47,11 @@ spec: image: "{{ .Values.registry.domain }}/{{ .Values.image.name }}:{{ .Values.image.tag }}" args: - daemon - - --config.dirs=/var/run/{{ include "name" . }}/configmap/,/var/run/{{ include "name" . }}/secret/ - - --config.files=config,secret + - --config.dirs=/var/run/{{ include "name" . }}/configmap/ + - --config.files=config volumeMounts: - name: {{ include "name" . }}-configmap mountPath: /var/run/{{ include "name" . }}/configmap/ - - name: {{ include "name" . }}-secret - mountPath: /var/run/{{ include "name" . }}/secret/ livenessProbe: httpGet: path: /healthz diff --git a/helm/pss-operator/templates/secret.yaml b/helm/pss-operator/templates/secret.yaml deleted file mode 100644 index f1938ee..0000000 --- a/helm/pss-operator/templates/secret.yaml +++ /dev/null @@ -1,9 +0,0 @@ -apiVersion: v1 -kind: Secret -metadata: - name: {{ include "resource.default.name" . }} - namespace: {{ include "resource.default.namespace" . }} - labels: - {{- include "labels.common" . | nindent 4 }} -stringData: - secret.yaml: "{}"