fix: merge dex config and deployment

This commit is contained in:
Jonas Juselius
2024-02-12 15:15:51 +01:00
parent f8d7f9e29c
commit ffac33e4fe
2 changed files with 3 additions and 25 deletions
-25
View File
@@ -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 }}'
+3
View File
@@ -22,6 +22,9 @@ spec:
server: https://kubernetes.default.svc
namespace: idp
sources:
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: dev
path: 'charts/dex/{{ env }}'
- repoURL: https://charts.dexidp.io
targetRevision: 0.16.0
chart: dex