41 lines
1022 B
YAML
41 lines
1022 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: ApplicationSet
|
|
metadata:
|
|
name: authentik
|
|
namespace: argocd
|
|
spec:
|
|
goTemplate: true
|
|
goTemplateOptions:
|
|
- missingkey=error
|
|
generators:
|
|
- list:
|
|
elements:
|
|
- environment: production
|
|
namespace: security
|
|
path: manifest/overlays/production
|
|
template:
|
|
metadata:
|
|
name: 'authentik-{{ .environment }}'
|
|
labels:
|
|
app.kubernetes.io/managed-by: argocd
|
|
app.kubernetes.io/name: authentik
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: http://gitea-ha-http.apps:3000/olb42/authentik.git
|
|
targetRevision: main
|
|
path: '{{ .path }}'
|
|
plugin:
|
|
name: ksops
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: '{{ .namespace }}'
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=false
|
|
- ApplyOutOfSyncOnly=true
|
|
- ServerSideApply=true
|