fix: make dex-config a singleton app
This commit is contained in:
@@ -1,27 +1,14 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
kind: ApplicationSet
|
kind: Application
|
||||||
metadata:
|
metadata:
|
||||||
name: dex-config
|
name: dex-config
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
spec:
|
spec:
|
||||||
generators:
|
project: atlantis
|
||||||
- list:
|
destination:
|
||||||
elements:
|
server: https://kubernetes.default.svc
|
||||||
- cluster: https://kubernetes.default.svc
|
namespace: idp
|
||||||
env: prod
|
sources:
|
||||||
- cluster: https://kubernetes.default.svc
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
env: staging
|
targetRevision: dev
|
||||||
template:
|
path: charts/dex/config
|
||||||
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/config
|
|
||||||
kustomization:
|
|
||||||
namePrefix: '{{ env }}-'
|
|
||||||
|
|||||||
Reference in New Issue
Block a user