Skip to content

Commit 4bef654

Browse files
author
github-actions
committed
Update perfectscale-autoscaler chart with new package version v0.1.25
1 parent 0e0d2a4 commit 4bef654

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

charts/psc-autoscaler/templates/deployment.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,14 @@ spec:
8181
value: "{{ .Values.settings.telemetryUrl }}"
8282
- name: PUSH_TELEMETRY_FREQUENCY
8383
value: "{{ .Values.settings.pushTelemetryFrequency }}"
84+
{{- if .Values.settings.httpProxyEnabled | default false }}
85+
- name: HTTP_PROXY
86+
value: "{{ .Values.settings.httpProxy }}"
87+
- name: HTTPS_PROXY
88+
value: "{{ .Values.settings.httpsProxy }}"
89+
- name: NO_PROXY
90+
value: "{{ .Values.settings.noProxy }}"
91+
{{- end }}
8492
command:
8593
- "./app"
8694
- "serve"
@@ -196,6 +204,14 @@ spec:
196204
value: "{{ .Values.settings.telemetryUrl }}"
197205
- name: PUSH_TELEMETRY_FREQUENCY
198206
value: "{{ .Values.settings.pushTelemetryFrequency }}"
207+
{{- if .Values.settings.httpProxyEnabled | default false }}
208+
- name: HTTP_PROXY
209+
value: "{{ .Values.settings.httpProxy }}"
210+
- name: HTTPS_PROXY
211+
value: "{{ .Values.settings.httpsProxy }}"
212+
- name: NO_PROXY
213+
value: "{{ .Values.settings.noProxy }}"
214+
{{- end }}
199215
command:
200216
- "./app"
201217
- "sync"
@@ -297,6 +313,14 @@ spec:
297313
value: "{{ .Values.settings.restartDeploymentThreshold }}"
298314
- name: "BYPASSED_PODS_CHECK_INTERVAL"
299315
value: "{{ .Values.settings.bypassedPodsCheckInterval }}"
316+
{{- if .Values.settings.httpProxyEnabled | default false }}
317+
- name: HTTP_PROXY
318+
value: "{{ .Values.settings.httpProxy }}"
319+
- name: HTTPS_PROXY
320+
value: "{{ .Values.settings.httpsProxy }}"
321+
- name: NO_PROXY
322+
value: "{{ .Values.settings.noProxy }}"
323+
{{- end }}
300324
command:
301325
- "./app"
302326
- "evict"

charts/psc-autoscaler/values.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ replicaCount: 3
22
image:
33
repository: public.ecr.aws/perfectscale-io/psc-autoscaler
44
pullPolicy: Always
5-
tag: "v0.1.24"
5+
tag: "v0.1.25"
66
settings:
77
env: "prod"
88
logLevel: "DEBUG"
@@ -12,6 +12,10 @@ settings:
1212
restartDeploymentThreshold: 0.1 # defines the number of bypassed pods of the deployment below which we restart individual pods
1313
bypassedPodsCheckInterval: "30m"
1414
httpTimeout: "3m"
15+
httpProxyEnabled: false
16+
httpProxy: "" #example: http://squid-proxy-service.default:3128
17+
httpsProxy: "" #example$ http://squid-proxy-service.default:3128
18+
noProxy: "" #example: ".cluster.local,.svc.cluster.local,172.20.0.1," the line must end with a coma, 172.20.0.1 it is KUBERNETES_SERVICE_HOST, API SERVICE
1519
cmd:
1620
serve:
1721
resources:

0 commit comments

Comments
 (0)