add external device
This commit is contained in:
30
apps/applicationset-external-devices.yaml
Normal file
30
apps/applicationset-external-devices.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ApplicationSet
|
||||
metadata:
|
||||
name: external-devices
|
||||
namespace: argocd-ops
|
||||
spec:
|
||||
generators:
|
||||
- list:
|
||||
elements:
|
||||
- env: prd
|
||||
cluster: cluster-prd
|
||||
template:
|
||||
metadata:
|
||||
name: external-devices-{{path.basename}}
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://gitea.gkdomaine.local/gkdomaine.fr/argocd.git
|
||||
targetRevision: main
|
||||
path: helm/external-devices/{{path.basename}}
|
||||
destination:
|
||||
name: '{{name}}'
|
||||
namespace: 'traefik-{{path.basename}}'
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
|
||||
Reference in New Issue
Block a user