Skip to content

Commit

Permalink
fix: comment back dex default values (#63)
Browse files Browse the repository at this point in the history
Co-authored-by: Luca Lanziani <luca.lanziani@nearform.com>
  • Loading branch information
LucaLanziani and LucaLanziani committed Mar 2, 2023
1 parent b7fa380 commit b89546d
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions addons/dex/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,41 +17,41 @@ dex-source:
# Example config for Kubernetes Authentication Through Dex and GitHub
#
# # URL and port as seen from outside the cluster, through MetalLB and Istio ingress gateway
issuer: https://dex.kube.local
storage:
type: kubernetes
config:
inCluster: true
connectors:
- type: github
id: github
name: GitHub
config:
clientID: $GITHUB_CLIENT_ID
clientSecret: $GITHUB_CLIENT_SECRET
redirectURI: https://dex.kube.local/callback
staticClients:
- id: kubelogin
redirectURIs:
- 'http://localhost:8000'
name: 'Kubelogin'
secretEnv: KUBELOGIN_CLIENT_SECRET
envVars:
- name: GITHUB_CLIENT_ID
valueFrom:
secretKeyRef:
name: github-client
key: client-id
- name: GITHUB_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: github-client
key: client-secret
- name: KUBELOGIN_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: kubelogin-client
key: client-secret
# issuer: https://dex.kube.local
# storage:
# type: kubernetes
# config:
# inCluster: true
# connectors:
# - type: github
# id: github
# name: GitHub
# config:
# clientID: $GITHUB_CLIENT_ID
# clientSecret: $GITHUB_CLIENT_SECRET
# redirectURI: https://dex.kube.local/callback
# staticClients:
# - id: kubelogin
# redirectURIs:
# - 'http://localhost:8000'
# name: 'Kubelogin'
# secretEnv: KUBELOGIN_CLIENT_SECRET
# envVars:
# - name: GITHUB_CLIENT_ID
# valueFrom:
# secretKeyRef:
# name: github-client
# key: client-id
# - name: GITHUB_CLIENT_SECRET
# valueFrom:
# secretKeyRef:
# name: github-client
# key: client-secret
# - name: KUBELOGIN_CLIENT_SECRET
# valueFrom:
# secretKeyRef:
# name: kubelogin-client
# key: client-secret

virtualService:
name: dex
Expand Down

0 comments on commit b89546d

Please sign in to comment.