Merge "Changes in dex function to work for both target cluster as well as sub-clusters along with few enhancements"
This commit is contained in:
commit
ee9403fb1c
@ -1,8 +1,7 @@
|
||||
apiVersion: cert-manager.io/v1alpha2
|
||||
kind: Issuer
|
||||
metadata:
|
||||
name: workload-cluster-ca-issuer
|
||||
namespace: default
|
||||
name: dex
|
||||
spec:
|
||||
ca:
|
||||
secret: dex-apiserver-secret
|
||||
secretName: dex-apiserver-secret
|
||||
|
@ -1,18 +1,3 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: dex
|
||||
---
|
||||
# Dex Helm Charts from Helm Repository (Helm Collator)
|
||||
apiVersion: source.toolkit.fluxcd.io/v1beta1
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: dex-helm-repo
|
||||
namespace: collator
|
||||
spec:
|
||||
interval: 5m
|
||||
url: http://helm-chart-collator.collator.svc:8080
|
||||
---
|
||||
# Dex Helm Charts from Git Repository
|
||||
# apiVersion: source.toolkit.fluxcd.io/v1beta1
|
||||
# kind: GitRepository
|
||||
@ -29,10 +14,7 @@ apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: dex-aio
|
||||
namespace: default
|
||||
spec:
|
||||
releaseName: dex-aio
|
||||
targetNamespace: dex
|
||||
interval: 5m
|
||||
chart:
|
||||
spec:
|
||||
@ -40,7 +22,7 @@ spec:
|
||||
# Referencing Dex Helm charts from Helm Collator repo
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: dex-helm-repo
|
||||
name: helm-repo
|
||||
namespace: collator
|
||||
# Referencing Dex Helm charts from Git repo
|
||||
# sourceRef:
|
||||
@ -60,7 +42,7 @@ spec:
|
||||
tls:
|
||||
cert_manager: true
|
||||
issuer:
|
||||
name: workload-cluster-ca-issuer
|
||||
name: dex
|
||||
kind: Issuer
|
||||
oidc:
|
||||
client_id: function-kubernetes
|
||||
|
@ -2,5 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- dex-cert-issuer.yaml
|
||||
- dex-helmrelease.yaml
|
||||
- dex-cert-issuer.yaml
|
||||
|
Loading…
Reference in New Issue
Block a user