1
0
Fork 0
This repository has been archived on 2025-08-23. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
mareshq-gitops-legacy/appsets/clusterissuer.yaml

35 lines
895 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: universal-clusterissuer
annotations:
argocd.argoproj.io/sync-wave: "2"
spec:
generators:
- list:
elements:
- cluster: cherry
url: https://kubernetes.default.svc
- cluster: lychee
url: https://172.16.152.1:6443
syncPolicy:
applicationsSync: create-update
preserveResourcesOnDeletion: true
template:
metadata:
name: "{{cluster}}-http-clusterissuer"
annotations:
argocd.argoproj.io/sync-wave: "10"
spec:
project: infrastructure
syncPolicy:
automated:
prune: true
selfHeal: true
source:
path: clusterissuer/
repoURL: https://github.com/vojtechmares/gitops.git
targetRevision: HEAD
destination:
server: "{{url}}"
namespace: default