[bitnami/contour] Added option to override envoy service name (#14513)

* [bitnami/contour] Added option to override envoy service name

Signed-off-by: kahirokunn <okinakahiro@gmail.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

Signed-off-by: kahirokunn <okinakahiro@gmail.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
kahirokunn
2023-01-25 17:42:41 +09:00
committed by GitHub
parent f4592bce90
commit 9762524419
4 changed files with 6 additions and 2 deletions

View File

@@ -25,4 +25,4 @@ sources:
- https://github.com/envoyproxy/envoy
- https://github.com/bitnami/containers/tree/main/bitnami/contour
- https://projectcontour.io
version: 10.1.4
version: 10.1.5

View File

@@ -267,6 +267,7 @@ $ helm uninstall my-release
| `envoy.customStartupProbe` | Override default startup probe | `{}` |
| `envoy.terminationGracePeriodSeconds` | Envoy termination grace period in seconds | `300` |
| `envoy.logLevel` | Envoy log level | `info` |
| `envoy.service.name` | envoy service name | `""` |
| `envoy.service.targetPorts` | Map the controller service HTTP/HTTPS port | `{}` |
| `envoy.service.type` | Type of Envoy service to create | `LoadBalancer` |
| `envoy.service.externalTrafficPolicy` | Envoy Service external cluster policy. If `envoy.service.type` is NodePort or LoadBalancer | `Local` |

View File

@@ -2,7 +2,7 @@
apiVersion: v1
kind: Service
metadata:
name: {{ printf "%s-envoy" (include "common.names.fullname" .) | trunc 63 | trimSuffix "-" }}
name: {{ default (printf "%s-envoy" (include "common.names.fullname" .) | trunc 63 | trimSuffix "-") .Values.envoy.service.name }}
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "common.labels.standard" . | nindent 4 }}
app.kubernetes.io/component: envoy

View File

@@ -742,6 +742,9 @@ envoy:
## Envoy Service properties
##
service:
## @param envoy.service.name envoy service name
##
name: ""
## @param envoy.service.targetPorts [object] Map the controller service HTTP/HTTPS port
##
targetPorts: