-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
envoy: allow multiple ports and make init container optional
- Loading branch information
Showing
6 changed files
with
37 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# envoy | ||
|
||
![Version: 0.0.14](https://img.shields.io/badge/Version-0.0.14-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.18.2](https://img.shields.io/badge/AppVersion-v1.18.2-informational?style=flat-square) | ||
![Version: 0.0.15](https://img.shields.io/badge/Version-0.0.15-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.18.2](https://img.shields.io/badge/AppVersion-v1.18.2-informational?style=flat-square) | ||
|
||
Helm chart to deploy [envoy](https://www.envoyproxy.io/). | ||
|
||
|
@@ -10,7 +10,7 @@ Helm chart to deploy [envoy](https://www.envoyproxy.io/). | |
|
||
| Name | Email | Url | | ||
| ---- | ------ | --- | | ||
| slamdev | [email protected] | | | ||
| slamdev | <[email protected]> | | | ||
|
||
## Values | ||
|
||
|
@@ -20,7 +20,7 @@ Helm chart to deploy [envoy](https://www.envoyproxy.io/). | |
| args | list | `[]` | extra args to pass to container | | ||
| configYaml | string | `"admin:\n access_log_path: /tmp/admin_access.log\n address:\n socket_address:\n protocol: TCP\n address: 0.0.0.0\n port_value: 9901\nstatic_resources:\n listeners:\n - name: listener_0\n address:\n socket_address:\n protocol: TCP\n address: 0.0.0.0\n port_value: 10000\n filter_chains:\n - filters:\n - name: envoy.filters.network.http_connection_manager\n typed_config:\n \"@type\": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager\n stat_prefix: ingress_http\n access_log:\n - name: envoy.access_loggers.file\n typed_config:\n \"@type\": type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog\n # For the demo config in the Docker container we use:\n # - system logs -> `/dev/stderr`\n # - (listener) access_logs -> `/dev/stdout`\n path: /dev/stdout\n route_config:\n name: local_route\n virtual_hosts:\n - name: local_service\n domains: [\"*\"]\n routes:\n - match:\n prefix: \"/\"\n route:\n host_rewrite_literal: www.envoyproxy.io\n cluster: service_envoyproxy_io\n http_filters:\n - name: envoy.filters.http.router\n clusters:\n - name: service_envoyproxy_io\n connect_timeout: 30s\n type: LOGICAL_DNS\n # Comment out the following line to test on v6 networks\n dns_lookup_family: V4_ONLY\n lb_policy: ROUND_ROBIN\n load_assignment:\n cluster_name: service_envoyproxy_io\n endpoints:\n - lb_endpoints:\n - endpoint:\n address:\n socket_address:\n address: www.envoyproxy.io\n port_value: 443\n transport_socket:\n name: envoy.transport_sockets.tls\n typed_config:\n \"@type\": type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext\n sni: www.envoyproxy.io"` | config yaml | | ||
| containerAdminPort | int | `9901` | | | ||
| containerPort | int | `10000` | container port, should match admin port_value from config.yaml | | ||
| containerPorts | list | `[{"containerPort":10000,"name":"http","protocol":"TCP"}]` | list of container ports, should match static port_value 's from config.yaml | | ||
| env | string | `nil` | environment variables for the deployment | | ||
| fullnameOverride | string | `""` | full name of the chart. | | ||
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy | | ||
|
@@ -32,6 +32,7 @@ Helm chart to deploy [envoy](https://www.envoyproxy.io/). | |
| ingress.hosts | list | `[]` | ingress accepted hostnames | | ||
| ingress.tls | list | `[]` | ingress TLS configuration | | ||
| initContainer.command | string | `"apk add perl && cp /opt/envoy.yaml.tpl /config/envoy.yaml && perl -pi -e 's/ENV_([_A-Z0-9]+)_ENV/$ENV{$1}/g' /config/envoy.yaml"` | | | ||
| initContainer.enabled | bool | `true` | | | ||
| initContainer.image.pullPolicy | string | `"IfNotPresent"` | initContainer image pull policy | | ||
| initContainer.image.repository | string | `"alpine"` | initContainer image repository | | ||
| initContainer.image.tag | string | `"3.12.4"` | initContainer image tag | | ||
|
@@ -44,12 +45,15 @@ Helm chart to deploy [envoy](https://www.envoyproxy.io/). | |
| readinessProbe.httpGet.port | string | `"http-admin"` | port for readiness probe | | ||
| replicaCount | int | `1` | number of replicas for haproxy deployment. | | ||
| resources | object | `{}` | custom resource configuration | | ||
| secret | string | `nil` | secret | | ||
| service.annotations | object | `{}` | annotations to add to the service | | ||
| service.port | int | `80` | service port | | ||
| service.loadBalancerIP | string | `""` | IP of service load balancer | | ||
| service.ports | list | `[{"name":"http","port":80,"protocol":"TCP","targetPort":"http"}]` | list of service ports | | ||
| service.type | string | `"ClusterIP"` | service type | | ||
| serviceAccount.annotations | object | `{}` | annotations to add to the service account | | ||
| serviceAccount.create | bool | `false` | specifies whether a service account should be created | | ||
| serviceAccount.name | string | `nil` | the name of the service account to use; if not set and create is true, a name is generated using the fullname template | | ||
| serviceAdmin.port | int | `80` | port of envoy admin service | | ||
| serviceMonitor.additionalLabels | object | `{}` | additional labels for service monitor | | ||
| serviceMonitor.enabled | bool | `false` | ServiceMonitor CRD is created for a prometheus operator | | ||
| tolerations | list | `[]` | tolerations for scheduler pod assignment | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters