mirror of
https://gitlab.opencode.de/bmi/opendesk/deployment/opendesk.git
synced 2025-12-06 07:21:36 +01:00
fix(nubus): [#183] Do not override nubusPortalConsumer.waitForDependency.image when using self-signed certificates
This commit is contained in:
@@ -819,20 +819,6 @@ nubusPortalConsumer:
|
|||||||
tag: {{ .Values.images.nubusWaitForDependency.tag }}
|
tag: {{ .Values.images.nubusWaitForDependency.tag }}
|
||||||
imagePullPolicy: {{ .Values.global.imagePullPolicy | quote }}
|
imagePullPolicy: {{ .Values.global.imagePullPolicy | quote }}
|
||||||
{{- if .Values.certificate.selfSigned }}
|
{{- if .Values.certificate.selfSigned }}
|
||||||
extraVolumes:
|
|
||||||
- name: "trusted-cert-secret-volume"
|
|
||||||
secret:
|
|
||||||
secretName: "opendesk-certificates-ca-tls"
|
|
||||||
items:
|
|
||||||
- key: "ca.crt"
|
|
||||||
path: "ca-certificates.crt"
|
|
||||||
- key: "ca.crt"
|
|
||||||
path: "cacert.pem"
|
|
||||||
extraVolumeMounts:
|
|
||||||
- name: "trusted-cert-secret-volume"
|
|
||||||
mountPath: "/etc/ssl/certs/ca-certificates.crt"
|
|
||||||
subPath: "ca-certificates.crt"
|
|
||||||
waitForDependency:
|
|
||||||
extraVolumeMounts:
|
extraVolumeMounts:
|
||||||
- name: "trusted-cert-secret-volume"
|
- name: "trusted-cert-secret-volume"
|
||||||
readOnly: true
|
readOnly: true
|
||||||
@@ -850,6 +836,21 @@ nubusPortalConsumer:
|
|||||||
- name: "SSL_CERT_FILE"
|
- name: "SSL_CERT_FILE"
|
||||||
value: "/etc/ssl/certs/ca-certificates.crt"
|
value: "/etc/ssl/certs/ca-certificates.crt"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.certificate.selfSigned }}
|
||||||
|
extraVolumes:
|
||||||
|
- name: "trusted-cert-secret-volume"
|
||||||
|
secret:
|
||||||
|
secretName: "opendesk-certificates-ca-tls"
|
||||||
|
items:
|
||||||
|
- key: "ca.crt"
|
||||||
|
path: "ca-certificates.crt"
|
||||||
|
- key: "ca.crt"
|
||||||
|
path: "cacert.pem"
|
||||||
|
extraVolumeMounts:
|
||||||
|
- name: "trusted-cert-secret-volume"
|
||||||
|
mountPath: "/etc/ssl/certs/ca-certificates.crt"
|
||||||
|
subPath: "ca-certificates.crt"
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
nubusPortalServer:
|
nubusPortalServer:
|
||||||
additionalAnnotations:
|
additionalAnnotations:
|
||||||
|
|||||||
Reference in New Issue
Block a user