Skip to content

Instantly share code, notes, and snippets.

@hermanbanken
Last active May 17, 2022 22:02
Show Gist options
  • Save hermanbanken/b68271ab37d024cddbeb94f6ce66e2c3 to your computer and use it in GitHub Desktop.
Save hermanbanken/b68271ab37d024cddbeb94f6ce66e2c3 to your computer and use it in GitHub Desktop.
Envoy xDS syntax highlighting with https://github.com/redhat-developer/vscode-yaml Extension
# yaml-language-server: $schema=https://github.com/jcchavezs/envoy-config-schema/releases/download/v1.21.0/v3_Bootstrap.json
node:
id: "something"
cluster: "some-cluster"
metadata:
any: {}
key: can
be: used-here
locality:
zone: "europe-west4-a"
sub_zone: "host-a"
user_agent_name: grpc
static_resources:
listeners:
- name: foo
address: { socket_address: { address: 127.0.0.1, port_value: 9000 } }
filter_chains:
- name: foo
filters: [{}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment