Skip to content

Commit

Permalink
consolidate dex manifests (kubeflow#1771)
Browse files Browse the repository at this point in the history
Dex has a bunch of kustomizations related to peripheral projects:
- An LDAP database
- The Dex Authenticator project
- Keycloak Gatekeeper

The manifests WG only maintains the Dex manifests. Thus, move all other
manifests in the contrib folder.

Signed-off-by: Yannis Zarkadas <[email protected]>
  • Loading branch information
yanniszark authored Mar 22, 2021
1 parent fc7a523 commit 79c0aa0
Show file tree
Hide file tree
Showing 48 changed files with 28 additions and 119 deletions.
85 changes: 0 additions & 85 deletions common/dex-auth/dex-crds/base_v3/kustomization.yaml

This file was deleted.

24 changes: 0 additions & 24 deletions common/dex-auth/dex-crds/overlays/istio/kustomization.yaml

This file was deleted.

1 change: 0 additions & 1 deletion common/dex-auth/dex-crds/overlays/istio/params.env

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@ configMapGenerator:
generatorOptions:
disableNameSuffixHash: true
vars:
- name: dex_domain
objref:
kind: ConfigMap
name: dex-parameters
apiVersion: v1
fieldref:
fieldpath: data.dex_domain
- name: issuer
objref:
kind: ConfigMap
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Dex Server Parameters (some params are shared with client)
dex_domain=dex.example.com
# Set issuer to https if tls is enabled
issuer=http://dex.example.com:32000
static_email=[email protected]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
24 changes: 24 additions & 0 deletions common/dex/overlays/istio/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
bases:
- ../../base
resources:
- virtual-service.yaml

vars:
- name: DEX_SERVICE
objref:
kind: Service
name: dex
apiVersion: v1
fieldref:
fieldpath: metadata.name
- name: DEX_NAMESPACE
objref:
kind: Service
name: dex
apiVersion: v1
fieldref:
fieldpath: metadata.namespace
configurations:
- params.yaml
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ spec:
prefix: /dex/
route:
- destination:
host: dex.$(namespace).svc.cluster.local
host: $(DEX_SERVICE).$(DEX_NAMESPACE).svc.cluster.local
port:
number: 5556
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions contrib/dex-auth/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
approvers:
- krishnadurai
- yanniszark
File renamed without changes.
File renamed without changes.

0 comments on commit 79c0aa0

Please sign in to comment.