File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ webhooks:
41
41
namespace : {{ .Release.Namespace }}
42
42
name : {{ include "psc-autoscaler.fullname" . }}
43
43
path : /v1
44
- port : 443
44
+ port : {{ (.Values.service).port | default 443 }}
45
45
admissionReviewVersions : [ "v1" ]
46
46
sideEffects : None
47
47
timeoutSeconds : {{ (.Values.admission).timeout | default 15 }}
@@ -69,7 +69,7 @@ webhooks:
69
69
namespace : {{ .Release.Namespace }}
70
70
name : {{ include "psc-autoscaler.fullname" . }}
71
71
path : /v1
72
- port : 443
72
+ port : {{ (.Values.service).port | default 443 }}
73
73
admissionReviewVersions : [ "v1" ]
74
74
sideEffects : None
75
75
timeoutSeconds : {{ (.Values.admission).timeout | default 15 }}
Original file line number Diff line number Diff line change 25
25
perfectscale.io/psc-autoscaler-cmd : serve
26
26
{{- include "psc-autoscaler.selectorLabels" . | nindent 8 }}
27
27
spec :
28
+ {{- if (.Values.hostNetwork).enabled }}
29
+ hostNetwork : true
30
+ {{- end }}
28
31
{{- if .Values.priorityClass.enabled }}
29
32
priorityClassName : {{ .Values.priorityClass.name }}
30
33
{{- end }}
42
45
containerPort : {{ .Values.service.port }}
43
46
protocol : TCP
44
47
env :
48
+ - name : HTTP_PORT
49
+ value : " {{ .Values.service.port }}"
45
50
- name : ENV
46
51
value : " {{ .Values.settings.env }}"
47
52
- name : LOG_LEVEL
@@ -159,6 +164,8 @@ spec:
159
164
containerPort : {{ .Values.service.port }}
160
165
protocol : TCP
161
166
env :
167
+ - name : HTTP_PORT
168
+ value : " {{ .Values.service.port }}"
162
169
- name : ENV
163
170
value : " {{ .Values.settings.env }}"
164
171
- name : HTTP_TIMEOUT
@@ -254,6 +261,8 @@ spec:
254
261
containerPort : {{ .Values.service.port }}
255
262
protocol : TCP
256
263
env :
264
+ - name : HTTP_PORT
265
+ value : " {{ .Values.service.port }}"
257
266
- name : ENV
258
267
value : " {{ .Values.settings.env }}"
259
268
- name : HTTP_TIMEOUT
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ replicaCount: 3
2
2
image :
3
3
repository : public.ecr.aws/perfectscale-io/psc-autoscaler
4
4
pullPolicy : Always
5
- tag : " v0.1.21 "
5
+ tag : " v0.1.22 "
6
6
settings :
7
7
env : " prod"
8
8
logLevel : " DEBUG"
@@ -54,6 +54,9 @@ priorityClass:
54
54
# #
55
55
rbac :
56
56
enabled : true
57
+ # Using host network namespace for serve pod
58
+ hostNetwork :
59
+ enabled : false
57
60
serviceAccount :
58
61
# Specifies whether a service account should be created
59
62
create : true
You can’t perform that action at this time.
0 commit comments