From 4dafee483e861a9d79015ec9da0b414b2990e8e7 Mon Sep 17 00:00:00 2001 From: rjonczy Date: Wed, 22 Nov 2023 14:47:23 +0100 Subject: [PATCH] mount config-core --- charts/composable-ibc/Chart.yaml | 2 +- charts/composable-ibc/templates/deployment.yaml | 8 ++++++++ charts/composable-ibc/values.yaml | 6 +++--- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/charts/composable-ibc/Chart.yaml b/charts/composable-ibc/Chart.yaml index c5a93ae..60eb90a 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.2 +version: 0.1.3 appVersion: "0.1.0" diff --git a/charts/composable-ibc/templates/deployment.yaml b/charts/composable-ibc/templates/deployment.yaml index 0311863..db7d4fd 100644 --- a/charts/composable-ibc/templates/deployment.yaml +++ b/charts/composable-ibc/templates/deployment.yaml @@ -32,6 +32,10 @@ spec: - name: config-b secret: secretName: config-b + - name: config-core + configMap: + defaultMode: 0600 + name: {{ include "composable-ibc.fullname" . }} containers: - name: {{ .Chart.Name }} securityContext: @@ -49,6 +53,10 @@ spec: readOnly: true mountPath: "/opt/hyperspace/config-b" subPath: config-b + - name: config-core + readOnly: true + mountPath: "/opt/hyperspace/config-core" + subPath: config-core # ports: # - name: http # containerPort: 80 diff --git a/charts/composable-ibc/values.yaml b/charts/composable-ibc/values.yaml index 7c49103..0ce24a3 100644 --- a/charts/composable-ibc/values.yaml +++ b/charts/composable-ibc/values.yaml @@ -33,11 +33,11 @@ serviceAccount: args: - relay - --config-a - - /config-a.toml + - /opt/hyperspace/config-a.toml - --config-b - - /config-b.toml + - /opt/hyperspace/config-b.toml - --config-core - - /config-core.toml + - /opt/hyperspace/config-core.toml podAnnotations: {}