Skip to content

Commit a23e1f4

Browse files
committed
Ensure volumes and volumeMount objects exists
1 parent 0dc6645 commit a23e1f4

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

deploy/chart/templates/0000_50_olm_07-olm-operator.deployment.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ spec:
2222
seccompProfile:
2323
type: RuntimeDefault
2424
serviceAccountName: olm-operator-serviceaccount
25-
{{- if or .Values.olm.tlsSecret .Values.olm.clientCASecret }}
2625
volumes:
27-
{{- end }}
2826
{{- if .Values.olm.tlsSecret }}
2927
- name: srv-cert
3028
secret:
@@ -44,9 +42,7 @@ spec:
4442
readOnlyRootFilesystem: true
4543
capabilities:
4644
drop: [ "ALL" ]
47-
{{- if or .Values.olm.tlsSecret .Values.olm.clientCASecret }}
4845
volumeMounts:
49-
{{- end }}
5046
{{- if .Values.olm.tlsSecret }}
5147
- name: srv-cert
5248
mountPath: "/srv-cert"

deploy/chart/templates/0000_50_olm_08-catalog-operator.deployment.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ spec:
2222
seccompProfile:
2323
type: RuntimeDefault
2424
serviceAccountName: olm-operator-serviceaccount
25-
{{- if or .Values.catalog.tlsSecret .Values.catalog.clientCASecret }}
2625
volumes:
27-
{{- end }}
2826
{{- if .Values.catalog.tlsSecret }}
2927
- name: srv-cert
3028
secret:
@@ -44,9 +42,7 @@ spec:
4442
readOnlyRootFilesystem: true
4543
capabilities:
4644
drop: [ "ALL" ]
47-
{{- if or .Values.catalog.tlsSecret .Values.catalog.clientCASecret }}
4845
volumeMounts:
49-
{{- end }}
5046
{{- if .Values.catalog.tlsSecret }}
5147
- name: srv-cert
5248
mountPath: "/srv-cert"

0 commit comments

Comments
 (0)