Skip to content

Commit

Permalink
chore: update upstream secret
Browse files Browse the repository at this point in the history
  • Loading branch information
yashmehrotra committed Feb 28, 2024
1 parent 5345610 commit 20ae012
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion agent-chart/templates/required.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{{- if .Values.upstream.createSecret }}
{{- $_ := required "upstream.host is a required value" .Values.upstream.host }}
{{- $_ := required "upstream.username is a required value" .Values.upstream.username }}
{{- $_ := required "upstream.password is a required value" .Values.upstream.password }}
{{- $_ := required "upstream.agentName is a required value" .Values.upstream.agentName }}
{{- end }}
2 changes: 1 addition & 1 deletion agent-chart/templates/upstream-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: {{ .Values.upstream.secretName }}
stringData:
UPSTREAM_HOST: {{ .Values.upstream.host }}
UPSTREAM_USERNAME: {{ .Values.upstream.username }}
UPSTREAM_USER: {{ .Values.upstream.username | default "token" }}
UPSTREAM_PASSWORD: {{ .Values.upstream.password }}
AGENT_NAME: {{ .Values.upstream.agentName }}
{{- end }}

0 comments on commit 20ae012

Please sign in to comment.