ingress?
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simple_Not 2023-06-22 00:13:38 +10:00
parent 91664fbd10
commit 07b406c779

View File

@ -1,19 +1,20 @@
---
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
metadata: metadata:
name: hw-ingress name: hw-ingress
namespace: vdk2ch namespace: vdk2ch
annotations: annotations:
nginx.ingress.kubernetes.io/rewrite-target: /$1 nginx.ingress.kubernetes.io/rewrite-target: /$1
spec: spec:
rules: rules:
- host: asdf.vdk2ch.ru - host: asdf.vdk2ch.ru
http: http:
paths: paths:
- path: / - path: /
pathType: Prefix pathType: Prefix
backend: backend:
service: service:
name: hw-service name: hw-service
port: port:
number: 80 number: 80