---
metadata:
  namespace: kube-system
data:
  etcd-config: |-
    ---
    endpoints:
      - https://cilium-etcd-client.kube-system.svc:2379
    #
    # In case you want to use TLS in etcd, uncomment the 'ca-file' line
    # and create a kubernetes secret by following the tutorial in
    # https://cilium.link/etcd-config
    ca-file: '/var/lib/etcd-secrets/etcd-client-ca.crt'
    #
    # In case you want client to server authentication, uncomment the following
    # lines and create a kubernetes secret by following the tutorial in
    # https://cilium.link/etcd-config
    key-file: '/var/lib/etcd-secrets/etcd-client.key'
    cert-file: '/var/lib/etcd-secrets/etcd-client.crt'

  # If you want to run cilium in debug mode change this value to true
  debug: "true"

  enable-ipv4: "true"
  enable-ipv6: "true"
  preallocate-bpf-maps: "true"
  enable-legacy-services: "true"

---
metadata:
  namespace: kube-system
data:
  etcd-config: |-
    ---
    endpoints:
      - https://cilium-etcd-client.kube-system.svc:2379
    #
    # In case you want to use TLS in etcd, uncomment the 'ca-file' line
    # and create a kubernetes secret by following the tutorial in
    # https://cilium.link/etcd-config
    ca-file: '/var/lib/etcd-secrets/etcd-client-ca.crt'
    #
    # In case you want client to server authentication, uncomment the following
    # lines and create a kubernetes secret by following the tutorial in
    # https://cilium.link/etcd-config
    key-file: '/var/lib/etcd-secrets/etcd-client.key'
    cert-file: '/var/lib/etcd-secrets/etcd-client.crt'

  # If you want to run cilium in debug mode change this value to true
  debug: "true"

  enable-ipv4: "true"
  enable-ipv6: "true"
  preallocate-bpf-maps: "true"
  enable-legacy-services: "false"

Disable legacy services for upgrades from >= v1.5
test: Disable legacy services for upgrades from >= v1.5

The current upgrade test does an upgrade from v1.5 to the latest
master.

Previously, in v1.5 manifests ("examples/kubernetes") we disabled
legacy services, but meanwhile in the test manifests we enabled them.
This led to removal of service v2 backends during the upgrade,
as no legacy services could have been found and thus, DeleteOrphanBackends
was called.

Signed-off-by: Martynas Pumputis <6b0d31c0d563223024da45691584643ac78c96e8@lambda.lt>
