|
| 1 | +apiVersion: v1 |
| 2 | +kind: ConfigMap |
| 3 | +metadata: |
| 4 | + name: prober-config |
| 5 | + namespace: {{ .Release.Name }} |
| 6 | + labels: |
| 7 | + chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 8 | + release: {{ .Release.Name }} |
| 9 | + heritage: {{ .Release.Service }} |
| 10 | +data: |
| 11 | + beacon_addr: "localhost:7000" |
| 12 | + prober_interval: "10s" |
| 13 | + envoy-config: | |
| 14 | + node: |
| 15 | + id: default |
| 16 | + cluster: kind-cluster |
| 17 | +
|
| 18 | + static_resources: |
| 19 | + listeners: |
| 20 | + - name: listener_0 |
| 21 | + address: |
| 22 | + socket_address: |
| 23 | + address: 0.0.0.0 |
| 24 | + port_value: 7000 |
| 25 | + filter_chains: |
| 26 | + - filters: |
| 27 | + - name: envoy.filters.network.http_connection_manager |
| 28 | + typed_config: |
| 29 | + "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager |
| 30 | + stat_prefix: ingress_http |
| 31 | + access_log: |
| 32 | + - name: envoy.access_loggers.stdout |
| 33 | + typed_config: |
| 34 | + "@type": type.googleapis.com/envoy.extensions.access_loggers.stream.v3.StdoutAccessLog |
| 35 | + http_filters: |
| 36 | + - name: envoy.filters.http.router |
| 37 | + typed_config: |
| 38 | + "@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router |
| 39 | + route_config: |
| 40 | + name: beacon-service |
| 41 | + virtual_hosts: |
| 42 | + - name: beacon-service |
| 43 | + domains: ["*"] |
| 44 | + routes: |
| 45 | + - match: |
| 46 | + prefix: "/grpcbeacon.Beacon" |
| 47 | + grpc: {} |
| 48 | + route: |
| 49 | + cluster: beacon-service |
| 50 | + clusters: |
| 51 | + - name: beacon-service |
| 52 | + type: STRICT_DNS |
| 53 | + dns_lookup_family: V4_ONLY |
| 54 | + http2_protocol_options: {} |
| 55 | + load_assignment: |
| 56 | + cluster_name: beacon-service |
| 57 | + endpoints: |
| 58 | + - lb_endpoints: |
| 59 | + - endpoint: |
| 60 | + address: |
| 61 | + socket_address: |
| 62 | + address: {{ .Values.beaconAddr }} |
| 63 | + port_value: {{ .Values.beaconPort }} |
| 64 | + transport_socket: |
| 65 | + name: envoy.transport_sockets.tls |
| 66 | + typed_config: |
| 67 | + "@type": type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext |
| 68 | + common_tls_context: |
| 69 | + tls_certificate_sds_secret_configs: |
| 70 | + - name: "spiffe://spire-in-a-box.troydai.cc/wl/ns/{{.Release.Name}}/prober" |
| 71 | + sds_config: |
| 72 | + api_config_source: |
| 73 | + api_type: GRPC |
| 74 | + transport_api_version: V3 |
| 75 | + grpc_services: |
| 76 | + envoy_grpc: |
| 77 | + cluster_name: spire_agent |
| 78 | + combined_validation_context: |
| 79 | + default_validation_context: |
| 80 | + match_subject_alt_names: |
| 81 | + exact: "spiffe://spire-in-a-box.troydai.cc/wl/beacon" |
| 82 | + validation_context_sds_secret_config: |
| 83 | + name: "spiffe://spire-in-a-box.troydai.cc" |
| 84 | + sds_config: |
| 85 | + api_config_source: |
| 86 | + api_type: GRPC |
| 87 | + transport_api_version: V3 |
| 88 | + grpc_services: |
| 89 | + envoy_grpc: |
| 90 | + cluster_name: spire_agent |
| 91 | + tls_params: |
| 92 | + ecdh_curves: |
| 93 | + - X25519:P-256:P-521:P-384 |
| 94 | + - name: spire_agent |
| 95 | + connect_timeout: 0.25s |
| 96 | + http2_protocol_options: {} |
| 97 | + load_assignment: |
| 98 | + cluster_name: spire_agent |
| 99 | + endpoints: |
| 100 | + - lb_endpoints: |
| 101 | + - endpoint: |
| 102 | + address: |
| 103 | + pipe: |
| 104 | + path: /opt/spire/sockets/spire-agent.sock |
0 commit comments