mirror of
https://gitlab.opencode.de/bmi/opendesk/deployment/opendesk.git
synced 2025-12-09 00:38:34 +01:00
feat(nubus): Add self-signed certificate from secret
This commit is contained in:
@@ -58,7 +58,7 @@ please ensure that `openssl` is installed on your system.
|
||||
|
||||
3. Generate the Java keystore (JKS) file `truststore.jks` with the CA certficiate (requires the Java SDK):
|
||||
```/bin/bash
|
||||
$ export TRUSTSTORE_PASSWORD="passwordForTruststore.jks"
|
||||
$ export TRUSTSTORE_PASSWORD="changeit"
|
||||
$ keytool -import -file ca-cert.crt -keystore truststore.jks -storepass "$TRUSTSTORE_PASSWORD"
|
||||
Owner: O=Internet Widgits Pty Ltd, ST=Some-State, C=DE
|
||||
Issuer: O=Internet Widgits Pty Ltd, ST=Some-State, C=DE
|
||||
|
||||
@@ -4,6 +4,12 @@
|
||||
additionalAnnotations:
|
||||
{{ .Values.annotations.nubus.additional | toYaml | nindent 2 }}
|
||||
|
||||
# -- Disable the cert-manager resources from the Helm chart if certificates are deactivated
|
||||
{{- if not .Values.apps.certificates.enabled }}
|
||||
certificates:
|
||||
enabled: false
|
||||
{{- end }}
|
||||
|
||||
global:
|
||||
certManagerIssuer: {{ .Values.certificate.issuerRef.name | quote }}
|
||||
domain: {{ .Values.global.domain | quote }}
|
||||
@@ -1521,6 +1527,12 @@ nubusUmcServer:
|
||||
smtp:
|
||||
auth:
|
||||
password: {{ .Values.secrets.postfix.opendeskSystemPassword | quote }}
|
||||
{{- if .Values.certificate.selfSigned }}
|
||||
extraVolumes:
|
||||
- name: "certificates"
|
||||
secret:
|
||||
secretName: "opendesk-certificates-tls"
|
||||
{{- end }}
|
||||
|
||||
nubusUmcGateway:
|
||||
containerSecurityContext:
|
||||
|
||||
Reference in New Issue
Block a user