feat: new style combined manifest and chart config (busynix)

This commit is contained in:
Jonas Juselius
2024-01-31 15:02:09 +01:00
parent 783c6bf1a5
commit 6c8ce720be
22 changed files with 537 additions and 28 deletions
+5 -12
View File
@@ -12,7 +12,7 @@ spec:
hostname: busynix.srv.oceanbox.io
- cluster: https://kubernetes.default.svc
env: staging
hostname: busynix.yolo.oceanbox.io
hostname: busynix.beta.oceanbox.io
template:
metadata:
name: '{{ env }}-busynix'
@@ -21,21 +21,14 @@ spec:
destination:
namespace: oceanbox
server: '{{ cluster }}'
sources:
- path: busynix
source:
repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: HEAD
path: busynix
plugin:
name: kustomize-helm-with-rewrite
env:
- name: MANIFESTS
value: $values
parameters:
- name: env
string: '{{ env }}'
- name: hostname
string: '{{ hostname }}'
repoURL: https://gitlab.com/oceanbox/charts.git
targetRevision: HEAD
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: HEAD
path: busynix/{{ env }}
ref: values