diff options
| author | Saumit <justsaumit@protonmail.com> | 2025-10-04 01:36:57 +0530 |
|---|---|---|
| committer | Saumit <justsaumit@protonmail.com> | 2025-10-04 01:36:57 +0530 |
| commit | df2bd058309ac234eebdad3b0682a137e27dfc44 (patch) | |
| tree | 39be2243787c3bdd595ae123766565f80a8a039c /astroshop-helm/frontendproxy/templates/configmap.yaml | |
| parent | 90a62ae7ea5e745b99d8ac8d08ae837bbaedfce5 (diff) | |
Add tested Helm chart and configuration files for OpenTelemetry demo services
Diffstat (limited to 'astroshop-helm/frontendproxy/templates/configmap.yaml')
| -rw-r--r-- | astroshop-helm/frontendproxy/templates/configmap.yaml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/astroshop-helm/frontendproxy/templates/configmap.yaml b/astroshop-helm/frontendproxy/templates/configmap.yaml new file mode 100644 index 0000000..081dc0a --- /dev/null +++ b/astroshop-helm/frontendproxy/templates/configmap.yaml @@ -0,0 +1,52 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ include "frontendproxy.fullname" . }}-config + namespace: {{ .Values.namespace }} + labels: + {{- include "frontendproxy.labels" . | nindent 4 }} +data: + envoy.yaml: | + static_resources: + listeners: + - address: + socket_address: + address: "0.0.0.0" + port_value: 8080 + filter_chains: + - filters: + - name: "envoy.filters.network.http_connection_manager" + typed_config: + "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager + stat_prefix: "ingress_http" + route_config: + name: "local_route" + virtual_hosts: + - name: "frontend" + domains: ["*"] + routes: + - match: + prefix: "/" + route: + cluster: "frontend" + http_filters: + - name: "envoy.filters.http.router" + typed_config: + "@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router + clusters: + - name: "frontend" + type: STRICT_DNS + load_assignment: + cluster_name: "frontend" + endpoints: + - lb_endpoints: + - endpoint: + address: + socket_address: + address: "{{ .Values.opentelemetryDemoFrontendproxy.frontendproxy.env.frontendHost }}" + port_value: {{ .Values.opentelemetryDemoFrontendproxy.frontendproxy.env.frontendPort }} + admin: + address: + socket_address: + address: "0.0.0.0" + port_value: {{ .Values.opentelemetryDemoFrontendproxy.frontendproxy.env.envoyAdminPort }}
\ No newline at end of file |
