Skip to content

Commit 033faaf

Browse files
Allow for single-domain kas setup (#149)
Will help with hardening the network posture around kas and also just general setup
1 parent 7ff27e0 commit 033faaf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

charts/deployment-operator/templates/deployment.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,10 @@ spec:
6464
image: {{ .Values.agentk.image.repository }}:{{ .Values.agentk.image.tag }}
6565
imagePullPolicy: {{ .Values.agentk.image.pullPolicy }}
6666
terminationMessagePolicy: {{ .Values.agentk.terminationMessagePolicy }}
67+
{{ $kasAddress := replace "gql" "kas" (default "" .Values.consoleUrl) | replace "https" "wss" }}
6768
args:
6869
- --token-file=/etc/agentk/secrets/token
69-
- --kas-address={{ .Values.agentk.config.kasAddress }}
70+
- --kas-address={{ $kasAddress }}
7071
- --observability-listen-address=:8081
7172
{{- if .Values.agentk.config.caCert }}
7273
- --ca-cert-file=/etc/agentk/config/ca.crt

0 commit comments

Comments
 (0)