[chart] Enable kube-rbac-proxy for proxy

This commit is contained in:
Manuel Alejandro de Brito Fontes 2021-09-22 19:08:53 -03:00 committed by Robo Quat
parent 2e885774fc
commit 3764c7be1f
3 changed files with 6 additions and 0 deletions

View File

@ -51,6 +51,7 @@ spec:
- -c - -c
- "sysctl -w net.core.somaxconn=32768; sysctl -w net.ipv4.ip_local_port_range='1024 65000'" - "sysctl -w net.core.somaxconn=32768; sysctl -w net.ipv4.ip_local_port_range='1024 65000'"
containers: containers:
{{ include "gitpod.kube-rbac-proxy" $this | indent 6 }}
- name: proxy - name: proxy
image: {{ template "gitpod.comp.imageFull" $this }} image: {{ template "gitpod.comp.imageFull" $this }}
{{ include "gitpod.container.imagePullPolicy" $this | indent 8 }} {{ include "gitpod.container.imagePullPolicy" $this | indent 8 }}

View File

@ -430,6 +430,9 @@ components:
https: https:
expose: true expose: true
containerPort: 443 containerPort: 443
metrics:
expose: false
containerPort: 9500
loadBalancerIP: null loadBalancerIP: null
serviceType: "LoadBalancer" serviceType: "LoadBalancer"
serviceSessionAffinity: "None" serviceSessionAffinity: "None"

View File

@ -129,7 +129,9 @@
:8003 { :8003 {
respond /live 200 respond /live 200
respond /ready 200 respond /ready 200
}
127.0.0.1:9500 {
metrics /metrics { metrics /metrics {
disable_openmetrics disable_openmetrics
} }