io.javaoperatorsdk.operator.sample.ingress.yaml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sample-webpage-operator Show documentation
Show all versions of sample-webpage-operator Show documentation
Provisions an nginx Webserver based on a CRD with give html
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ""
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /$1
spec:
rules:
- http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: ""
port:
number: 80