Skip to content

Commit

Permalink
remove empty Secret
Browse files Browse the repository at this point in the history
  • Loading branch information
kubasobon committed Nov 16, 2023
1 parent b59d7e6 commit cc0103c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
12 changes: 2 additions & 10 deletions helm/pss-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand Down
9 changes: 0 additions & 9 deletions helm/pss-operator/templates/secret.yaml

This file was deleted.

0 comments on commit cc0103c

Please sign in to comment.