refactor: split applications and charts into separte folders

This commit is contained in:
Jonas Juselius
2024-02-06 12:12:56 +01:00
parent 10a06fd058
commit 7450a9903e
231 changed files with 27 additions and 27 deletions
+37
View File
@@ -0,0 +1,37 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: petimeter
namespace: argocd
spec:
generators:
- list:
elements:
- cluster: https://kubernetes.default.svc
env: prod
hostname: petimeter.srv.oceanbox.io
- cluster: https://kubernetes.default.svc
env: staging
hostname: petimeter.beta.oceanbox.io
template:
metadata:
name: '{{ env }}-petimeter'
spec:
project: atlantis
destination:
namespace: atlantis
server: '{{ cluster }}'
sources:
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: HEAD
path: charts/petimeter
plugin:
name: kustomize-helm-with-rewrite
parameters:
- name: env
string: '{{ env }}'
- name: hostname
string: '{{ hostname }}'
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: HEAD
path: charts/petimeter/manifests