apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: elekto
  namespace: elekto
  labels:
    app: elekto
  annotations:
    kubernetes.io/ingress.allow-http: "false"
    kubernetes.io/ingress.class: gce
    kubernetes.io/ingress.global-static-ip-name: k8s-io-elections
    networking.gke.io/managed-certificates: elections-k8s-io
    networking.gke.io/v1beta1.FrontendConfig: elekto-ingress-security
spec:
  defaultBackend:
    service:
      name: elekto
      port:
        name: http

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: elekto
  namespace: elekto
  labels:
    app: elekto
  annotations:
    kubernetes.io/ingress.class: gce
    kubernetes.io/ingress.global-static-ip-name: k8s-io-elections
    networking.gke.io/managed-certificates: elections-k8s-io
    networking.gke.io/v1beta1.FrontendConfig: elekto-ingress-security
spec:
  defaultBackend:
    service:
      name: elekto
      port:
        name: http

Fix http to https redirect.
elekto: Fix http to https redirect.

Related to:
Fixes https://github.com/kubernetes/k8s.io/issues/3005.
Followup of: https://github.com/kubernetes/k8s.io/pull/3006

Turnout we cannot have a `FrontendConfig` with http redirection and the annotation disabling
http at the same time.

Signed-off-by: Arnaud Meukam <96190fcd0798f0afa72279990e31ddc33e4f2ea2@gmail.com>
