fix: istio-gateway default settings

This commit is contained in:
Stefan Reimer 2022-04-21 23:14:06 +02:00
parent e97392a102
commit 94ef776cc8
3 changed files with 5 additions and 7 deletions

View File

@ -27,8 +27,7 @@ Kubernetes: `>= 1.20.0`
| Key | Type | Default | Description | | Key | Type | Default | Description |
|-----|------|---------|-------------| |-----|------|---------|-------------|
| certificates[0].dnsNames | list | `[]` | | | certificates | list | `[]` | |
| certificates[0].name | string | `"ingress-cert"` | |
| gateway.autoscaling.enabled | bool | `false` | | | gateway.autoscaling.enabled | bool | `false` | |
| gateway.autoscaling.maxReplicas | int | `4` | | | gateway.autoscaling.maxReplicas | int | `4` | |
| gateway.autoscaling.minReplicas | int | `1` | | | gateway.autoscaling.minReplicas | int | `1` | |

View File

@ -11,5 +11,5 @@ spec:
selector: selector:
{{- include "gatewaySelectorLabels" . | nindent 4 }} {{- include "gatewaySelectorLabels" . | nindent 4 }}
servers: servers:
{{- include "gatewayServers" (dict "certificates" .Values.certificates "ports" .Values.gateway.service.ports ) | nindent 2}} {{- include "gatewayServers" (dict "certificates" .Values.certificates "ports" .Values.gateway.service.ports ) | nindent 2 }}
{{- end }} {{- end }}

View File

@ -28,10 +28,9 @@ gateway:
podAnnotations: podAnnotations:
proxy.istio.io/config: '{ "terminationDrainDuration": "20s" }' proxy.istio.io/config: '{ "terminationDrainDuration": "20s" }'
certificates: certificates: []
- name: ingress-cert #- name: ingress-cert
dnsNames: [] # dnsNames: []
# - '*.example.com'
telemetry: telemetry:
enabled: falser enabled: falser