Envoy-k8s error - error initializing configuration '/etc/envoy/envoy.yaml': Unable to parse JSON as proto

Hi all, I am trying to use this envoy configuration in my kubernetes cluster:

  listeners:

  # Setup a TCP listener on port 9000
  - address:
      socket_address:
        address: 0.0.0.0
        port_value: 9000
    traffic_direction: OUTBOUND
    filter_chains:
    - filters:
      - name: envoy.filters.network.tcp_proxy
        typed_config:
          # "@type": [type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy](http://type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy)
          stat_prefix: tcp
          cluster: original_destination_cluster
    listener_filters:
    - name: envoy.filters.listener.original_dst

  # Setup a HTTP listener on port 9001
  - address:
      socket_address:
        address: 0.0.0.0
        port_value: 9001
    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](http://type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager)
          stat_prefix: http
          route_config:
            name: default
            virtual_hosts:
            - name: default
              domains:
              - "*"
              routes:
              - match:
                  prefix: /
                route:
                  cluster: original_destination_cluster
          http_filters:
          - name: envoy.filters.http.router

  # Setup the Original Destination cluster
  clusters:
  - name: original_destination_cluster
    type: ORIGINAL_DST
    original_dst_lb_config:
      use_http_header: true
    connect_timeout: 6s
    lb_policy: CLUSTER_PROVIDED
    dns_lookup_family: V4_ONLY

cluster_manager: {}```
But I keep getting this error:
```[2023-03-15 07:55:38.511][1][critical][main] [source/server/server.cc:96] error initializing configuration '/etc/envoy/envoy.yaml': Unable to parse JSON as proto (INVALID_ARGUMENT:(static_resources.listeners[1].filter_chains[0].filters[0].typed_config): invalid value Invalid type URL, unknown type: envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager for type Any): {"cluster_manager":{},"static_resources":{"clusters":[{"dns_lookup_family":"V4_ONLY","lb_policy":"CLUSTER_PROVIDED","original_dst_lb_config":{"use_http_header":true},"connect_timeout":"6s","name":"original_destination_cluster","type":"ORIGINAL_DST"}],"listeners":[{"listener_filters":[{"name":"envoy.filters.listener.original_dst"}],"address":{"socket_address":{"port_value":9000,"address":"0.0.0.0"}},"filter_chains":[{"filters":[{"typed_config":{"@type":"[type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy](http://type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy)","cluster":"original_destination_cluster","stat_prefix":"tcp"},"name":"envoy.filters.network.tcp_proxy"}]}],"traffic_direction":"OUTBOUND"},{"filter_chains":[{"filters":[{"typed_config":{"http_filters":[{"name":"envoy.filters.http.router"}],"route_config":{"virtual_hosts":[{"routes":[{"route":{"cluster":"original_destination_cluster"},"match":{"prefix":"/"}}],"name":"default","domains":["*"]}],"name":"default"},"@type":"[type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager](http://type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager)","stat_prefix":"http"},"name":"envoy.filters.network.http_connection_manager"}]}],"address":{"socket_address":{"port_value":9001,"address":"0.0.0.0"}}}]}}
[2023-03-15 07:55:38.511][1][info][main] [source/server/server.cc:606] exiting
Unable to parse JSON as proto (INVALID_ARGUMENT:(static_resources.listeners[1].filter_chains[0].filters[0].typed_config): invalid value Invalid type URL, unknown type: envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager for type Any): {"cluster_manager":{},"static_resources":{"clusters":[{"dns_lookup_family":"V4_ONLY","lb_policy":"CLUSTER_PROVIDED","original_dst_lb_config":{"use_http_header":true},"connect_timeout":"6s","name":"original_destination_cluster","type":"ORIGINAL_DST"}],"listeners":[{"listener_filters":[{"name":"envoy.filters.listener.original_dst"}],"address":{"socket_address":{"port_value":9000,"address":"0.0.0.0"}},"filter_chains":[{"filters":[{"typed_config":{"@type":"[type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy](http://type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy)","cluster":"original_destination_cluster","stat_prefix":"tcp"},"name":"envoy.filters.network.tcp_proxy"}]}],"traffic_direction":"OUTBOUND"},{"filter_chains":[{"filters":[{"typed_config":{"http_filters":[{"name":"envoy.filters.http.router"}],"route_config":{"virtual_hosts":[{"routes":[{"route":{"cluster":"original_destination_cluster"},"match":{"prefix":"/"}}],"name":"default","domains":["*"]}],"name":"default"},"@type":"[type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager](http://type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager)","stat_prefix":"http"},"name":"envoy.filters.network.http_connection_manager"}]}],"address":{"socket_address":{"port_value":9001,"address":"0.0.0.0"}}}]}}```
Any idea how I can fix this?

Was able to fix this by changing the envoy version to v1.25.1.