Skip to content

Commit

Permalink
feat: create ApplicationSet for cert-manager
Browse files Browse the repository at this point in the history
  • Loading branch information
cardoe committed Jun 21, 2024
1 parent 886dab1 commit d01d20b
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions apps/appsets/cert-manager/cert-manager.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: cert-manager
spec:
goTemplate: true
goTemplateOptions: ["missingkey=error"]
generators:
- clusters:
selector:
matchLabels:
argocd.argoproj.io/secret-type: cluster
template:
metadata:
name: '{{.name}}-cert-manager'
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
sources:
- repoURL: https://charts.jetstack.io
chart: cert-manager
targetRevision: '1.*'
helm:
releaseName: cert-manager
valuesObject:
installCRDs: true
- repoURL: '{{index .metadata.annotations "uc_deploy_git_url"}}'
path: secrets/{{.name}}/
targetRevision: '{{index .metadata.annotations "uc_deploy_ref"}}'
directory:
include: cluster-issuer.yaml
destination:
server: '{{.server}}'
namespace: argocd
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

0 comments on commit d01d20b

Please sign in to comment.