UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects

feat: allow creation of wildcard cert from values.yaml intead of externally provided

Merged runyontr requested to merge wildcard-certs into staging
Files
4
@@ -22,4 +22,20 @@ type: kubernetes.io/dockerconfigjson
data:
.dockerconfigjson: {{ template "imagePullSecret" . }}
{{- end }}
---
{{- if and .Values.istio.ingress.key .Values.istio.ingress.cert }}
apiVersion: v1
kind: Secret
metadata:
name: wildcard-cert
namespace: istio-system
labels:
app.kubernetes.io/name: istio-controlplane
app.kubernetes.io/component: "core"
{{- include "commonLabels" . | nindent 4}}
type: kubernetes.io/tls
data:
tls.crt: {{ .Values.istio.ingress.cert | b64enc }}
tls.key: {{ .Values.istio.ingress.key | b64enc}}
{{- end }}
{{- end }}
\ No newline at end of file
Loading