Skip to content

Commit 154dccb

Browse files
author
github-actions
committed
Update perfectscale-autoscaler chart with new package version v0.1.22
1 parent 0856b5c commit 154dccb

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

charts/psc-autoscaler/templates/admission.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ webhooks:
4141
namespace: {{ .Release.Namespace }}
4242
name: {{ include "psc-autoscaler.fullname" . }}
4343
path: /v1
44-
port: 443
44+
port: {{ (.Values.service).port | default 443 }}
4545
admissionReviewVersions: [ "v1" ]
4646
sideEffects: None
4747
timeoutSeconds: {{ (.Values.admission).timeout | default 15 }}
@@ -69,7 +69,7 @@ webhooks:
6969
namespace: {{ .Release.Namespace }}
7070
name: {{ include "psc-autoscaler.fullname" . }}
7171
path: /v1
72-
port: 443
72+
port: {{ (.Values.service).port | default 443 }}
7373
admissionReviewVersions: [ "v1" ]
7474
sideEffects: None
7575
timeoutSeconds: {{ (.Values.admission).timeout | default 15 }}

charts/psc-autoscaler/templates/deployment.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ spec:
2525
perfectscale.io/psc-autoscaler-cmd: serve
2626
{{- include "psc-autoscaler.selectorLabels" . | nindent 8 }}
2727
spec:
28+
{{- if (.Values.hostNetwork).enabled }}
29+
hostNetwork: true
30+
{{- end }}
2831
{{- if .Values.priorityClass.enabled }}
2932
priorityClassName: {{ .Values.priorityClass.name }}
3033
{{- end }}
@@ -42,6 +45,8 @@ spec:
4245
containerPort: {{ .Values.service.port }}
4346
protocol: TCP
4447
env:
48+
- name: HTTP_PORT
49+
value: "{{ .Values.service.port }}"
4550
- name: ENV
4651
value: "{{ .Values.settings.env }}"
4752
- name: LOG_LEVEL
@@ -159,6 +164,8 @@ spec:
159164
containerPort: {{ .Values.service.port }}
160165
protocol: TCP
161166
env:
167+
- name: HTTP_PORT
168+
value: "{{ .Values.service.port }}"
162169
- name: ENV
163170
value: "{{ .Values.settings.env }}"
164171
- name: HTTP_TIMEOUT
@@ -254,6 +261,8 @@ spec:
254261
containerPort: {{ .Values.service.port }}
255262
protocol: TCP
256263
env:
264+
- name: HTTP_PORT
265+
value: "{{ .Values.service.port }}"
257266
- name: ENV
258267
value: "{{ .Values.settings.env }}"
259268
- name: HTTP_TIMEOUT

charts/psc-autoscaler/values.yaml

Lines changed: 4 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.21"
5+
tag: "v0.1.22"
66
settings:
77
env: "prod"
88
logLevel: "DEBUG"
@@ -54,6 +54,9 @@ priorityClass:
5454
##
5555
rbac:
5656
enabled: true
57+
# Using host network namespace for serve pod
58+
hostNetwork:
59+
enabled: false
5760
serviceAccount:
5861
# Specifies whether a service account should be created
5962
create: true

0 commit comments

Comments
 (0)