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

Add environment to the ingress name #1109

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

mitchdawson1982
Copy link
Collaborator

@mitchdawson1982 mitchdawson1982 commented Nov 27, 2024

This pr creates a unique ingress based on the respective environment. This is necessary to distinguish between environments when creating dashboards or troubleshooting. It will be necessary to delete the existing ingress prior to deployment for example.

kubectl delete ingress find-moj-data-ingress-test -n data-platform-find-moj-data-test
kubectl delete ingress find-moj-data-ingress-preprod -n data-platform-find-moj-data-preprod
kubectl delete ingress find-moj-data-ingress-prod -n data-platform-find-moj-data-prod

It also resolves the following deployment warning Warning: would violate PodSecurity "restricted:latest": unrestricted capabilities (container "find-moj-data" must set securityContext.capabilities.drop=["ALL"])

Copy link
Contributor

@MatMoore MatMoore left a comment

Choose a reason for hiding this comment

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

👍🏻 might be worth deploying at the end of the day if there will be noticable downtime though

@mitchdawson1982 mitchdawson1982 merged commit 4b0e022 into main Nov 27, 2024
36 checks passed
@mitchdawson1982 mitchdawson1982 deleted the name-ingress-per-environment branch November 27, 2024 16:00
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.

2 participants