Skip to content
This repository was archived by the owner on Jan 27, 2026. It is now read-only.

Commit e072e41

Browse files
authored
adjust validator chart to simplify toploc mgmt (#506)
1 parent 679dc8d commit e072e41

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

deployment/k8s/validator-chart/templates/secret.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ type: Opaque
77
data:
88
validatorKey: {{ .Values.secrets.validatorKey | b64enc }}
99
validatorApiKey: {{ .Values.secrets.validatorApiKey | b64enc }}
10-
{{- if .Values.secrets.toplocConfigs }}
11-
toplocConfigs: {{ .Values.secrets.toplocConfigs | b64enc }}
12-
{{- end }}
1310
{{- if .Values.secrets.s3Credentials }}
1411
s3Credentials: {{ .Values.secrets.s3Credentials | b64enc }}
1512
{{- end }}

deployment/k8s/validator-chart/templates/validator-deployment.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,9 @@ spec:
4949
value: {{ .Values.env.DISCOVERY_URLS }}
5050
- name: REDIS_URL
5151
value: "redis://{{ include "validator.redisName" . }}:6379"
52-
{{- if .Values.secrets.toplocConfigs }}
52+
{{- if .Values.env.TOPLOC_CONFIGS }}
5353
- name: TOPLOC_CONFIGS
54-
valueFrom:
55-
secretKeyRef:
56-
name: {{ include "validator.secretName" . }}
57-
key: toplocConfigs
54+
value: {{ .Values.env.TOPLOC_CONFIGS | quote }}
5855
{{- end }}
5956
- name: LOG_LEVEL
6057
value: "{{ .Values.env.LOG_LEVEL }}"

0 commit comments

Comments
 (0)