mirror of
https://github.com/helm/charts.git
synced 2026-02-14 10:00:02 +00:00
* Fix #10921 When the controller kind is specified as DaemonSet and useHostPort is set to true, there is no need to spin up a service of type NodePort or LoadBalancer, or at least you should be able to disable this option. Signed-off-by: Markus Schlotbohm <markus_schlotbohm@as-gmbh.de> * Add option `controller.service.enabled` to disable deployment of the service template. Signed-off-by: Markus Schlotbohm <markus_schlotbohm@as-gmbh.de>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
88980553d2
commit
d68ff3e047
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: nginx-ingress
|
||||
version: 1.19.0
|
||||
version: 1.19.1
|
||||
appVersion: 0.25.1
|
||||
home: https://github.com/kubernetes/ingress-nginx
|
||||
description: An nginx Ingress controller that uses ConfigMap to store the nginx configuration.
|
||||
|
||||
@@ -94,6 +94,7 @@ Parameter | Description | Default
|
||||
`controller.service.labels` | labels for controller service | `{}`
|
||||
`controller.publishService.enabled` | if true, the controller will set the endpoint records on the ingress objects to reflect those on the service | `false`
|
||||
`controller.publishService.pathOverride` | override of the default publish-service name | `""`
|
||||
`controller.service.enabled` | if disabled no service will be created. This is especially useful when `controller.kind` is set to `DaemonSet` and `controller.daemonset.useHostPorts` is `true` | true
|
||||
`controller.service.clusterIP` | internal controller cluster service IP | `""`
|
||||
`controller.service.omitClusterIP` | To omit the `clusterIP` from the controller service | `false`
|
||||
`controller.service.externalIPs` | controller service external IP addresses. Do not set this when `controller.hostNetwork` is set to `true` and `kube-proxy` is used as there will be a port-conflict for port `80` | `[]`
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
{{- if .Values.controller.service.enabled }}
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
@@ -85,3 +86,4 @@ spec:
|
||||
component: "{{ .Values.controller.name }}"
|
||||
release: {{ .Release.Name }}
|
||||
type: "{{ .Values.controller.service.type }}"
|
||||
{{- end }}
|
||||
|
||||
@@ -222,6 +222,8 @@ controller:
|
||||
configMapKey: ""
|
||||
|
||||
service:
|
||||
enabled: true
|
||||
|
||||
annotations: {}
|
||||
labels: {}
|
||||
omitClusterIP: false
|
||||
|
||||
Reference in New Issue
Block a user