diff --git a/charts/templates/server-repository/deployment.yaml b/charts/templates/server-repository/deployment.yaml index 70183ae9..7a632922 100644 --- a/charts/templates/server-repository/deployment.yaml +++ b/charts/templates/server-repository/deployment.yaml @@ -68,9 +68,9 @@ spec: mountPath: /data - name: {{ printf "%s-%s" .Chart.Name "repository" }} securityContext: - {{- toYaml .Values.repository.securityContext | nindent 12 }} + {{- toYaml .Values.serverRepository.securityContext | nindent 12 }} image: "{{ .Values.image.repository }}:{{ .Values.serverRepository.image.repository.tag | default "repository-latest" }}" - imagePullPolicy: {{ .Values.repository.image.pullPolicy }} + imagePullPolicy: {{ .Values.serverRepository.image.pullPolicy }} envFrom: - configMapRef: name: {{ template "sourcify.name" . }} diff --git a/charts/templates/server-repository/reset-job.yaml b/charts/templates/server-repository/reset-job.yaml index 0b20364e..6d6ea176 100644 --- a/charts/templates/server-repository/reset-job.yaml +++ b/charts/templates/server-repository/reset-job.yaml @@ -1,4 +1,4 @@ -{{- if .Values.reset.previewnet-reset.enabled }} +{{- if .Values.reset.previewnet_reset.enabled }} apiVersion: batch/v1 kind: Job metadata: @@ -18,7 +18,7 @@ spec: - https://raw.githubusercontent.com/hashgraph/hedera-sourcify/main/scripts/hedera-reset.sh ; chmod +x hedera-reset.sh ; ./hedera-reset.sh previewnet {{- end }} --- -{{- if .Values.reset.testnet-reset.enabled }} +{{- if .Values.reset.testnet_reset.enabled }} apiVersion: batch/v1 kind: Job metadata: diff --git a/charts/values.yaml b/charts/values.yaml index fa34479e..0dead65f 100644 --- a/charts/values.yaml +++ b/charts/values.yaml @@ -152,10 +152,10 @@ ui: reset: ## Previewnet reset job, default is to disable - previewnet-reset: + previewnet_reset: enabled: false ## Testnet reset job, default is to disable - testnet-reset: + testnet_reset: enabled: false ## Set default immage repository, tag, and pull policy image: