Initial Helm and Kargo setup
This commit is contained in:
@@ -0,0 +1,83 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: web-dev
|
||||
namespace: argocd
|
||||
annotations:
|
||||
kargo.akuity.io/authorized-stage: web:dev
|
||||
spec:
|
||||
project: default
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: web-dev
|
||||
source:
|
||||
repoURL: https://git.5vl.nl/5vl/kub-web-test.git
|
||||
targetRevision: dev
|
||||
path: .
|
||||
helm:
|
||||
releaseName: web-dev
|
||||
valueFiles:
|
||||
- values-dev.yaml
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
|
||||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: web-staging
|
||||
namespace: argocd
|
||||
annotations:
|
||||
kargo.akuity.io/authorized-stage: web:staging
|
||||
spec:
|
||||
project: default
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: web-staging
|
||||
source:
|
||||
repoURL: https://git.5vl.nl/5vl/kub-web-test.git
|
||||
# Baseline only. Kargo pins this live to the exact promoted dev commit.
|
||||
targetRevision: prod
|
||||
path: .
|
||||
helm:
|
||||
releaseName: web-staging
|
||||
valueFiles:
|
||||
- values-staging.yaml
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
|
||||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: web-prod
|
||||
namespace: argocd
|
||||
annotations:
|
||||
kargo.akuity.io/authorized-stage: web:prod
|
||||
spec:
|
||||
project: default
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: web-prod
|
||||
source:
|
||||
repoURL: https://git.5vl.nl/5vl/kub-web-test.git
|
||||
targetRevision: prod
|
||||
path: .
|
||||
helm:
|
||||
releaseName: web-prod
|
||||
valueFiles:
|
||||
- values-prod.yaml
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
Reference in New Issue
Block a user