From 0ffad213447751638d77b49f2ca9d9e58b6e6981 Mon Sep 17 00:00:00 2001 From: Cedric Verstraeten Date: Sun, 1 Dec 2024 20:39:58 +0100 Subject: [PATCH] modify microk8s overlay --- base/kustomization.yaml | 5 --- overlays/microk8s/kustomization.yaml | 49 +++++++++++++++++--------- overlays/standalone/kustomization.yaml | 3 ++ 3 files changed, 35 insertions(+), 22 deletions(-) diff --git a/base/kustomization.yaml b/base/kustomization.yaml index 1e64265..3e6f768 100644 --- a/base/kustomization.yaml +++ b/base/kustomization.yaml @@ -1,8 +1,3 @@ -helmCharts: - - name: openebs - releaseName: openebs - repo: https://openebs.github.io/charts - resources: - namespaces.yaml - prometheus/base.yaml diff --git a/overlays/microk8s/kustomization.yaml b/overlays/microk8s/kustomization.yaml index 03befbc..1ef2af7 100644 --- a/overlays/microk8s/kustomization.yaml +++ b/overlays/microk8s/kustomization.yaml @@ -2,20 +2,35 @@ metadata: name: standalone resources: - ../../base -patches: - - target: - kind: Ingress - name: hub-api-ingress - patch: |- - - op: replace - path: /spec/tls/0/secretName - value: pr54-api - - op: replace - path: /spec/tls/0/hosts/0 - value: pr54.api.kerberos.lol - - op: replace - path: /spec/rules/0/host - value: pr54.api.kerberos.lol - - op: replace - path: /spec/rules/0/http/paths/0/backend/service/name - value: pr54-hub-api-svc \ No newline at end of file + +helmCharts: + - name: mongodb + releaseName: mongodb + namespace: mongodb + repo: oci://registry-1.docker.io/bitnamicharts + valuesFile: ../../base/mongodb/mongodb-values.yaml + valuesInline: + global: + storageClass: "microk8s-hostpath" + - name: rabbitmq + releaseName: rabbitmq + namespace: rabbitmq + repo: oci://registry-1.docker.io/bitnamicharts + valuesFile: ../../base/rabbitmq/rabbitmq-values.yaml + valuesInline: + global: + storageClass: "microk8s-hostpath" + - name: vernemq + releaseName: vernemq + namespace: vernemq + repo: https://vernemq.github.io/docker-vernemq + valuesFile: ../../base/vernemq/vernemq-values.yaml + - name: hub + releaseName: hub + namespace: kerberos-hub + repo: https://charts.kerberos.io + valuesFile: ../../base/hub/kerberos-hub-values.yaml + valuesInline: + kerberoshub: + api: + url: "localhost:32081" \ No newline at end of file diff --git a/overlays/standalone/kustomization.yaml b/overlays/standalone/kustomization.yaml index 3d6f6a4..cc6473c 100644 --- a/overlays/standalone/kustomization.yaml +++ b/overlays/standalone/kustomization.yaml @@ -4,6 +4,9 @@ resources: - ../../base helmCharts: + - name: openebs + releaseName: openebs + repo: https://openebs.github.io/charts - name: mongodb releaseName: mongodb namespace: mongodb