-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please fix ingress declaration #4
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fix ingress rules
a lot of changed things in ingress declaration. here is an example of proper version of ingress-blue
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: green-ingress
annotations:
nginx.ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
ingressClassName: nginx
rules:
- host: myapp.example.com
http:
paths:
- pathType: Prefix
path: /green
backend:
service:
name: myapp-green-service
port:
number: 80
The text was updated successfully, but these errors were encountered: