-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from skrobul/dex-optional-azure
feat: make Azure auth backend optional
- Loading branch information
Showing
6 changed files
with
111 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# Full documentation available at | ||
# https://github.com/dexidp/helm-charts/tree/master/charts/dex#values | ||
# | ||
|
||
replicaCount: 1 | ||
config: | ||
# Set it to a valid URL | ||
issuer: https://dexidp.local | ||
|
||
# See https://dexidp.io/docs/storage/ for more options | ||
# We probably want 'postgres' or 'crd' in production | ||
storage: | ||
type: kubernetes | ||
config: | ||
inCluster: true | ||
|
||
oauth2: | ||
skipApprovalScreen: true | ||
|
||
enablePasswordDB: false | ||
connectors: | ||
- type: keystone | ||
# Required field for connector id. | ||
id: keystone_internal | ||
# Required field for connector name. | ||
name: Keystone | ||
config: | ||
# Required, without v3 suffix. | ||
keystoneHost: http://keystone-api.openstack.svc.cluster.local:5000 | ||
# Required, admin user credentials to connect to keystone. | ||
domain: default | ||
keystoneUsername: demo | ||
keystonePassword: DEMO_PASS | ||
logger: | ||
level: info | ||
|
||
staticClients: | ||
- id: nautobot | ||
secretEnv: NAUTOBOT_SSO_CLIENT_SECRET | ||
name: "Undercloud Nautobot" | ||
redirectURIs: | ||
- "http://localhost:8000/complete/oidc/" | ||
- "https://nautobot.local/complete/oidc/" | ||
- id: argo | ||
secretEnv: ARGO_SSO_CLIENT_SECRET | ||
name: "Undercloud Argo" | ||
redirectURIs: | ||
- "https://workflows.local/oauth2/callback" | ||
|
||
envVars: | ||
- name: NAUTOBOT_SSO_CLIENT_SECRET | ||
valueFrom: | ||
secretKeyRef: | ||
name: nautobot-sso | ||
key: client-secret | ||
ingress: | ||
enabled: true | ||
annotations: | ||
cert-manager.io/cluster-issuer: selfsigned-cluster-issuer | ||
nginx.ingress.kubernetes.io/backend-protocol: HTTP | ||
className: "nginx" | ||
hosts: | ||
- host: dexidp.local | ||
paths: | ||
- path: / | ||
pathType: Prefix | ||
tls: | ||
- hosts: | ||
- dexidp.local | ||
secretName: dex-ingress-tls |