Skip to content

Commit

Permalink
fixup! feat: change templates based on new values.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
omidasadpour committed Jan 26, 2024
1 parent 9adb410 commit c3708bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/rollups-node/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
ingressClassName: {{ .Values.ingress.ingressClassName }}
{{- end }}
rules:
- host: {{ .Values.validator.config.contracts.CARTESI_CONTRACTS_DAPP_ADDRESS | lower }}.{{ .Values.ingress.subDomain }}
- host: {{ .Values.validator.config.CARTESI_CONTRACTS_DAPP_ADDRESS | lower }}.{{ .Values.ingress.subDomain }}
http: &graphql
paths:
- pathType: Prefix
Expand All @@ -33,7 +33,7 @@ spec:
- host: {{ .Release.Name | lower }}.{{ .Values.ingress.subDomain }}
http: *graphql
{{- end }}
- host: {{ .Values.validator.config.contracts.CARTESI_CONTRACTS_DAPP_ADDRESS | lower }}.{{ .Values.ingress.subDomain }}
- host: {{ .Values.validator.config.CARTESI_CONTRACTS_DAPP_ADDRESS | lower }}.{{ .Values.ingress.subDomain }}
http: &inspect
paths:
- pathType: Prefix
Expand Down
4 changes: 2 additions & 2 deletions charts/rollups-node/templates/mnemonic-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
SPDX-License-Identifier: Apache-2.0 (see LICENSE)
*/}}

{{- if .Values.validator.config.auth.CARTESI_AUTH_MNEMONIC }}
{{- if .Values.validator.config.CARTESI_AUTH_MNEMONIC }}
---
apiVersion: v1
kind: Secret
Expand All @@ -12,5 +12,5 @@ metadata:
labels: {{- include "validator.labels" . | nindent 4 }}
type: Opaque
data:
MNEMONIC: {{ .Values.validator.config.auth.CARTESI_AUTH_MNEMONIC | b64enc }}
MNEMONIC: {{ .Values.validator.config.CARTESI_AUTH_MNEMONIC | b64enc }}
{{- end }}

0 comments on commit c3708bc

Please sign in to comment.