Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/gateway-helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Please refer to Helm's [documentation](https://helm.sh/docs) to get started.
Once Helm has been set up correctly, install the chart from dockerhub:

``` shell
helm install eg oci://docker.io/envoyproxy/gateway-helm --version v0.0.0-latest -n envoy-gateway-system --create-namespace
helm install envoy-gateway oci://docker.io/envoyproxy/gateway-helm --version v0.0.0-latest -n envoy-gateway-system --create-namespace
```
You can find all helm chart release in [Dockerhub](https://hub.docker.com/r/envoyproxy/gateway-helm/tags)

Expand All @@ -52,7 +52,7 @@ make kube-deploy TAG=latest
You can install the eg chart along without Gateway API CRDs and Envoy Gateway CRDs, make sure CRDs exist in Cluster first if you want to skip to install them, otherwise EG may fail to start:

``` shell
helm install eg --create-namespace oci://docker.io/envoyproxy/gateway-helm --version v0.0.0-latest -n envoy-gateway-system --skip-crds
helm install envoy-gateway --create-namespace oci://docker.io/envoyproxy/gateway-helm --version v0.0.0-latest -n envoy-gateway-system --skip-crds
```

To uninstall the chart:
Expand Down
4 changes: 2 additions & 2 deletions charts/gateway-helm/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Allow the release namespace to be overridden.
Expand the name of the chart.
*/}}
{{- define "eg.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- default .Values.nameOverride "envoy-gateway" | trunc 63 | trimSuffix "-" }}
{{- end }}

{{/*
Expand All @@ -21,7 +21,7 @@ If release name contains chart name it will be used as a full name.
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- $name := default .Values.nameOverride "envoy-gateway" }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
Expand Down
2 changes: 1 addition & 1 deletion charts/gateway-helm/templates/certgen-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ rules:
resources:
- mutatingwebhookconfigurations
resourceNames:
- 'envoy-gateway-topology-injector.{{ include "eg.namespace" . }}'
- '{{ include "eg.fullname" . }}-topology-injector.{{ include "eg.namespace" . }}'
verbs:
- update
- patch
Expand Down
2 changes: 1 addition & 1 deletion charts/gateway-helm/templates/certgen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
value: {{ .Values.kubernetesClusterDomain }}
image: {{ include "eg.image" . }}
imagePullPolicy: {{ include "eg.image.pullPolicy" . }}
name: envoy-gateway-certgen
name: {{ include "eg.fullname" . }}-certgen
{{- with .Values.certgen.job.resources }}
resources:
{{- toYaml . | nindent 10 }}
Expand Down
2 changes: 1 addition & 1 deletion charts/gateway-helm/templates/envoy-gateway-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: envoy-gateway-config
name: {{ include "eg.fullname" . }}-config
namespace: {{ include "eg.namespace" . }}
labels:
{{- include "eg.labels" . | nindent 4 }}
Expand Down
16 changes: 8 additions & 8 deletions charts/gateway-helm/templates/envoy-gateway-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: envoy-gateway
name: {{ include "eg.fullname" . }}
namespace: {{ include "eg.namespace" . }}
{{- with .Values.deployment.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
control-plane: envoy-gateway
control-plane: {{ include "eg.fullname" . }}
{{- include "eg.labels" . | nindent 4 }}
spec:
{{- if not .Values.hpa.enabled }}
replicas: {{ .Values.deployment.replicas }}
{{- end }}
selector:
matchLabels:
control-plane: envoy-gateway
control-plane: {{ include "eg.fullname" . }}
{{- include "eg.selectorLabels" . | nindent 6 }}
template:
metadata:
Expand All @@ -25,7 +25,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
control-plane: envoy-gateway
control-plane: {{ include "eg.fullname" . }}
{{- include "eg.selectorLabels" . | nindent 8 }}
{{- with .Values.deployment.pod.labels }}
{{- toYaml . | nindent 8 }}
Expand Down Expand Up @@ -67,7 +67,7 @@ spec:
port: 8081
initialDelaySeconds: 15
periodSeconds: 20
name: envoy-gateway
name: {{ include "eg.fullname" . }}
ports:
{{- range .Values.deployment.ports }}
- containerPort: {{ .port }}
Expand Down Expand Up @@ -98,13 +98,13 @@ spec:
{{- with .Values.deployment.priorityClassName }}
priorityClassName: {{ . | quote }}
{{- end }}
serviceAccountName: envoy-gateway
serviceAccountName: {{ include "eg.fullname" . }}
terminationGracePeriodSeconds: 10
volumes:
- configMap:
defaultMode: 420
name: envoy-gateway-config
name: {{ include "eg.fullname" . }}-config
name: envoy-gateway-config
- name: certs
secret:
secretName: envoy-gateway
secretName: {{ include "eg.fullname" . }}
4 changes: 2 additions & 2 deletions charts/gateway-helm/templates/envoy-gateway-hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: envoy-gateway
name: {{ include "eg.fullname" . }}
namespace: {{ include "eg.namespace" $ }}
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: envoy-gateway
name: {{ include "eg.fullname" . }}
{{- if .Values.hpa.minReplicas }}
minReplicas: {{ .Values.hpa.minReplicas }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: envoy-gateway
name: {{ include "eg.fullname" . }}
namespace: {{ include "eg.namespace" . }}
spec:
{{- if and .Values.podDisruptionBudget.minAvailable }}
Expand All @@ -13,6 +13,6 @@ spec:
{{- end }}
selector:
matchLabels:
control-plane: envoy-gateway
control-plane: {{ include "eg.fullname" . }}
{{- include "eg.selectorLabels" . | nindent 6 }}
{{- end }}
6 changes: 3 additions & 3 deletions charts/gateway-helm/templates/envoy-gateway-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ roleRef:
name: {{ include "eg.fullname" $ }}-envoy-gateway-role
subjects:
- kind: ServiceAccount
name: 'envoy-gateway'
name: {{ include "eg.fullname" $ }}
namespace: {{ include "eg.namespace" $ }}
{{ end }}
---
Expand All @@ -54,7 +54,7 @@ roleRef:
name: {{ include "eg.fullname" . }}-envoy-gateway-role
subjects:
- kind: ServiceAccount
name: 'envoy-gateway'
name: '{{ include "eg.fullname" . }}'
namespace: {{ include "eg.namespace" . }}
{{ else }}
---
Expand All @@ -77,6 +77,6 @@ roleRef:
name: {{ include "eg.fullname" . }}-envoy-gateway-role
subjects:
- kind: ServiceAccount
name: 'envoy-gateway'
name: '{{ include "eg.fullname" . }}'
namespace: {{ include "eg.namespace" . }}
{{ end }}
6 changes: 3 additions & 3 deletions charts/gateway-helm/templates/envoy-gateway-service.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
apiVersion: v1
kind: Service
metadata:
name: envoy-gateway
name: {{ include "eg.fullname" . }}
namespace: {{ include "eg.namespace" . }}
{{- with .Values.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
control-plane: envoy-gateway
control-plane: {{ include "eg.fullname" . }}
{{- include "eg.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
{{- if and (eq .Values.service.type "LoadBalancer") .Values.service.loadBalancerIP }}
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
{{- end }}
selector:
control-plane: envoy-gateway
control-plane: {{ include "eg.fullname" . }}
{{- include "eg.selectorLabels" . | nindent 4 }}
ports:
{{- .Values.deployment.ports | toYaml | nindent 2 -}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: envoy-gateway
name: {{ include "eg.fullname" . }}
namespace: {{ include "eg.namespace" . }}
labels:
{{- include "eg.labels" . | nindent 4 }}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
apiVersion: admissionregistration.k8s.io/v1
kind: MutatingWebhookConfiguration
metadata:
name: 'envoy-gateway-topology-injector.{{ include "eg.namespace" . }}'
name: '{{ include "eg.fullname" . }}-topology-injector.{{ include "eg.namespace" . }}'
annotations:
"helm.sh/hook": pre-install, pre-upgrade
"helm.sh/hook-weight": "-1"
Expand All @@ -33,7 +33,7 @@ webhooks:
sideEffects: None
clientConfig:
service:
name: envoy-gateway
name: {{ include "eg.fullname" . }}
namespace: {{ include "eg.namespace" . }}
path: "/inject-pod-topology"
port: 9443
Expand Down
4 changes: 2 additions & 2 deletions charts/gateway-helm/templates/infra-manager-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ roleRef:
name: '{{ include "eg.fullname" $ }}-cluster-infra-manager'
subjects:
- kind: ServiceAccount
name: 'envoy-gateway'
name: {{ include "eg.fullname" $ }}
namespace: {{ include "eg.namespace" $ }}
---
{{ end }}
Expand Down Expand Up @@ -56,5 +56,5 @@ roleRef:
name: '{{ include "eg.fullname" . }}-infra-manager'
subjects:
- kind: ServiceAccount
name: 'envoy-gateway'
name: '{{ include "eg.fullname" . }}'
namespace: {{ include "eg.namespace" . }}
2 changes: 1 addition & 1 deletion charts/gateway-helm/templates/leader-election-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ roleRef:
name: '{{ include "eg.fullname" . }}-leader-election-role'
subjects:
- kind: ServiceAccount
name: 'envoy-gateway'
name: '{{ include "eg.fullname" . }}'
namespace: {{ include "eg.namespace" . }}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ roleRef:
name: '{{ include "eg.fullname" $ }}-infra-manager-tokenreview'
subjects:
- kind: ServiceAccount
name: 'envoy-gateway'
name: {{ include "eg.fullname" $ }}
namespace: {{ include "eg.namespace" $ }}
{{ if $kube.watch.namespaces }}
{{ if gt (len $kube.watch.namespaces) 0 }}
Expand Down Expand Up @@ -59,7 +59,7 @@ roleRef:
name: '{{ include "eg.fullname" $ }}-namespaced-infra-manager'
subjects:
- kind: ServiceAccount
name: 'envoy-gateway'
name: {{ include "eg.fullname" $ }}
namespace: {{ include "eg.namespace" $ }}
---
{{- end }}
Expand Down
5 changes: 5 additions & 0 deletions charts/gateway-helm/values.tmpl.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# -- Override the name of the chart
nameOverride: ""
# -- Override the full name of resources
fullnameOverride: ""

# Global settings
global:
# If set, these take highest precedence and change both envoyGateway and ratelimit's container registry and pull secrets.
Expand Down
2 changes: 1 addition & 1 deletion site/content/en/latest/boilerplates/prerequisites.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ proceeding, you should be able to query the example backend using HTTP.
1. Install the Gateway API CRDs and Envoy Gateway using Helm:

```shell
helm install eg oci://docker.io/envoyproxy/gateway-helm --version {{< helm-version >}} -n envoy-gateway-system --create-namespace
helm install envoy-gateway oci://docker.io/envoyproxy/gateway-helm --version {{< helm-version >}} -n envoy-gateway-system --create-namespace
```

2. Install the GatewayClass, Gateway, HTTPRoute and example app:
Expand Down
14 changes: 7 additions & 7 deletions site/content/en/latest/install/install-helm.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ You can visit [Envoy Gateway Helm Chart](https://hub.docker.com/r/envoyproxy/gat
Install the Gateway API CRDs and Envoy Gateway:

```shell
helm install eg oci://docker.io/envoyproxy/gateway-helm --version {{< helm-version >}} -n envoy-gateway-system --create-namespace
helm install envoy-gateway oci://docker.io/envoyproxy/gateway-helm --version {{< helm-version >}} -n envoy-gateway-system --create-namespace
```

Wait for Envoy Gateway to become available:
Expand Down Expand Up @@ -85,7 +85,7 @@ related to large CRDs in the `templates/` directory.
Once the CRDs are installed, you can install the main Envoy Gateway Helm chart without re-applying CRDs by using the `--skip-crds` flag:

```shell
helm install eg oci://docker.io/envoyproxy/gateway-helm \
helm install envoy-gateway oci://docker.io/envoyproxy/gateway-helm \
--version {{< helm-version >}} \
-n envoy-gateway-system \
--create-namespace \
Expand Down Expand Up @@ -113,7 +113,7 @@ If you want to know all the available fields inside the values.yaml file, please
The Backend API is not enabled by default. Enable it via Helm values:

```shell
helm install eg oci://docker.io/envoyproxy/gateway-helm --version {{< helm-version >}} -n envoy-gateway-system --create-namespace --set config.envoyGateway.extensionApis.enableBackend=true
helm install envoy-gateway oci://docker.io/envoyproxy/gateway-helm --version {{< helm-version >}} -n envoy-gateway-system --create-namespace --set config.envoyGateway.extensionApis.enableBackend=true
```

Or with a `values.yaml` file:
Expand All @@ -128,21 +128,21 @@ config:
Then install using the file:

```shell
helm install eg oci://docker.io/envoyproxy/gateway-helm --version {{< helm-version >}} -n envoy-gateway-system --create-namespace -f values.yaml
helm install envoy-gateway oci://docker.io/envoyproxy/gateway-helm --version {{< helm-version >}} -n envoy-gateway-system --create-namespace -f values.yaml
```

### Increase the replicas

```shell
helm install eg oci://docker.io/envoyproxy/gateway-helm --version {{< helm-version >}} -n envoy-gateway-system --create-namespace --set deployment.replicas=2
helm install envoy-gateway oci://docker.io/envoyproxy/gateway-helm --version {{< helm-version >}} -n envoy-gateway-system --create-namespace --set deployment.replicas=2
```

### Change the kubernetesClusterDomain name

If you have installed your cluster with different domain name you can use below command.

```shell
helm install eg oci://docker.io/envoyproxy/gateway-helm --version {{< helm-version >}} -n envoy-gateway-system --create-namespace --set kubernetesClusterDomain=<domain name>
helm install envoy-gateway oci://docker.io/envoyproxy/gateway-helm --version {{< helm-version >}} -n envoy-gateway-system --create-namespace --set kubernetesClusterDomain=<domain name>
```

**Note**: Above are some of the ways we can directly use for customization of our installation. But if you are looking for more complex changes [values.yaml](https://helm.sh/docs/chart_template_guide/values_files/) comes to rescue.
Expand Down Expand Up @@ -179,7 +179,7 @@ Here we have made three changes to our values.yaml file. Increase the resources
You can use the below command to install the envoy gateway using values.yaml file.

```shell
helm install eg oci://docker.io/envoyproxy/gateway-helm --version {{< helm-version >}} -n envoy-gateway-system --create-namespace -f values.yaml
helm install envoy-gateway oci://docker.io/envoyproxy/gateway-helm --version {{< helm-version >}} -n envoy-gateway-system --create-namespace -f values.yaml
```

{{< boilerplate open-ports >}}
Expand Down
2 changes: 1 addition & 1 deletion site/content/en/latest/tasks/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ so the `Gateway` resource has an Address associated with it. We recommend using
Install the Gateway API CRDs and Envoy Gateway:

```shell
helm install eg oci://docker.io/envoyproxy/gateway-helm --version {{< helm-version >}} -n envoy-gateway-system --create-namespace
helm install envoy-gateway oci://docker.io/envoyproxy/gateway-helm --version {{< helm-version >}} -n envoy-gateway-system --create-namespace
```

Wait for Envoy Gateway to become available:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Once the above steps are done and all the pods are up in both the clusters. We a
Install the Gateway API CRDs and Envoy Gateway in cluster1:

```shell
helm install eg oci://docker.io/envoyproxy/gateway-helm --version {{< helm-version >}} -n envoy-gateway-system --create-namespace --kubeconfig output/kubeconfigs/kind-config-cluster1
helm install envoy-gateway oci://docker.io/envoyproxy/gateway-helm --version {{< helm-version >}} -n envoy-gateway-system --create-namespace --kubeconfig output/kubeconfigs/kind-config-cluster1
```

Wait for Envoy Gateway to become available:
Expand Down
4 changes: 2 additions & 2 deletions site/content/en/v1.7/boilerplates/o11y_prerequisites.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ The documentation for the add-ons chart can be found
Follow the instructions below to install the add-ons Helm chart.

```shell
helm install eg-addons oci://docker.io/envoyproxy/gateway-addons-helm --version {{< helm-version >}} -n monitoring --create-namespace
helm install envoy-gateway-addons oci://docker.io/envoyproxy/gateway-addons-helm --version {{< helm-version >}} -n monitoring --create-namespace
```

By default, the [OpenTelemetry Collector](https://opentelemetry.io/docs/collector/) is **disabled.**
To install add-ons with OpenTelemetry Collector enabled, use the following command.

```shell
helm install eg-addons oci://docker.io/envoyproxy/gateway-addons-helm --version {{< helm-version >}} --set opentelemetry-collector.enabled=true -n monitoring --create-namespace
helm install envoy-gateway-addons oci://docker.io/envoyproxy/gateway-addons-helm --version {{< helm-version >}} --set opentelemetry-collector.enabled=true -n monitoring --create-namespace
```
2 changes: 1 addition & 1 deletion site/content/en/v1.7/boilerplates/prerequisites.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ proceeding, you should be able to query the example backend using HTTP.
1. Install the Gateway API CRDs and Envoy Gateway using Helm:

```shell
helm install eg oci://docker.io/envoyproxy/gateway-helm --version {{< helm-version >}} -n envoy-gateway-system --create-namespace
helm install envoy-gateway oci://docker.io/envoyproxy/gateway-helm --version {{< helm-version >}} -n envoy-gateway-system --create-namespace
```

2. Install the GatewayClass, Gateway, HTTPRoute and example app:
Expand Down
Loading