From 0083eed546c879e4fe126d04434b4da6400d755d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20J=2E=20Salmer=C3=B3n-Garc=C3=ADa?= Date: Thu, 28 Jan 2021 13:17:10 +0100 Subject: [PATCH] [bitnami/contour] Add hostAliases (#5219) --- bitnami/contour/Chart.yaml | 2 +- bitnami/contour/README.md | 182 +++++++++--------- .../contour/templates/contour/deployment.yaml | 3 + .../templates/default-backend/deployment.yaml | 3 + .../contour/templates/envoy/daemonset.yaml | 3 + bitnami/contour/values.yaml | 22 +++ 6 files changed, 124 insertions(+), 91 deletions(-) diff --git a/bitnami/contour/Chart.yaml b/bitnami/contour/Chart.yaml index 185046b28..a776438a2 100644 --- a/bitnami/contour/Chart.yaml +++ b/bitnami/contour/Chart.yaml @@ -27,4 +27,4 @@ sources: - https://github.com/envoyproxy/envoy - https://github.com/bitnami/bitnami-docker-contour - https://projectcontour.io -version: 4.0.2 +version: 4.1.0 diff --git a/bitnami/contour/README.md b/bitnami/contour/README.md index d1a49259b..b02b4754f 100644 --- a/bitnami/contour/README.md +++ b/bitnami/contour/README.md @@ -80,6 +80,7 @@ The following tables lists the configurable parameters of the contour chart and | `contour.pullPolicy` | Contour image pull policy | `IfNotPresent` | | `contour.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) | | `contour.extraArgs` | Extra arguments passed to Contour container | `[]` | +| `contour.hostAliases` | Add deployment host aliases | `[]` | | `contour.resources.limits` | Specify resource limits which the container is not allowed to succeed. | `{}` (does not add resource limits to deployed pods) | | `contour.resources.requests` | Specify resource requests which the container needs to spawn. | `{}` (does not add resource limits to deployed pods) | | `contour.podAffinityPreset` | Contour Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` | @@ -124,98 +125,100 @@ The following tables lists the configurable parameters of the contour chart and ## Envoy parameters -| Parameter | Description | Default | -|-----------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------| -| `envoy.enabled` | Envoy Proxy Daemonset creation. | `true` | -| `envoy.image.registry` | Envoy Proxy image registry | `docker.io` | -| `envoy.image.repository` | Envoy Proxy image name | `bitnami/envoy` | -| `envoy.image.tag` | Envoy Proxy image tag | `{TAG_NAME}` | -| `envoy.pullPolicy` | Envoy Proxy image pull policy | `IfNotPresent` | -| `envoy.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) | -| `envoy.resources.limits` | Specify resource limits which the container is not allowed to succeed. | `{}` (does not add resource limits to deployed pods) | -| `envoy.resources.requests` | Specify resource requests which the container needs to spawn. | `{}` (does not add resource limits to deployed pods) | -| `envoy.podAffinityPreset` | Envoy Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` | -| `envoy.podAntiAffinityPreset` | Envoy Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` | -| `envoy.nodeAffinityPreset.type` | Envoy Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` | -| `envoy.nodeAffinityPreset.key` | Envoy Node label key to match Ignored if `affinity` is set. | `""` | -| `envoy.nodeAffinityPreset.values` | Envoy Node label values to match. Ignored if `affinity` is set. | `[]` | -| `envoy.affinity` | Affinity for envoy pod assignment | `{}` (evaluated as a template) | -| `envoy.nodeSelector` | Node labels for envoy pod assignment | `{}` (evaluated as a template) | -| `envoy.tolerations` | Tolerations for envoy pod assignment | `[]` (evaluated as a template) | -| `envoy.podAnnotations` | Envoy Pod annotations | `{}` | -| `envoy.podSecurityContext.enabled` | Envoy Pod securityContext | `false` | -| `envoy.containerSecurityContext.enabled` | Envoy Container securityContext | `true` | -| `envoy.containerSecurityContext.runAsUser` | User ID for the envoy container (to change this, http and https containerPorts must be set to >1024) | `0` | -| `envoy.dnsPolicy` | Envoy Pod Dns Policy | `ClusterFirst` | -| `envoy.tlsExistingSecret` | Name of the existing secret to be use in envoy deployment. It will override .tlsExistingSecret, if it is not nil `contour.certgen` will be disabled. | `nil` | -| `envoy.hostNetwork` | Envoy Pod host network access | `false` | -| `envoy.readynessProbe.enabled` | Enable/disable the Readyness probe | `true` | -| `envoy.readynessProbe.initialDelaySeconds` | Delay before readyness probe is initiated | `10` | -| `envoy.readynessProbe.periodSeconds` | How often to perform the probe | `3` | -| `envoy.readynessProbe.timeoutSeconds` | When the probe times out | `1` | -| `envoy.readynessProbe.successThreshold` | Minimum consecutive successes for the probe to be considered successful after having failed. | `3` | -| `envoy.readynessProbe.failureThreshold` | Minimum consecutive failures for the probe to be considered failed after having succeeded. | `1` | -| `envoy.service.type` | Type of envoy service to create | `LoadBalancer` | -| `envoy.service.externalTrafficPolicy` | If `envoy.service.type` is NodePort or LoadBalancer, set this to Local to enable [source IP preservation](https://kubernetes.io/docs/tutorials/services/source-ip/#source-ip-for-services-with-typenodeport) | `Local` | -| `envoy.service.clusterIP` | Internal envoy cluster service IP | `""` | -| `envoy.service.externalIPs` | Envoy service external IP addresses. | `[]` | -| `envoy.service.extraPorts` | Service extra ports, normally used with the `sidecar` value. | `[]` (evaluated as a template) | -| `envoy.service.loadBalancerIP` | IP address to assign to load balancer (if supported) | `""` | -| `envoy.service.loadBalancerSourceRanges` | List of IP CIDRs allowed access to load balancer (if supported) | `[]` | -| `envoy.service.annotations` | Annotations for envoy service | `{}` | -| `envoy.service.ports.http` | Sets service http port | `80` | -| `envoy.service.ports.https` | Sets service https port | `443` | -| `envoy.service.nodePorts.http` | If `envoy.service.type` is NodePort and this is non-empty, it sets the nodePort that maps to envoys http port | `""` | -| `envoy.service.nodePorts.https` | If `envoy.service.type` is NodePort and this is non-empty, it sets the nodePort that maps to envoys https port | `""` | -| `envoy.useHostPort` | Enable/disable `hostPort` for TCP/80 and TCP/443 | `true` | -| `envoy.hostPorts.http` | Sets `hostPort` http port | `80` | -| `envoy.hostPorts.https` | Sets `hostPort` https port | `443` | -| `envoy.containerPorts.http` | Sets http port inside envoy pod (change this to >1024 to run envoy as a non-root user) | `80` | -| `envoy.containerPorts.https` | Sets https port inside envoy pod (change this to >1024 to run envoy as a non-root user) | `443` | -| `envoy.initContainers` | Attach additional init containers to envoy pods | `[]` (evaluated as a template) | -| `envoy.extraVolumes` | Array to add extra volumes | `[]` | -| `envoy.extraVolumeMounts` | Array to add extra mounts (normally used with extraVolumes) | `[]` | -| `envoy.extraEnvVars` | Array containing extra env vars to be added to all envoy containers | `[]` (evaluated as a template) | -| `envoy.extraEnvVarsConfigMap` | ConfigMap containing extra env vars to be added to all envoy containers | `""` (evaluated as a template) | -| `envoy.extraEnvVarsSecret` | Secret containing extra env vars to be added to all envoy containers | `""` (evaluated as a template) | +| Parameter | Description | Default | +|--------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------| +| `envoy.enabled` | Envoy Proxy Daemonset creation. | `true` | +| `envoy.image.registry` | Envoy Proxy image registry | `docker.io` | +| `envoy.image.repository` | Envoy Proxy image name | `bitnami/envoy` | +| `envoy.image.tag` | Envoy Proxy image tag | `{TAG_NAME}` | +| `envoy.pullPolicy` | Envoy Proxy image pull policy | `IfNotPresent` | +| `envoy.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) | +| `envoy.resources.limits` | Specify resource limits which the container is not allowed to succeed. | `{}` (does not add resource limits to deployed pods) | +| `envoy.resources.requests` | Specify resource requests which the container needs to spawn. | `{}` (does not add resource limits to deployed pods) | +| `envoy.hostAliases` | Add deployment host aliases | `[]` | +| `envoy.podAffinityPreset` | Envoy Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` | +| `envoy.podAntiAffinityPreset` | Envoy Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` | +| `envoy.nodeAffinityPreset.type` | Envoy Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` | +| `envoy.nodeAffinityPreset.key` | Envoy Node label key to match Ignored if `affinity` is set. | `""` | +| `envoy.nodeAffinityPreset.values` | Envoy Node label values to match. Ignored if `affinity` is set. | `[]` | +| `envoy.affinity` | Affinity for envoy pod assignment | `{}` (evaluated as a template) | +| `envoy.nodeSelector` | Node labels for envoy pod assignment | `{}` (evaluated as a template) | +| `envoy.tolerations` | Tolerations for envoy pod assignment | `[]` (evaluated as a template) | +| `envoy.podAnnotations` | Envoy Pod annotations | `{}` | +| `envoy.podSecurityContext.enabled` | Envoy Pod securityContext | `false` | +| `envoy.containerSecurityContext.enabled` | Envoy Container securityContext | `true` | +| `envoy.containerSecurityContext.runAsUser` | User ID for the envoy container (to change this, http and https containerPorts must be set to >1024) | `0` | +| `envoy.dnsPolicy` | Envoy Pod Dns Policy | `ClusterFirst` | +| `envoy.tlsExistingSecret` | Name of the existing secret to be use in envoy deployment. It will override .tlsExistingSecret, if it is not nil `contour.certgen` will be disabled. | `nil` | +| `envoy.hostNetwork` | Envoy Pod host network access | `false` | +| `envoy.readynessProbe.enabled` | Enable/disable the Readyness probe | `true` | +| `envoy.readynessProbe.initialDelaySeconds` | Delay before readyness probe is initiated | `10` | +| `envoy.readynessProbe.periodSeconds` | How often to perform the probe | `3` | +| `envoy.readynessProbe.timeoutSeconds` | When the probe times out | `1` | +| `envoy.readynessProbe.successThreshold` | Minimum consecutive successes for the probe to be considered successful after having failed. | `3` | +| `envoy.readynessProbe.failureThreshold` | Minimum consecutive failures for the probe to be considered failed after having succeeded. | `1` | +| `envoy.service.type` | Type of envoy service to create | `LoadBalancer` | +| `envoy.service.externalTrafficPolicy` | If `envoy.service.type` is NodePort or LoadBalancer, set this to Local to enable [source IP preservation](https://kubernetes.io/docs/tutorials/services/source-ip/#source-ip-for-services-with-typenodeport) | `Local` | +| `envoy.service.clusterIP` | Internal envoy cluster service IP | `""` | +| `envoy.service.externalIPs` | Envoy service external IP addresses. | `[]` | +| `envoy.service.extraPorts` | Service extra ports, normally used with the `sidecar` value. | `[]` (evaluated as a template) | +| `envoy.service.loadBalancerIP` | IP address to assign to load balancer (if supported) | `""` | +| `envoy.service.loadBalancerSourceRanges` | List of IP CIDRs allowed access to load balancer (if supported) | `[]` | +| `envoy.service.annotations` | Annotations for envoy service | `{}` | +| `envoy.service.ports.http` | Sets service http port | `80` | +| `envoy.service.ports.https` | Sets service https port | `443` | +| `envoy.service.nodePorts.http` | If `envoy.service.type` is NodePort and this is non-empty, it sets the nodePort that maps to envoys http port | `""` | +| `envoy.service.nodePorts.https` | If `envoy.service.type` is NodePort and this is non-empty, it sets the nodePort that maps to envoys https port | `""` | +| `envoy.useHostPort` | Enable/disable `hostPort` for TCP/80 and TCP/443 | `true` | +| `envoy.hostPorts.http` | Sets `hostPort` http port | `80` | +| `envoy.hostPorts.https` | Sets `hostPort` https port | `443` | +| `envoy.containerPorts.http` | Sets http port inside envoy pod (change this to >1024 to run envoy as a non-root user) | `80` | +| `envoy.containerPorts.https` | Sets https port inside envoy pod (change this to >1024 to run envoy as a non-root user) | `443` | +| `envoy.initContainers` | Attach additional init containers to envoy pods | `[]` (evaluated as a template) | +| `envoy.extraVolumes` | Array to add extra volumes | `[]` | +| `envoy.extraVolumeMounts` | Array to add extra mounts (normally used with extraVolumes) | `[]` | +| `envoy.extraEnvVars` | Array containing extra env vars to be added to all envoy containers | `[]` (evaluated as a template) | +| `envoy.extraEnvVarsConfigMap` | ConfigMap containing extra env vars to be added to all envoy containers | `""` (evaluated as a template) | +| `envoy.extraEnvVarsSecret` | Secret containing extra env vars to be added to all envoy containers | `""` (evaluated as a template) | ### Default backend parameters -| Parameter | Description | Default | -|--------------------------------------------|------------------------------------------------------------------------------------------|---------------------------------------------------------| -| `defaultBackend.enabled` | Enable a default backend based on NGINX | `false` | -| `defaultBackend.image.registry` | Default backend image registry | `docker.io` | -| `defaultBackend.image.repository` | Default backend image name | `bitnami/nginx` | -| `defaultBackend.image.tag` | Default backend image tag | `{TAG_NAME}` | -| `defaultBackend.image.pullPolicy` | Image pull policy | `IfNotPresent` | -| `defaultBackend.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) | -| `defaultBackend.extraArgs` | Additional command line arguments to pass to NGINX container | `{}` | -| `defaultBackend.containerPort` | HTTP container port number | `8080` | -| `defaultBackend.replicaCount` | Desired number of default backend pods | `1` | -| `defaultBackend.podSecurityContext` | Default backend pods' Security Context | Check `values.yaml` file | -| `defaultBackend.containerSecurityContext` | Default backend containers' Security Context | Check `values.yaml` file | -| `defaultBackend.resources.limits` | The resources limits for the Default backend container | `{}` | -| `defaultBackend.resources.requests` | The requested resources for the Default backend container | `{}` | -| `defaultBackend.livenessProbe` | Liveness probe configuration for Default backend | Check `values.yaml` file | -| `defaultBackend.readinessProbe` | Readiness probe configuration for Default backend | Check `values.yaml` file | -| `defaultBackend.customLivenessProbe` | Override default liveness probe | `{}` (evaluated as a template) | -| `defaultBackend.customReadinessProbe` | Override default readiness probe | `{}` (evaluated as a template) | -| `defaultBackend.podAffinityPreset` | Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` | -| `defaultBackend.podAntiAffinityPreset` | Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `soft` | -| `defaultBackend.nodeAffinityPreset.type` | Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`| `""` | -| `defaultBackend.nodeAffinityPreset.key` | Node label key to match. Ignored if `affinity` is set. | `""` | -| `defaultBackend.nodeAffinityPreset.values` | Node label values to match. Ignored if `affinity` is set. | `[]` | -| `defaultBackend.affinity` | Affinity for pod assignment | `{}` (evaluated as a template) | -| `defaultBackend.nodeSelector` | Node labels for pod assignment | `{}` (evaluated as a template) | -| `defaultBackend.tolerations` | Tolerations for pod assignment | `[]` (evaluated as a template) | -| `defaultBackend.podLabels` | Extra labels for Controller pods | `{}` (evaluated as a template) | -| `defaultBackend.podAnnotations` | Annotations for Controller pods | `{}` (evaluated as a template) | -| `defaultBackend.priorityClassName` | Priority class assigned to the pods | `""` | -| `defaultBackend.pdb.create` | Enable/disable a Pod Disruption Budget creation for Default backend | `false` | -| `defaultBackend.pdb.minAvailable` | Minimum number/percentage of Default backend pods that should remain scheduled | `1` | -| `defaultBackend.pdb.maxUnavailable` | Maximum number/percentage of Default backend pods that may be made unavailable | `nil` | -| `defaultBackend.service.type` | Service type | `ClusterIP` | -| `defaultBackend.service.port` | Service port | `80` | +| Parameter | Description | Default | +|--------------------------------------------|-------------------------------------------------------------------------------------------|---------------------------------------------------------| +| `defaultBackend.enabled` | Enable a default backend based on NGINX | `false` | +| `defaultBackend.image.registry` | Default backend image registry | `docker.io` | +| `defaultBackend.image.repository` | Default backend image name | `bitnami/nginx` | +| `defaultBackend.image.tag` | Default backend image tag | `{TAG_NAME}` | +| `defaultBackend.image.pullPolicy` | Image pull policy | `IfNotPresent` | +| `defaultBackend.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) | +| `defaultBackend.extraArgs` | Additional command line arguments to pass to NGINX container | `{}` | +| `defaultBackend.containerPort` | HTTP container port number | `8080` | +| `defaultBackend.replicaCount` | Desired number of default backend pods | `1` | +| `defaultBackend.hostAliases` | Add deployment host aliases | `[]` | +| `defaultBackend.podSecurityContext` | Default backend pods' Security Context | Check `values.yaml` file | +| `defaultBackend.containerSecurityContext` | Default backend containers' Security Context | Check `values.yaml` file | +| `defaultBackend.resources.limits` | The resources limits for the Default backend container | `{}` | +| `defaultBackend.resources.requests` | The requested resources for the Default backend container | `{}` | +| `defaultBackend.livenessProbe` | Liveness probe configuration for Default backend | Check `values.yaml` file | +| `defaultBackend.readinessProbe` | Readiness probe configuration for Default backend | Check `values.yaml` file | +| `defaultBackend.customLivenessProbe` | Override default liveness probe | `{}` (evaluated as a template) | +| `defaultBackend.customReadinessProbe` | Override default readiness probe | `{}` (evaluated as a template) | +| `defaultBackend.podAffinityPreset` | Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` | +| `defaultBackend.podAntiAffinityPreset` | Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `soft` | +| `defaultBackend.nodeAffinityPreset.type` | Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` | +| `defaultBackend.nodeAffinityPreset.key` | Node label key to match. Ignored if `affinity` is set. | `""` | +| `defaultBackend.nodeAffinityPreset.values` | Node label values to match. Ignored if `affinity` is set. | `[]` | +| `defaultBackend.affinity` | Affinity for pod assignment | `{}` (evaluated as a template) | +| `defaultBackend.nodeSelector` | Node labels for pod assignment | `{}` (evaluated as a template) | +| `defaultBackend.tolerations` | Tolerations for pod assignment | `[]` (evaluated as a template) | +| `defaultBackend.podLabels` | Extra labels for Controller pods | `{}` (evaluated as a template) | +| `defaultBackend.podAnnotations` | Annotations for Controller pods | `{}` (evaluated as a template) | +| `defaultBackend.priorityClassName` | Priority class assigned to the pods | `""` | +| `defaultBackend.pdb.create` | Enable/disable a Pod Disruption Budget creation for Default backend | `false` | +| `defaultBackend.pdb.minAvailable` | Minimum number/percentage of Default backend pods that should remain scheduled | `1` | +| `defaultBackend.pdb.maxUnavailable` | Maximum number/percentage of Default backend pods that may be made unavailable | `nil` | +| `defaultBackend.service.type` | Service type | `ClusterIP` | +| `defaultBackend.service.port` | Service port | `80` | ### Other parameters @@ -246,7 +249,6 @@ $ helm install my-release \ The above command sets the `envoy.readynessProbe.successThreshold` to `5`. - ## Configuration and installation details ### [Rolling VS Immutable tags](https://docs.bitnami.com/containers/how-to/understand-rolling-tags-containers/) diff --git a/bitnami/contour/templates/contour/deployment.yaml b/bitnami/contour/templates/contour/deployment.yaml index b656622ff..8dae3965e 100644 --- a/bitnami/contour/templates/contour/deployment.yaml +++ b/bitnami/contour/templates/contour/deployment.yaml @@ -33,6 +33,9 @@ spec: app.kubernetes.io/component: contour spec: {{- include "common.images.pullSecrets" ( dict "images" (list .Values.contour.image) "global" .Values.global) | nindent 6 }} + {{- if .Values.contour.hostAliases }} + hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.contour.hostAliases "context" $) | nindent 8 }} + {{- end }} {{- if .Values.contour.affinity }} affinity: {{- include "common.tplvalues.render" (dict "value" .Values.contour.affinity "context" $) | nindent 8 }} {{- else }} diff --git a/bitnami/contour/templates/default-backend/deployment.yaml b/bitnami/contour/templates/default-backend/deployment.yaml index c6b374eca..974f9ef84 100644 --- a/bitnami/contour/templates/default-backend/deployment.yaml +++ b/bitnami/contour/templates/default-backend/deployment.yaml @@ -29,6 +29,9 @@ spec: {{- end }} spec: {{- include "common.images.pullSecrets" ( dict "images" (list .Values.defaultBackend.image) "global" .Values.global) | nindent 6 }} + {{- if .Values.defaultBackend.hostAliases }} + hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.defaultBackend.hostAliases "context" $) | nindent 8 }} + {{- end }} {{- if .Values.defaultBackend.priorityClassName }} priorityClassName: {{ .Values.defaultBackend.priorityClassName | quote }} {{- end }} diff --git a/bitnami/contour/templates/envoy/daemonset.yaml b/bitnami/contour/templates/envoy/daemonset.yaml index 975b27536..5d69bd11f 100644 --- a/bitnami/contour/templates/envoy/daemonset.yaml +++ b/bitnami/contour/templates/envoy/daemonset.yaml @@ -24,6 +24,9 @@ spec: app.kubernetes.io/component: envoy spec: {{- include "common.images.pullSecrets" ( dict "images" (list .Values.contour.image .Values.envoy.image) "global" .Values.global) | nindent 6 }} + {{- if .Values.envoy.hostAliases }} + hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.envoy.hostAliases "context" $) | nindent 8 }} + {{- end }} {{- if .Values.envoy.affinity }} affinity: {{- include "common.tplvalues.render" (dict "value" .Values.envoy.affinity "context" $) | nindent 8 }} {{- else }} diff --git a/bitnami/contour/values.yaml b/bitnami/contour/values.yaml index 3b71df0d8..c0a07818e 100644 --- a/bitnami/contour/values.yaml +++ b/bitnami/contour/values.yaml @@ -1,6 +1,7 @@ ## Default values for contour. ## This is a YAML-formatted file. ## Declare variables to be passed into your templates. +## ## Global Docker image parameters ## Please, note that this will override the image parameters, including dependencies, configured to use the global value @@ -54,6 +55,7 @@ configInline: # namespace: '{{ .Release.Namespace }}' # The following config shows the defaults for the leader election. ## This needs to be edited by when you deploy to a namespace other than projectcontour + ## leaderelection: # configmap-name: leader-elect configmap-namespace: '{{ .Release.Namespace }}' @@ -155,6 +157,11 @@ contour: # pullSecrets: # - myRegistryKeySecretName + ## Deployment pod host aliases + ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/ + ## + hostAliases: [] + ## Extra arguments passed to Contour container ## extraArgs: [] @@ -168,6 +175,7 @@ contour: ## choice for the user. This also increases chances charts run on environments with little ## resources, such as Minikube. If you do want to specify resources, uncomment the following ## lines, adjust them as necessary, and remove the curly braces after 'resources:'. + ## limits: {} # cpu: 400m # memory: 250Mi @@ -197,6 +205,7 @@ contour: nodeAffinityPreset: ## Node affinity type ## Allowed values: soft, hard + ## type: '' ## Node label key to match ## E.g. @@ -332,6 +341,11 @@ envoy: # pullSecrets: # - myRegistryKeySecretName + ## Deployment pod host aliases + ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/ + ## + hostAliases: [] + ## Envoy container resource requests and limits ## ref: http://kubernetes.io/docs/user-guide/compute-resources/ ## ref: https://projectcontour.io/guides/resource-limits/ @@ -341,6 +355,7 @@ envoy: ## choice for the user. This also increases chances charts run on environments with little ## resources, such as Minikube. If you do want to specify resources, uncomment the following ## lines, adjust them as necessary, and remove the curly braces after 'resources:'. + ## limits: {} # cpu: 400m # memory: 250Mi @@ -367,6 +382,7 @@ envoy: nodeAffinityPreset: ## Node affinity type ## Allowed values: soft, hard + ## type: '' ## Node label key to match ## E.g. @@ -585,6 +601,11 @@ defaultBackend: extraArgs: {} containerPort: 8080 + ## Deployment pod host aliases + ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/ + ## + hostAliases: [] + ## Number of replicas ## replicaCount: 1 @@ -683,6 +704,7 @@ defaultBackend: nodeAffinityPreset: ## Node affinity type ## Allowed values: soft, hard + ## type: "" ## Node label key to match ## E.g.