Skip to content

Commit a48352e

Browse files
feat: Enable credentials auth (#17)
1 parent 0a0bfc9 commit a48352e

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

charts/ctrlplane/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: ctrlplane
33
description: Ctrlplane Helm chart for Kubernetes
44
type: application
5-
version: 0.3.9
5+
version: 0.3.10
66
appVersion: "1.16.0"
77

88
maintainers:

charts/ctrlplane/charts/webservice/templates/deployment.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,17 @@ spec:
7070
value: {{ .Values.global.authProviders.oidc.clientSecret }}
7171
{{- end }}
7272

73+
{{- if eq .Values.global.authProviders.credentials.enabled "true" }}
74+
- name: AUTH_CREDENTIALS_ENABLED
75+
value: "true"
76+
{{- else if eq .Values.global.authProviders.credentials.enabled "false" }}
77+
- name: AUTH_CREDENTIALS_ENABLED
78+
value: "false"
79+
{{- else }}
80+
- name: AUTH_CREDENTIALS_ENABLED
81+
value: "auto"
82+
{{- end }}
83+
7384
- name: REDIS_URL
7485
valueFrom:
7586
secretKeyRef:

charts/ctrlplane/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ global:
1212
issuer: ""
1313
clientId: ""
1414
clientSecret: ""
15+
credentials:
16+
enabled: "auto"
1517

1618
common:
1719
labels: {}

0 commit comments

Comments
 (0)