Skip to content

Commit

Permalink
Check the right config value
Browse files Browse the repository at this point in the history
  • Loading branch information
siggisim committed Oct 9, 2020
1 parent f8569ff commit 2ef55e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/buildbuddy-executor/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: BuildBuddy Executor
name: buildbuddy-executor
version: 0.0.3 # Chart version
version: 0.0.4 # Chart version
appVersion: 1.3.1 # Version of deployed app
keywords:
- buildbuddy
Expand Down
4 changes: 2 additions & 2 deletions charts/buildbuddy-executor/templates/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ data:

{{- /* Update the copied default config based on .Values */}}

{{- if not .Values.config.appTarget }}
{{- $_ := set $c.executor "app_target" (print "grpc://" .Release.Name "-buildbuddy-enterprise:1985") }}
{{- if not .Values.config.executor.appTarget }}
{{- $_ := set $c.executor "app_target" (print "grpc://buildbuddy-enterprise:1985") }}
{{- end }}

{{- /* Render the processed config as an encoded YAML string */}}
Expand Down

0 comments on commit 2ef55e1

Please sign in to comment.