Autopilot Bootstrap
This commit is contained in:
parent
969010d870
commit
cedc266f72
9 changed files with 203 additions and 0 deletions
47
bootstrap/cluster-resources.yaml
Normal file
47
bootstrap/cluster-resources.yaml
Normal file
|
@ -0,0 +1,47 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ApplicationSet
|
||||
metadata:
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "0"
|
||||
creationTimestamp: null
|
||||
name: cluster-resources
|
||||
namespace: argocd
|
||||
spec:
|
||||
generators:
|
||||
- git:
|
||||
files:
|
||||
- path: bootstrap/cluster-resources/*.json
|
||||
repoURL: https://forgejo.mixinet.net/blogops/argocd.git
|
||||
requeueAfterSeconds: 20
|
||||
revision: ""
|
||||
template:
|
||||
metadata: {}
|
||||
spec:
|
||||
destination: {}
|
||||
project: ""
|
||||
syncPolicy:
|
||||
preserveResourcesOnDeletion: true
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: argocd-autopilot
|
||||
app.kubernetes.io/name: cluster-resources-{{name}}
|
||||
name: cluster-resources-{{name}}
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
server: '{{server}}'
|
||||
ignoreDifferences:
|
||||
- group: argoproj.io
|
||||
jsonPointers:
|
||||
- /status
|
||||
kind: Application
|
||||
project: default
|
||||
source:
|
||||
path: bootstrap/cluster-resources/{{name}}
|
||||
repoURL: https://forgejo.mixinet.net/blogops/argocd.git
|
||||
syncPolicy:
|
||||
automated:
|
||||
allowEmpty: true
|
||||
selfHeal: true
|
||||
status: {}
|
Loading…
Add table
Add a link
Reference in a new issue