refactor: rename universal to appsets
This commit is contained in:
parent
2b71eb040b
commit
d1c8c303c5
4 changed files with 1 additions and 1 deletions
48
appsets/cert-manager.yaml
Normal file
48
appsets/cert-manager.yaml
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ApplicationSet
|
||||
metadata:
|
||||
name: universal-cert-manager
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "1"
|
||||
spec:
|
||||
generators:
|
||||
- list:
|
||||
elements:
|
||||
- cluster: cherry
|
||||
url: https://kubernetes.default.svc
|
||||
syncPolicy:
|
||||
applicationsSync: create-update
|
||||
preserveResourcesOnDeletion: true
|
||||
template:
|
||||
metadata:
|
||||
name: "{{cluster}}-cert-manager"
|
||||
spec:
|
||||
project: infrastructure
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
source:
|
||||
chart: cert-manager
|
||||
repoURL: https://charts.jetstack.io
|
||||
targetRevision: 1.13.1
|
||||
helm:
|
||||
releaseName: cert-manager
|
||||
valuesObject:
|
||||
installCRDs: true
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
rollingUpdate:
|
||||
maxSurge: 1
|
||||
maxUnavailable: 0
|
||||
webhook:
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
rollingUpdate:
|
||||
maxSurge: 1
|
||||
maxUnavailable: 0
|
||||
destination:
|
||||
server: "{{url}}"
|
||||
namespace: cert-manager
|
||||
31
appsets/clusterissuer.yaml
Normal file
31
appsets/clusterissuer.yaml
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
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
|
||||
syncPolicy:
|
||||
applicationsSync: create-update
|
||||
preserveResourcesOnDeletion: true
|
||||
template:
|
||||
metadata:
|
||||
name: "{{cluster}}-http-clusterissuer"
|
||||
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
|
||||
30
appsets/system-upgrade-controller.yaml
Normal file
30
appsets/system-upgrade-controller.yaml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ApplicationSet
|
||||
metadata:
|
||||
name: universal-system-upgrade-controller
|
||||
spec:
|
||||
generators:
|
||||
- list:
|
||||
elements:
|
||||
- cluster: cherry
|
||||
url: https://kubernetes.default.svc
|
||||
syncPolicy:
|
||||
applicationsSync: sync
|
||||
template:
|
||||
metadata:
|
||||
name: "{{cluster}}-system-upgrade-controller"
|
||||
spec:
|
||||
project: infrastructure
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
source:
|
||||
repoURL: https://github.com/rancher/system-upgrade-controller.git
|
||||
targetRevision: v0.13.1
|
||||
path: manifests/
|
||||
destination:
|
||||
server: "{{url}}"
|
||||
namespace: system-upgrade
|
||||
Reference in a new issue