Skip to content

Commit

Permalink
feat: Support externalBaseUrl in helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
dploeger committed Dec 22, 2023
1 parent 7718540 commit 424d199
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions charts/vmware-rest-proxy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ spec:
value: "{{ .Values.config.tlsSkipVerify }}"
- name: VCENTER_PROXY_URL
value: "{{ .Values.config.proxyUrl }}"
{{- if ne .Values.config.externalBaseUrl "" }}
- name: EXTERNAL_BASE_URL
value: {{ .Values.config.externalBaseUrl | quote }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
Expand Down
4 changes: 3 additions & 1 deletion charts/vmware-rest-proxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,6 @@ config:
# config.tlsSkipVerify -- If set, will disable TLS verification for the API client
tlsSkipVerify: "false"
# config.proxyUrl -- Connect to the vCenter using this proxy
proxyUrl: ""
proxyUrl: ""
# config.externalUrl -- External URL this service is reachable on
externalBaseUrl: ""

0 comments on commit 424d199

Please sign in to comment.