Skip to content

Commit e7d290f

Browse files
committed
fix(all): properly add CA cert mount to all charts
1 parent 9a9bf1f commit e7d290f

20 files changed

Lines changed: 75 additions & 77 deletions

bazarr-0.1.0.tgz

9 Bytes
Binary file not shown.

charts/glance/templates/deploy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ spec:
9696
mountPath: /app/config
9797
- name: assets
9898
mountPath: /app/assets
99-
- name: ca-cert
99+
- name: ca-cert
100100
mountPath: /etc/ssl/certs/my-selfsigned-ca.crt
101101
subPath: ca.crt
102102
readOnly: true
@@ -112,7 +112,7 @@ spec:
112112
configMap:
113113
defaultMode: 420
114114
name: {{ include "glance.fullname" . }}-config
115-
- name: ca-cert
115+
- name: ca-cert
116116
secret:
117117
secretName: root-secret
118118
items:

charts/homebridge/templates/deploy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ spec:
9292
- name: bluetooth
9393
mountPath: {{ .Values.bluetooth.hostPath }}
9494
{{- end }}
95-
- name: ca-cert
95+
- name: ca-cert
9696
mountPath: /etc/ssl/certs/my-selfsigned-ca.crt
9797
subPath: ca.crt
9898
readOnly: true
@@ -109,7 +109,7 @@ spec:
109109
path: {{ .Values.bluetooth.hostPath }}
110110
type: DirectoryOrCreate
111111
{{- end }}
112-
- name: ca-cert
112+
- name: ca-cert
113113
secret:
114114
secretName: root-secret
115115
items:

charts/ping/templates/deploy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ spec:
9292
volumeMounts:
9393
- name: config
9494
mountPath: /config
95-
- name: ca-cert
95+
- name: ca-cert
9696
mountPath: /etc/ssl/certs/my-selfsigned-ca.crt
9797
subPath: ca.crt
9898
readOnly: true
@@ -104,7 +104,7 @@ spec:
104104
configMap:
105105
defaultMode: 420
106106
name: {{ include "ping.fullname" . }}
107-
- name: ca-cert
107+
- name: ca-cert
108108
secret:
109109
secretName: root-secret
110110
items:

charts/smtp/templates/deploy.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,22 +82,24 @@ spec:
8282
resources:
8383
{{- toYaml . | nindent 12 }}
8484
{{- end }}
85-
- name: ca-cert
85+
volumeMounts:
86+
- name: ca-cert
8687
mountPath: /etc/ssl/certs/my-selfsigned-ca.crt
8788
subPath: ca.crt
8889
readOnly: true
89-
{{- with .Values.extraVolumeMounts }}
90-
volumeMounts:
90+
{{- with .Values.extraVolumeMounts }}
91+
{{- toYaml . | nindent 12 }}
9192
{{- toYaml . | nindent 12 }}
9293
{{- end }}
93-
- name: ca-cert
94+
volumes:
95+
- name: ca-cert
9496
secret:
9597
secretName: root-secret
9698
items:
9799
- key: ca.crt
98100
path: ca.crt
99-
{{- with .Values.extraVolumes }}
100-
volumes:
101+
{{- with .Values.extraVolumes }}
102+
{{- toYaml . | nindent 8 }}
101103
{{- toYaml . | nindent 8 }}
102104
{{- end }}
103105
{{- with .Values.nodeSelector }}

charts/speedtest/templates/deploy.yaml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ spec:
4848
securityContext:
4949
{{- toYaml . | nindent 8 }}
5050
{{- end }}
51-
{{- with .Values.hostAliases }}
52-
hostAliases:
53-
{{- toYaml . | nindent 8 }}
54-
{{- end }}
5551
containers:
5652
- name: {{ .Chart.Name }}
5753
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
@@ -91,22 +87,24 @@ spec:
9187
startupProbe:
9288
{{- toYaml . | nindent 12 }}
9389
{{- end }}
94-
- name: ca-cert
90+
volumeMounts:
91+
- name: ca-cert
9592
mountPath: /etc/ssl/certs/my-selfsigned-ca.crt
9693
subPath: ca.crt
9794
readOnly: true
98-
{{- with .Values.extraVolumeMounts }}
99-
volumeMounts:
95+
{{- with .Values.extraVolumeMounts }}
96+
{{- toYaml . | nindent 12 }}
10097
{{- toYaml . | nindent 12 }}
10198
{{- end }}
102-
- name: ca-cert
99+
volumes:
100+
- name: ca-cert
103101
secret:
104102
secretName: root-secret
105103
items:
106104
- key: ca.crt
107105
path: ca.crt
108-
{{- with .Values.extraVolumes }}
109-
volumes:
106+
{{- with .Values.extraVolumes }}
107+
{{- toYaml . | nindent 8 }}
110108
{{- toYaml . | nindent 8 }}
111109
{{- end }}
112110
{{- with .Values.nodeSelector }}

charts/whoami/templates/deploy.yaml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ spec:
4848
securityContext:
4949
{{- toYaml . | nindent 8 }}
5050
{{- end }}
51-
{{- with .Values.hostAliases }}
52-
hostAliases:
53-
{{- toYaml . | nindent 8 }}
54-
{{- end }}
5551
containers:
5652
- name: {{ .Chart.Name }}
5753
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
@@ -91,22 +87,24 @@ spec:
9187
startupProbe:
9288
{{- toYaml . | nindent 12 }}
9389
{{- end }}
94-
- name: ca-cert
90+
volumeMounts:
91+
- name: ca-cert
9592
mountPath: /etc/ssl/certs/my-selfsigned-ca.crt
9693
subPath: ca.crt
9794
readOnly: true
98-
{{- with .Values.extraVolumeMounts }}
99-
volumeMounts:
95+
{{- with .Values.extraVolumeMounts }}
96+
{{- toYaml . | nindent 12 }}
10097
{{- toYaml . | nindent 12 }}
10198
{{- end }}
102-
- name: ca-cert
99+
volumes:
100+
- name: ca-cert
103101
secret:
104102
secretName: root-secret
105103
items:
106104
- key: ca.crt
107105
path: ca.crt
108-
{{- with .Values.extraVolumes }}
109-
volumes:
106+
{{- with .Values.extraVolumes }}
107+
{{- toYaml . | nindent 8 }}
110108
{{- toYaml . | nindent 8 }}
111109
{{- end }}
112110
{{- with .Values.nodeSelector }}

glance-0.1.3.tgz

5 Bytes
Binary file not shown.

homebridge-0.1.15.tgz

5 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)