diff --git a/charts/bridges-common-relay/templates/cronjob.yml b/charts/bridges-common-relay/templates/cronjob.yml index 24328bf5..c6e9a9b8 100644 --- a/charts/bridges-common-relay/templates/cronjob.yml +++ b/charts/bridges-common-relay/templates/cronjob.yml @@ -24,7 +24,7 @@ spec: spec: restartPolicy: Never serviceAccountName: {{ include "bridges-common-relay.serviceAccountName" $ }} - {{- if or .Values.secrets .Values.existingSecretName }} + {{- if or $.Values.secrets $.Values.existingSecretName }} volumes: - name: secrets secret: @@ -75,7 +75,7 @@ spec: tx.bridgeRelayers.claimRewards "$rewards_account_params" resources: {{- toYaml $.Values.resources | nindent 16 }} - {{- if or .Values.secrets .Values.existingSecretName }} + {{- if or $.Values.secrets $.Values.existingSecretName }} volumeMounts: - name: secrets mountPath: "/secrets"