fix: merge dex config and deployment
This commit is contained in:
@@ -1,25 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: ApplicationSet
|
|
||||||
metadata:
|
|
||||||
name: dex-config
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
generators:
|
|
||||||
- list:
|
|
||||||
elements:
|
|
||||||
- cluster: https://kubernetes.default.svc
|
|
||||||
env: prod
|
|
||||||
- cluster: https://kubernetes.default.svc
|
|
||||||
env: staging
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
name: '{{ env }}-dex-config'
|
|
||||||
spec:
|
|
||||||
project: atlantis
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: idp
|
|
||||||
sources:
|
|
||||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
|
||||||
targetRevision: dev
|
|
||||||
path: 'charts/dex/{{ env }}'
|
|
||||||
@@ -22,6 +22,9 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: idp
|
namespace: idp
|
||||||
sources:
|
sources:
|
||||||
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
|
targetRevision: dev
|
||||||
|
path: 'charts/dex/{{ env }}'
|
||||||
- repoURL: https://charts.dexidp.io
|
- repoURL: https://charts.dexidp.io
|
||||||
targetRevision: 0.16.0
|
targetRevision: 0.16.0
|
||||||
chart: dex
|
chart: dex
|
||||||
|
|||||||
Reference in New Issue
Block a user