From 9c97dbe1a20a28cca36ebe5848d3466fb25b82f6 Mon Sep 17 00:00:00 2001 From: Eamonn Mansour <47121388+eamansour@users.noreply.github.com> Date: Mon, 3 Jun 2024 11:54:28 +0100 Subject: [PATCH] Add api.extra.bundles bootstrap prop, remove auth store from metrics and resmon (#28) Signed-off-by: Eamonn Mansour <47121388+eamansour@users.noreply.github.com> --- charts/ecosystem/templates/bootstrap-config.yaml | 3 ++- charts/ecosystem/templates/metrics.yaml | 7 ------- charts/ecosystem/templates/resource-monitor.yaml | 7 ------- 3 files changed, 2 insertions(+), 15 deletions(-) diff --git a/charts/ecosystem/templates/bootstrap-config.yaml b/charts/ecosystem/templates/bootstrap-config.yaml index eb965ff..91e3827 100644 --- a/charts/ecosystem/templates/bootstrap-config.yaml +++ b/charts/ecosystem/templates/bootstrap-config.yaml @@ -11,4 +11,5 @@ metadata: data: bootstrap.properties: | framework.config.store=etcd:http://{{ .Release.Name }}-etcd:2379 - framework.extra.bundles=dev.galasa.cps.etcd,dev.galasa.ras.couchdb,dev.galasa.auth.couchdb + framework.extra.bundles=dev.galasa.cps.etcd,dev.galasa.ras.couchdb + api.extra.bundles=dev.galasa.auth.couchdb diff --git a/charts/ecosystem/templates/metrics.yaml b/charts/ecosystem/templates/metrics.yaml index 7385943..4bfb122 100644 --- a/charts/ecosystem/templates/metrics.yaml +++ b/charts/ecosystem/templates/metrics.yaml @@ -62,8 +62,6 @@ spec: value: etcd:http://{{ .Release.Name }}-etcd:2379 - name: GALASA_RESULTARCHIVE_STORE value: couchdb:http://{{ .Release.Name }}-couchdb:5984 - - name: GALASA_AUTH_STORE - value: couchdb:http://{{ .Release.Name }}-couchdb:5984 - name: GALASA_CREDENTIALS_STORE value: etcd:http://{{ .Release.Name }}-etcd:2379 - name: GALASA_RAS_TOKEN @@ -71,11 +69,6 @@ spec: secretKeyRef: name: {{ .Release.Name }}-couchdb-secret key: GALASA_RAS_TOKEN - - name: GALASA_AUTHSTORE_TOKEN - valueFrom: - secretKeyRef: - name: {{ .Release.Name }}-couchdb-secret - key: GALASA_RAS_TOKEN ports: - containerPort: 9010 name: metrics diff --git a/charts/ecosystem/templates/resource-monitor.yaml b/charts/ecosystem/templates/resource-monitor.yaml index a645e1f..6ac9e98 100644 --- a/charts/ecosystem/templates/resource-monitor.yaml +++ b/charts/ecosystem/templates/resource-monitor.yaml @@ -65,8 +65,6 @@ spec: value: etcd:http://{{ .Release.Name }}-etcd:2379 - name: GALASA_RESULTARCHIVE_STORE value: couchdb:http://{{ .Release.Name }}-couchdb:5984 - - name: GALASA_AUTH_STORE - value: couchdb:http://{{ .Release.Name }}-couchdb:5984 - name: GALASA_CREDENTIALS_STORE value: etcd:http://{{ .Release.Name }}-etcd:2379 - name: GALASA_RAS_TOKEN @@ -74,11 +72,6 @@ spec: secretKeyRef: name: {{ .Release.Name }}-couchdb-secret key: GALASA_RAS_TOKEN - - name: GALASA_AUTHSTORE_TOKEN - valueFrom: - secretKeyRef: - name: {{ .Release.Name }}-couchdb-secret - key: GALASA_RAS_TOKEN ports: - containerPort: 9010 name: metrics