From 8b1670bc6395fc17ee73af51c00b1215f68a6e00 Mon Sep 17 00:00:00 2001 From: antares-sw <23400824+antares-sw@users.noreply.github.com> Date: Tue, 30 Jul 2024 10:19:53 +0300 Subject: [PATCH] Add lower (#564) --- charts/v3-operator/Chart.yaml | 2 +- charts/v3-operator/templates/configmap.yaml | 4 ++-- charts/v3-operator/templates/statefulset.yaml | 10 +++++----- charts/web3signer-validators/Chart.yaml | 2 +- .../web3signer-validators/templates/statefulset.yaml | 2 +- charts/web3signer/Chart.yaml | 2 +- charts/web3signer/templates/statefulset.yaml | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/charts/v3-operator/Chart.yaml b/charts/v3-operator/Chart.yaml index 653d6b470..37bd2f721 100644 --- a/charts/v3-operator/Chart.yaml +++ b/charts/v3-operator/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: v3-operator -version: 3.3.3 +version: 3.3.4 appVersion: v1.3.2 description: Operator hosted service for Stakewise V3 protocol. type: application diff --git a/charts/v3-operator/templates/configmap.yaml b/charts/v3-operator/templates/configmap.yaml index 66dc4dbd0..8813bdcae 100644 --- a/charts/v3-operator/templates/configmap.yaml +++ b/charts/v3-operator/templates/configmap.yaml @@ -7,10 +7,10 @@ metadata: data: DATA_DIR: "/data" {{- if .Values.settings.remoteDbConfig.enabled }} - DEPOSIT_DATA_FILE: "/data/{{ .Values.settings.vault }}/deposit_data.json" + DEPOSIT_DATA_FILE: "/data/{{ lower .Values.settings.vault }}/deposit_data.json" REMOTE_SIGNER_URL: {{ .Values.settings.remoteDbConfig.remoteSignerUrl | quote }} {{- else }} - DEPOSIT_DATA_FILE: "/data/{{ .Values.settings.vault }}/deposit/deposit_data.json" + DEPOSIT_DATA_FILE: "/data/{{ lower .Values.settings.vault }}/deposit/deposit_data.json" {{- end }} DATABASE_DIR: "/data" VERBOSE: {{ .Values.settings.verbose | quote }} diff --git a/charts/v3-operator/templates/statefulset.yaml b/charts/v3-operator/templates/statefulset.yaml index e9ad2f1ed..7b872f22f 100644 --- a/charts/v3-operator/templates/statefulset.yaml +++ b/charts/v3-operator/templates/statefulset.yaml @@ -47,7 +47,7 @@ spec: - sh - -c - > - mkdir -p /data/{{ .Values.settings.vault }}/keystores || true; + mkdir -p /data/{{ lower .Values.settings.vault }}/keystores || true; chown -R {{ .Values.securityContext.runAsUser }}:{{ .Values.securityContext.runAsUser }} /data volumeMounts: - name: data @@ -69,7 +69,7 @@ spec: - --db-url - {{ .Values.settings.remoteDbConfig.dbUrl }} - --vault - - {{ .Values.settings.vault }} + - {{ lower .Values.settings.vault }} - setup-operator env: - name: PYTHONPATH @@ -113,15 +113,15 @@ spec: {{- if or .Values.settings.depositDataSecretName .Values.settings.keystoresSecretName .Values.settings.walletSecretName }} {{- if .Values.settings.depositDataSecretName }} - name: deposit-data - mountPath: /data/{{ .Values.settings.vault }}/deposit + mountPath: /data/{{ lower .Values.settings.vault }}/deposit {{- end }} {{- if .Values.settings.keystoresSecretName }} - name: keystores - mountPath: /data/{{ .Values.settings.vault }}/keystores + mountPath: /data/{{ lower .Values.settings.vault }}/keystores {{- end }} {{- if .Values.settings.walletSecretName }} - name: wallet - mountPath: /data/{{ .Values.settings.vault }}/wallet + mountPath: /data/{{ lower .Values.settings.vault }}/wallet {{- end }} {{- end }} - name: data diff --git a/charts/web3signer-validators/Chart.yaml b/charts/web3signer-validators/Chart.yaml index 8f7cf14ca..bf61d678d 100644 --- a/charts/web3signer-validators/Chart.yaml +++ b/charts/web3signer-validators/Chart.yaml @@ -16,7 +16,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 6.1.6 +version: 6.1.7 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/web3signer-validators/templates/statefulset.yaml b/charts/web3signer-validators/templates/statefulset.yaml index 57f31661e..8636e6695 100644 --- a/charts/web3signer-validators/templates/statefulset.yaml +++ b/charts/web3signer-validators/templates/statefulset.yaml @@ -78,7 +78,7 @@ spec: - --network - {{ $root.Values.global.network }} - --vault - - {{ $root.Values.global.vault }} + - {{ lower $root.Values.global.vault }} - "--db-url" - "{{ $root.Values.dbKeystoreUrl }}" - setup-validator diff --git a/charts/web3signer/Chart.yaml b/charts/web3signer/Chart.yaml index e37f6c251..318aa078c 100644 --- a/charts/web3signer/Chart.yaml +++ b/charts/web3signer/Chart.yaml @@ -16,7 +16,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 6.0.5 +version: 6.0.6 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/web3signer/templates/statefulset.yaml b/charts/web3signer/templates/statefulset.yaml index 2d9161671..f4349a07b 100644 --- a/charts/web3signer/templates/statefulset.yaml +++ b/charts/web3signer/templates/statefulset.yaml @@ -70,7 +70,7 @@ spec: - --db-url - {{ .Values.dbKeystoreUrl }} - --vault - - {{ .Values.global.vault }} + - {{ lower .Values.global.vault }} - setup-web3signer - --encrypt-key - {{ .Values.decryptionKey }}