Migration to applicationset
This commit is contained in:
parent
e69756aecf
commit
3df58b8bfa
30
applicationset.yaml
Normal file
30
applicationset.yaml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: ApplicationSet
|
||||||
|
metadata:
|
||||||
|
name: infra-apps
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
generators:
|
||||||
|
- git:
|
||||||
|
repoURL: ssh://git@gitea-ssh.dev-tools.svc.cluster.local.:2222/dvirlabs/infra.git
|
||||||
|
revision: HEAD
|
||||||
|
files:
|
||||||
|
- path: apps-config.yaml
|
||||||
|
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
name: '{{name}}'
|
||||||
|
spec:
|
||||||
|
project: '{{project}}'
|
||||||
|
|
||||||
|
source:
|
||||||
|
repoURL: '{{repoURL}}'
|
||||||
|
targetRevision: '{{targetRevision}}'
|
||||||
|
path: '{{chartPath}}'
|
||||||
|
helm:
|
||||||
|
valueFiles:
|
||||||
|
- '{{valuesFile}}'
|
||||||
|
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: '{{namespace}}'
|
||||||
18
apps-config.yaml
Normal file
18
apps-config.yaml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
apps:
|
||||||
|
- name: argocd
|
||||||
|
namespace: argocd
|
||||||
|
project: infra
|
||||||
|
repoURL: ssh://git@gitea-ssh.dev-tools.svc.cluster.local.:2222/dvirlabs/infra.git
|
||||||
|
targetRevision: HEAD
|
||||||
|
chartPath: charts/argocd
|
||||||
|
valuesFile: ../../manifests/argocd/values.yaml
|
||||||
|
autoSync: false
|
||||||
|
|
||||||
|
- name: keycloak
|
||||||
|
namespace: infra
|
||||||
|
project: infra
|
||||||
|
repoURL: ssh://git@gitea-ssh.dev-tools.svc.cluster.local.:2222/dvirlabs/infra.git
|
||||||
|
targetRevision: HEAD
|
||||||
|
chartPath: charts/keycloak
|
||||||
|
valuesFile: ../../manifests/keycloak/values.yaml
|
||||||
|
autoSync: false
|
||||||
Loading…
x
Reference in New Issue
Block a user