Skip to content

Commit

Permalink
add proxy support to garbage collector (#110)
Browse files Browse the repository at this point in the history
### Changelog
Fix: Add HTTP proxy support to garbage collector

### Docs
None

### Description
Add HTTP proxying support to garbage collector cronjob.
  • Loading branch information
sofuture authored Jan 9, 2025
1 parent 4142e9a commit a0af4cd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/primary-site/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ type: application
# 1.0.0-alpha.0
# 1.0.0-alpha.1
# 1.0.0
version: "0.0.56"
version: "0.0.57"

appVersion: "b5ab5dc7bd5ef765d43830423ea4465d3bb016b1"
8 changes: 8 additions & 0 deletions charts/primary-site/templates/cronjobs/garbage-collector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,14 @@ spec:
value: "true"
- name: PRIMARY_SITE_VERSION
value: "{{ .Chart.Version }}"
{{- if .Values.globals.proxy.enabled }}
- name: HTTP_PROXY
value: {{ .Values.globals.proxy.httpProxy }}
- name: HTTPS_PROXY
value: {{ .Values.globals.proxy.httpsProxy }}
- name: NO_PROXY
value: {{ .Values.globals.proxy.noProxy }}
{{- end }}
{{- range $item := .Values.garbageCollector.deployment.env }}
- name: {{ $item.name }}
value: {{ $item.value | quote}}
Expand Down

0 comments on commit a0af4cd

Please sign in to comment.