Skip to content

Commit e0ace34

Browse files
authored
Merge pull request #129 from nexus49/main
feat: allow to configure extraDNSNames to be added to the frontproxy certificate
2 parents ee0b986 + c0e06c1 commit e0ace34

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

charts/kcp/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: kcp
33
description: A prototype of a multi-tenant Kubernetes control plane for workloads on many clusters
44

55
# version information
6-
version: 0.9.4
6+
version: 0.9.5
77
appVersion: "0.26.1"
88

99
# optional metadata

charts/kcp/templates/front-proxy-certificates.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ spec:
1919
- server auth
2020
dnsNames:
2121
- "{{ .Values.externalHostname }}"
22+
{{- range .Values.kcpFrontProxy.extraDNSNames }}
23+
- "{{ . }}"
24+
{{- end }}
2225
issuerRef:
2326
{{- if .Values.kcpFrontProxy.certificateIssuer }}
2427
{{ .Values.kcpFrontProxy.certificateIssuer | toYaml | nindent 4 }}

charts/kcp/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,9 @@ kcpFrontProxy:
185185
# proxy_client_cert: /etc/kcp-front-proxy/requestheader-client/tls/kcp/tls.crt
186186
# proxy_client_key: /etc/kcp-front-proxy/requestheader-client/tls/kcp/tls.key
187187

188+
# Set this to add additional dnsNames to the Front Proxy certificate.
189+
extraDNSNames: []
190+
188191
# When running external virtual workspaces, kcp-front-proxy needs
189192
# access to the CA that signed the VW's serving cert. Unless your
190193
# VWs all use the kcp-server-issuer, you must mount all additional

0 commit comments

Comments
 (0)