[CA][Helm] Allow skipping service creation
This commit is contained in:
parent
128bfa5d43
commit
800efd2ac4
|
|
@ -17,4 +17,4 @@ name: cluster-autoscaler
|
|||
sources:
|
||||
- https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler
|
||||
type: application
|
||||
version: 9.18.1
|
||||
version: 9.19.0
|
||||
|
|
|
|||
|
|
@ -356,6 +356,7 @@ Though enough for the majority of installations, the default PodSecurityPolicy _
|
|||
| resources | object | `{}` | Pod resource requests and limits. |
|
||||
| securityContext | object | `{}` | [Security context for pod](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) |
|
||||
| service.annotations | object | `{}` | Annotations to add to service |
|
||||
| service.create | bool | `true` | If `true`, a Service will be created. |
|
||||
| service.externalIPs | list | `[]` | List of IP addresses at which the service is available. Ref: https://kubernetes.io/docs/user-guide/services/#external-ips. |
|
||||
| service.labels | object | `{}` | Labels to add to service |
|
||||
| service.loadBalancerIP | string | `""` | IP address to assign to load balancer (if supported). |
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
{{- if .Values.service.create }}
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
|
|
@ -35,3 +36,4 @@ spec:
|
|||
selector:
|
||||
{{ include "cluster-autoscaler.instance-name" . | indent 4 }}
|
||||
type: "{{ .Values.service.type }}"
|
||||
{{- end }}
|
||||
|
|
|
|||
|
|
@ -306,6 +306,8 @@ securityContext: {}
|
|||
# runAsGroup: 1001
|
||||
|
||||
service:
|
||||
# service.create -- If `true`, a Service will be created.
|
||||
create: true
|
||||
# service.annotations -- Annotations to add to service
|
||||
annotations: {}
|
||||
# service.labels -- Labels to add to service
|
||||
|
|
|
|||
Loading…
Reference in New Issue