Skip to content

Commit 95f58fd

Browse files
committed
ability to configure google auth provider
1 parent b5d15e4 commit 95f58fd

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-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.1.14
5+
version: 0.1.15
66
appVersion: "1.16.0"
77

88
maintainers:

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ spec:
4343
containerPort: 3000
4444
protocol: TCP
4545
env:
46+
- name: GOOGLE_CLIENT_ID
47+
value: {{ .Values.global.authProviders.google.clientId }}
48+
- name: GOOGLE_CLIENT_SECRET
49+
value: {{ .Values.global.authProviders.google.clientSecret }}
50+
4651
- name: REDIS_URL
4752
valueFrom:
4853
secretKeyRef:

charts/ctrlplane/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ global:
22
extraEnvFrom: {}
33
extraEnv: {}
44

5+
authProviders:
6+
google:
7+
clientId: ""
8+
clientSecret: ""
9+
510
common:
611
labels: {}
712
annotations: {}

0 commit comments

Comments
 (0)