feat: Add Plume Staging Chart

This commit is contained in:
2025-06-19 14:07:34 +02:00
parent 274e06e759
commit 07d1f51dab
23 changed files with 804 additions and 9 deletions
+38
View File
@@ -0,0 +1,38 @@
{{ if .Values.clusterConfig.argo.enabled }}
{{- range .Values.plume.envs }}
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: {{ . }}-plume
namespace: argocd
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: {{ . }}-plume
server: https://kubernetes.default.svc
project: plume
sources:
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: HEAD
path: helmfile.d
plugin:
name: helmfile-cmp
env:
- name: CLUSTER_NAME
value: {{ $.Values.clusterConfig.cluster }}
- name: HELMFILE_ENVIRONMENT
value: {{ . }}
- name: HELMFILE_FILE_PATH
value: plume.yaml.gotmpl
syncPolicy:
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
# automated:
# prune: true
# selfHeal: false
{{- end }}
{{- end }}