PLAT-64979 Update c3 c3-nginx-ingress chart to export health port
This commit is contained in:
parent
5583f90c7f
commit
eef4886607
3 changed files with 15 additions and 5 deletions
|
@ -13,10 +13,8 @@ keywords:
|
|||
- nginx
|
||||
kubeVersion: '>=1.20.0-0'
|
||||
maintainers:
|
||||
- name: rikatz
|
||||
- name: strongjz
|
||||
- name: tao12345666333
|
||||
name: ingress-nginx
|
||||
- name: Pranjay Sagar
|
||||
name: c3-nginx-ingress
|
||||
sources:
|
||||
- https://github.com/kubernetes/ingress-nginx
|
||||
- https://ci-artifacts.c3.ai/v1/helm
|
||||
version: 4.8.3
|
||||
|
|
|
@ -76,6 +76,15 @@ spec:
|
|||
nodePort: {{ .Values.controller.service.nodePorts.https }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.controller.service.exposeHealthPort }}
|
||||
- name: health
|
||||
port: {{ .Values.controller.service.ports.health }}
|
||||
protocol: TCP
|
||||
targetPort: {{ .Values.controller.service.targetPorts.health }}
|
||||
{{- if and (semverCompare ">=1.20" .Capabilities.KubeVersion.Version) (.Values.controller.service.appProtocol) }}
|
||||
appProtocol: https
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- range $key, $value := .Values.tcp }}
|
||||
- name: {{ if $.Values.portNamePrefix }}{{ $.Values.portNamePrefix }}-{{ end }}{{ $key }}-tcp
|
||||
port: {{ $key }}
|
||||
|
|
|
@ -459,6 +459,7 @@ controller:
|
|||
loadBalancerClass: ""
|
||||
enableHttp: true
|
||||
enableHttps: true
|
||||
exposeHealthPort: false
|
||||
## Set external traffic policy to: "Local" to preserve source IP on providers supporting it.
|
||||
## Ref: https://kubernetes.io/docs/tutorials/services/source-ip/#source-ip-for-services-with-typeloadbalancer
|
||||
# externalTrafficPolicy: ""
|
||||
|
@ -485,9 +486,11 @@ controller:
|
|||
ports:
|
||||
http: 80
|
||||
https: 443
|
||||
health: 10254
|
||||
targetPorts:
|
||||
http: http
|
||||
https: https
|
||||
health: 10254
|
||||
type: LoadBalancer
|
||||
## type: NodePort
|
||||
## nodePorts:
|
||||
|
|
Loading…
Reference in a new issue