diff --git a/charts/composable-ibc/Chart.yaml b/charts/composable-ibc/Chart.yaml index 60eb90a..c8e51e9 100644 --- a/charts/composable-ibc/Chart.yaml +++ b/charts/composable-ibc/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: composable-ibc description: A Helm chart withy deployment manifests of composable-ibc for Kubernetes type: application -version: 0.1.3 +version: 0.1.4 appVersion: "0.1.0" diff --git a/charts/composable-ibc/templates/configmap.yaml b/charts/composable-ibc/templates/configmap.yaml index db5cd91..660fa84 100644 --- a/charts/composable-ibc/templates/configmap.yaml +++ b/charts/composable-ibc/templates/configmap.yaml @@ -2,9 +2,9 @@ apiVersion: v1 kind: ConfigMap metadata: - name: {{ include "composable-ibc.fullname" . }} + name: {{ include "composable-ibc.fullname" . }}-core labels: {{- include "composable-ibc.labels" . | nindent 4 }} data: - config-core.toml: |- + config-core.toml: | prometheus_endpoint = {{ .Values.config.prometheus_endpoint | quote }} \ No newline at end of file diff --git a/charts/composable-ibc/templates/deployment.yaml b/charts/composable-ibc/templates/deployment.yaml index db7d4fd..f55377e 100644 --- a/charts/composable-ibc/templates/deployment.yaml +++ b/charts/composable-ibc/templates/deployment.yaml @@ -34,8 +34,10 @@ spec: secretName: config-b - name: config-core configMap: - defaultMode: 0600 - name: {{ include "composable-ibc.fullname" . }} + name: {{ include "composable-ibc.fullname" . }}-core + items: + - key: "config-core.toml" + path: "config-core.toml" containers: - name: {{ .Chart.Name }} securityContext: @@ -56,7 +58,6 @@ spec: - name: config-core readOnly: true mountPath: "/opt/hyperspace/config-core" - subPath: config-core # ports: # - name: http # containerPort: 80