Skip to content
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

Open
valeriitovstyk opened this issue Nov 3, 2023 · 0 comments
Open

Please fix ingress declaration #4

valeriitovstyk opened this issue Nov 3, 2023 · 0 comments

Comments

@valeriitovstyk
Copy link

valeriitovstyk commented Nov 3, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant