mirror of
https://github.com/bitnami/charts.git
synced 2026-03-29 16:27:11 +08:00
Fix load balancer with mix protocols issue
This commit is contained in:
@@ -54,7 +54,6 @@ The following tables lists the configurable parameters of the Consul chart and t
|
||||
| `image.tag` | Consul image tag | `{VERSION}` |
|
||||
| `image.pullPolicy` | Image pull policy | `Always` |
|
||||
| `image.pullSecrets` | Specify image pull secrets | `nil` |
|
||||
| `serviceType` | Kubernetes Service type | `ClusterIP` |
|
||||
| `replicas` | Number of replicas | `3` |
|
||||
| `httpPort` | Consul http listening port | `8500` |
|
||||
| `rpcPort` | Consul rpc listening port | `8400` |
|
||||
|
||||
@@ -10,7 +10,6 @@ metadata:
|
||||
annotations:
|
||||
service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
|
||||
spec:
|
||||
type: "{{ .Values.serviceType }}"
|
||||
ports:
|
||||
- name: http
|
||||
port: {{ .Values.httpPort }}
|
||||
@@ -29,10 +28,7 @@ spec:
|
||||
- name: consuldns-udp
|
||||
protocol: "UDP"
|
||||
port: {{.Values.consulDnsPort}}
|
||||
{{- if contains "ClusterIP" .Values.serviceType }}
|
||||
clusterIP: None
|
||||
{{- end }}
|
||||
selector:
|
||||
app: "{{ template "consul.name" . }}"
|
||||
release: {{ .Release.Name | quote }}
|
||||
|
||||
|
||||
@@ -17,9 +17,6 @@ image:
|
||||
# pullSecrets:
|
||||
# - myRegistrKeySecretName
|
||||
|
||||
## Kubernetes service type
|
||||
serviceType: ClusterIP
|
||||
|
||||
## Consul replicas
|
||||
replicas: 3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user