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

Update nginx ingress chart #391

Merged
merged 1 commit into from
Apr 10, 2021
Merged

Update nginx ingress chart #391

merged 1 commit into from
Apr 10, 2021

Conversation

k0da
Copy link
Collaborator

@k0da k0da commented Mar 20, 2021

Signed-off-by: Dinar Valeev dinar.valeev@absa.africa

@k0da
Copy link
Collaborator Author

k0da commented Mar 20, 2021

Fixes https://github.com/AbsaOSS/k8gb/issues/388, note this is not a chart maintained by Nginx, but rather official for ingress controller on k8s side. Advantage over official is, it supports setting udp-services-configmap which is crucial in our setup.

@k0da k0da force-pushed the nginx_upgrade branch 2 times, most recently from edb1516 to e6027b6 Compare March 20, 2021 21:51
Copy link
Collaborator

@kuritka kuritka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix terratest pls..

@k0da
Copy link
Collaborator Author

k0da commented Mar 22, 2021

@kuritka for terratest, it fails randomly

@kuritka
Copy link
Collaborator

kuritka commented Mar 22, 2021

@k0da, must be fixed otherwise, when we merge, master branch will fail randomly 😬 .

@k0da
Copy link
Collaborator Author

k0da commented Mar 22, 2021

@kuritka sure, I'm working on it.

@k0da k0da force-pushed the nginx_upgrade branch 2 times, most recently from da87386 to 228fe43 Compare March 22, 2021 14:46
@k0da k0da force-pushed the nginx_upgrade branch 3 times, most recently from 3b7d752 to 0efd0a8 Compare April 5, 2021 15:35
@k0da k0da requested a review from kuritka April 5, 2021 18:02
@k0da
Copy link
Collaborator Author

k0da commented Apr 6, 2021

mergable

Makefile Outdated
@@ -326,10 +326,10 @@ define deploy-local-cluster
--set k8gb.log.level=$(LOG_LEVEL)

@echo "\n$(YELLOW)Deploy Ingress $(NC)"
helm repo add --force-update stable https://charts.helm.sh/stable
helm repo add nginx-stable https://kubernetes.github.io/ingress-nginx
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--force-update was added to not fail locally when the repo is already present. Why was it removed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

 > helm repo add nginx-stable https://kubernetes.github.io/ingress-nginx
"nginx-stable" already exists with the same configuration, skipping```

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Option is deprecated and no longer needed

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@k0da since which helm version?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$ helm repo add nginx-stable https://kubernetes.github.io/ingress-nginx
Error: repository name (nginx-stable) already exists, please specify a different name
$ echo $?
1

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ytsarev I just reverted it, since option is still there.

deploy/ingress/nginx-ingress-values.yaml Outdated Show resolved Hide resolved
admissionWebhooks:
enabled: false
patch:
enabled: false
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be great to understand what this options do. Update of the ref about would help it I guess. Please fix the reference with the link to up-to-date documentation you used for this change

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ytsarev this is something new chart adds, to prevent new features piled up, I just disable them to keep things as they were. In a nutshell, this prevents validation webhook being installed: https://github.com/kubernetes/ingress-nginx/blob/master/charts/ingress-nginx/templates/admission-webhooks/validating-webhook.yaml so far it supports networking.k8s.io only

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so far it supports networking.k8s.io only

@k0da, does it mean we should merge it after #417 ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I won't pull it into this PR. We can enable it later. So IMO this is not a blocker

@k0da k0da requested a review from ytsarev April 6, 2021 10:07
deploy/ingress/nginx-ingress-values.yaml Outdated Show resolved Hide resolved
deploy/ingress/nginx-ingress-values.yaml Outdated Show resolved Hide resolved
@k0da k0da requested a review from ytsarev April 7, 2021 11:29
@k0da
Copy link
Collaborator Author

k0da commented Apr 7, 2021

Any other comments?

@ytsarev
Copy link
Member

ytsarev commented Apr 9, 2021

@k0da please rebase with master

* https://charts.helm.sh/stable/ is outdated
* Switch to https://github.com/kubernetes/ingress-nginx provided chart

Signed-off-by: Dinar Valeev <dinar.valeev@absa.africa>
@k0da
Copy link
Collaborator Author

k0da commented Apr 9, 2021

@ytsarev done

Copy link
Member

@ytsarev ytsarev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@k0da thanks

@k0da
Copy link
Collaborator Author

k0da commented Apr 9, 2021

@kuritka pls rereview

@k0da k0da merged commit 0c416cd into master Apr 10, 2021
@k0da k0da deleted the nginx_upgrade branch May 6, 2021 08:51
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

Successfully merging this pull request may close these issues.

3 participants