Skip to content

Commit 4bb77e3

Browse files
authored
support token-auth-only in helm chart (#305)
1 parent 07698e5 commit 4bb77e3

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

chart/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ spec:
9090
- "--otlp-endpoint"
9191
- {{ .Values.telemetry.otlpEndpoint | quote }}
9292
{{- end }}
93+
{{- if .Values.app.tokenAuthOnly }}
94+
- "--token-auth-only"
95+
- "true"
96+
{{- end }}
9397
env:
9498
{{- if .Values.azure.subscriptionId }}
9599
- name: AZURE_SUBSCRIPTION_ID

chart/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ app:
2626
logLevel: "info"
2727
# Enable cache for better performance
2828
cache: true
29+
# Enable token-only authentication mode for supported tools
30+
# When enabled, tools like kubectl use Azure AKS RunCommand API with user tokens
31+
# Requires transport to be sse or streamable-http (not compatible with stdio)
32+
tokenAuthOnly: false
2933

3034
# Azure authentication configuration
3135
azure:

0 commit comments

Comments
 (0)