Skip to content

Commit

Permalink
fix(chart): default to fullName.releaseNamespace for API_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
muse-sisay committed Nov 27, 2024
1 parent 2d2b8db commit cbb3676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/console/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
- name: {{ .Chart.Name }}
env:
- name: API_URL
value: {{ .Values.apiURL | default (printf "http://%s-kubefirst-api.%s.svc.cluster.local" (.Release.Name ) (.Release.Namespace )) }}
value: {{ .Values.apiURL | default (printf "http://%s.%s.svc.cluster.local" ( include "kubefirst-pro-ui.fullname" . ) (.Release.Namespace )) }}
- name: KUBEFIRST_VERSION
value: {{ .Values.global.kubefirstVersion }}
- name: IS_CLUSTER_ZERO
Expand Down

0 comments on commit cbb3676

Please sign in to comment.