Skip to content

Commit

Permalink
fix syntax errors in helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
jmorganca committed Jul 31, 2021
1 parent f59080f commit 61cf7c5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions helm/charts/engine/templates/_helpers.tpl

This file was deleted.

2 changes: 1 addition & 1 deletion helm/charts/infra/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Return the appropriate apiVersion for ingress
{{- define "infra.defaultApiKey" -}}
{{- $secret := (lookup "v1" "Secret" .Release.Namespace "infra" ) -}}
{{- if $secret -}}
{{- index $secret "data" "api-key" | b64dec -}}
{{- index $secret "data" "defaultApiKey" | b64dec -}}
{{- else -}}
{{- (randAlphaNum 24) -}}
{{- end -}}
Expand Down

0 comments on commit 61cf7c5

Please sign in to comment.