Skip to content

Commit

Permalink
Deploying from this chart code would catch a failure on the dash in r… (
Browse files Browse the repository at this point in the history
#77)

Signed-off-by: Matt Halder <[email protected]>
  • Loading branch information
rustyShacklefurd authored Nov 17, 2023
1 parent f9d3451 commit 29cab6f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions charts/templates/server-repository/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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" . }}
Expand Down
4 changes: 2 additions & 2 deletions charts/templates/server-repository/reset-job.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.reset.previewnet-reset.enabled }}
{{- if .Values.reset.previewnet_reset.enabled }}
apiVersion: batch/v1
kind: Job
metadata:
Expand All @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 29cab6f

Please sign in to comment.