From 07b406c779e692b83aa0239860831d4bfba31c79 Mon Sep 17 00:00:00 2001 From: Simple_Not <44047940+moonbaseDelta@users.noreply.github.com> Date: Thu, 22 Jun 2023 00:13:38 +1000 Subject: [PATCH] ingress? --- manifests/03-ingress/hw-ingress.yaml | 37 ++++++++++++++-------------- 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/manifests/03-ingress/hw-ingress.yaml b/manifests/03-ingress/hw-ingress.yaml index 4ce23e3..39e7ee8 100644 --- a/manifests/03-ingress/hw-ingress.yaml +++ b/manifests/03-ingress/hw-ingress.yaml @@ -1,19 +1,20 @@ +--- apiVersion: networking.k8s.io/v1 - kind: Ingress - metadata: - name: hw-ingress - namespace: vdk2ch - annotations: - nginx.ingress.kubernetes.io/rewrite-target: /$1 - spec: - rules: - - host: asdf.vdk2ch.ru - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: hw-service - port: - number: 80 \ No newline at end of file +kind: Ingress +metadata: + name: hw-ingress + namespace: vdk2ch + annotations: + nginx.ingress.kubernetes.io/rewrite-target: /$1 +spec: + rules: + - host: asdf.vdk2ch.ru + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: hw-service + port: + number: 80 \ No newline at end of file