Skip to content

Commit

Permalink
Add lower (#564)
Browse files Browse the repository at this point in the history
  • Loading branch information
antares-sw authored Jul 30, 2024
1 parent c9cdd80 commit 8b1670b
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion charts/v3-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions charts/v3-operator/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
10 changes: 5 additions & 5 deletions charts/v3-operator/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -69,7 +69,7 @@ spec:
- --db-url
- {{ .Values.settings.remoteDbConfig.dbUrl }}
- --vault
- {{ .Values.settings.vault }}
- {{ lower .Values.settings.vault }}
- setup-operator
env:
- name: PYTHONPATH
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion charts/web3signer-validators/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion charts/web3signer-validators/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion charts/web3signer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion charts/web3signer/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ spec:
- --db-url
- {{ .Values.dbKeystoreUrl }}
- --vault
- {{ .Values.global.vault }}
- {{ lower .Values.global.vault }}
- setup-web3signer
- --encrypt-key
- {{ .Values.decryptionKey }}
Expand Down

0 comments on commit 8b1670b

Please sign in to comment.