From c0f0fe096db9f2a4468f7e4194698176e496da20 Mon Sep 17 00:00:00 2001 From: Radar231 Date: Tue, 19 Oct 2021 14:38:43 -0400 Subject: [PATCH] changed ingress to haproxy ingress --- notes-wiki_ingress.yml | 4 ++-- notes-wiki_ingress.yml-old | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 notes-wiki_ingress.yml-old diff --git a/notes-wiki_ingress.yml b/notes-wiki_ingress.yml index 599fc2e..7974e63 100644 --- a/notes-wiki_ingress.yml +++ b/notes-wiki_ingress.yml @@ -1,10 +1,10 @@ --- -apiVersion: extensions/v1beta1 +apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: notes-wiki annotations: - kubernetes.io/ingress.class: traefik + kubernetes.io/ingress.class: haproxy spec: rules: - host: notes-wiki.lan diff --git a/notes-wiki_ingress.yml-old b/notes-wiki_ingress.yml-old new file mode 100644 index 0000000..599fc2e --- /dev/null +++ b/notes-wiki_ingress.yml-old @@ -0,0 +1,19 @@ +--- +apiVersion: extensions/v1beta1 +kind: Ingress +metadata: + name: notes-wiki + annotations: + kubernetes.io/ingress.class: traefik +spec: + rules: + - host: notes-wiki.lan + http: + paths: + - path: / + pathType: Prefix + backend: + serviceName: notes-wiki + servicePort: 8080 + +# EOF