FEAT#Allow Enable/Disable Kubernetes Service Links#477
Open
nkreiger wants to merge 5 commits intosigstore:mainfrom
Open
FEAT#Allow Enable/Disable Kubernetes Service Links#477nkreiger wants to merge 5 commits intosigstore:mainfrom
nkreiger wants to merge 5 commits intosigstore:mainfrom
Conversation
Signed-off-by: Noah Kreiger <noahkreiger@gmail.com>
Author
|
I wasn't sure if I should just keep this forked, or open a PR, if this is something to move forward with, I can do the checklist, let me know. |
sabre1041
requested changes
Mar 17, 2023
Contributor
sabre1041
left a comment
There was a problem hiding this comment.
A few items that need to be added before we can look to integrate this feature:
- Instead of a dictionary called
serviceLinks, what about a boolean calledserviceLinksEnabledand use that conditional and value in the deployment? Chart.yamlversion bump- JSON Schema values update
- Chart dependencies need to be updated between the charts
Given that this change is spread across multiple charts, separating them out across multiple PR's would be a better approach given the fact that chart testing needs to be able to resolve them effectively
Author
|
hey @sabre1041 yep, mostly considered this a request, more of the "final" pr. I will spread these out, and use the same strategy here with the dictionary boolean |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of the change
This Change/Proposal, is to allow setting the enableServiceLinks boolean in a kubernetes deployment via the helm charts. This is kind of an obscure configuration ask.
This variable (true by default), will automatically map all the service names and hosts into the environment variables of a kubernetes deployment. However, there is a limit to this, and when that limit is hit, you get the error
too many args, whenever a pod restarts or during a new deployment.Honestly, not sure why the default is true, it should only effect you if you are not using the DNS name when interacting with other services, which is not the case here.
Existing or Associated Issue(s)
Additional Information
Checklist
Chart.yamlaccording to semver. Where applicable, update and bump the versions in any associated umbrella chartvalues.yamland added to the README.md. The helm-docs utility can be used to generate the necessary content. Usehelm-docs --dry-runto preview the content.ct lintcommand.