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

Kubernetes Ingress class deprecated in helm chart deployment #9807

Open
1 of 3 tasks
borovskimateusz opened this issue Mar 22, 2024 · 1 comment
Open
1 of 3 tasks
Labels

Comments

@borovskimateusz
Copy link

Bug description
Helm chart use depraced kubernetes.io/ingress.class it's problem with cloud deployment of nginx ingress with that class we should add separated file in templates https://github.com/DefectDojo/django-DefectDojo/tree/master/helm/defectdojo/templates with spec.ingressClassname

Steps to reproduce
Steps to reproduce the behavior:

  1. Go to https://github.com/DefectDojo/django-DefectDojo/blob/master/helm/defectdojo/templates/django-ingress.yaml

Expected behavior
When upgrade helm deployment like. helm upgrade --install defectdojo ./ --values ./custom-values.yaml --namespace securecodebox-system

we got warning:
W0321 14:44:35.026276 38208 warnings.go:70] annotation "kubernetes.io/ingress.class" is deprecated, please use 'spec.ingressClassName' instead

Deployment method (select with an X)

  • Docker Compose
  • Kubernetes
  • GoDojo

Screenshots
Screenshot 2024-03-22 at 10 56 30

Additional context (optional)
Add any other context about the problem here.

@mtesauro
Copy link
Contributor

@dsever FYI

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

No branches or pull requests

2 participants