Skip to content

Commit d3bc8a0

Browse files
ianstantonclaude
authored andcommitted
fix(chart): include service port in default apiBaseUrl (#217)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent bbf2035 commit d3bc8a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • install/kubernetes/github-actions-cache-server/templates

install/kubernetes/github-actions-cache-server/templates/_helpers.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Generate environment variables from config values.
122122
- name: PORT
123123
value: "3000"
124124
- name: API_BASE_URL
125-
value: {{ default (printf "http://%s.%s.svc.cluster.local" (include "github-actions-cache-server.fullname" .) .Release.Namespace) .Values.config.apiBaseUrl | quote }}
125+
value: {{ default (printf "http://%s.%s.svc.cluster.local:%v" (include "github-actions-cache-server.fullname" .) .Release.Namespace .Values.service.port) .Values.config.apiBaseUrl | quote }}
126126
- name: ENABLE_DIRECT_DOWNLOADS
127127
value: {{ .Values.config.enableDirectDownloads | quote }}
128128
- name: CACHE_CLEANUP_OLDER_THAN_DAYS

0 commit comments

Comments
 (0)