Merge branch 'dev' of gitlab.com:oceanbox/manifests into dev

This commit is contained in:
2024-02-12 18:15:52 +01:00
+16 -4
View File
@@ -4,23 +4,28 @@ metadata:
name: archmeister
namespace: argocd
spec:
goTemplate: true
generators:
- list:
elements:
- cluster: https://kubernetes.default.svc
env: prod
hostname: archmeister.srv.oceanbox.io
autoSync: false
prune: true
- cluster: https://staging-vcluster.staging-vcluster:443
env: staging
hostname: archmeister.beta.oceanbox.io
autoSync: true
prune: true
template:
metadata:
name: '{{ env }}-archmeister'
name: "{{ .env }}-archmeister"
spec:
project: atlantis
destination:
namespace: atlantis
server: '{{ cluster }}'
server: "{{ .cluster }}"
source:
repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: dev
@@ -29,6 +34,13 @@ spec:
name: kustomize-helm-with-rewrite
parameters:
- name: env
string: '{{ env }}'
string: "{{ .env }}"
- name: hostname
string: '{{ hostname }}'
string: "{{ .hostname }}"
templatePatch: |
{{- if .autoSync }}
spec:
syncPolicy:
automated:
prune: {{ .prune }}
{{- end }}