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.
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
feat: add tolerations and affinity in the global values #476
feat: add tolerations and affinity in the global values #476
Changes from 1 commit
d3ec4d0
1d8e7bd
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe that instead of having the repetition on this commented configuration, this should go to
common-values.yaml
, and be checked that way. It may be needed to edit themake check-common-values
as needed.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added the examples in the charts values because that is sent in the helm chart bundle. Which helps users to get examples of how to configure the helm charts. For example, Artifacthub allow user to visualize the default values. If we add the comments in the
common-values.yaml
the users will not see an example of how to use the fields.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine with that, but the
make check-common-values
CI job would have failed. I would also add them into the common-values.yaml, and if the make works, it will check that they are all in sync at least.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CI failed for another reason. The CI is failing because the script is using a CLI flag not available in the
yq
installed in the github runner. There is ayq
implementation in go lang and another one using python (the one with the required CLI flag). The script is considering oneyq
but the runner has another installed. Which misses the '--sort-keys' CLI flag. We need to update the script to remove the need of--sort-keys
or install the rightyq
version.The CI is failing for a while now. If you check the CI history they are green. But if you read the logs, the script failed with the same problem. I've opened another issue to attack this problem. It seems out of scope of this PR. I've run the
make check-common-values
locally and it's passing. I have the pythonyq
installed and it does not consider comment when comparing the values:There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fair enough then, approving.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(opening thread randomly here)
It seems that the CI job for
make check-common-values
is not working, possibly because we are using the wrongyq
dependency (see here).It would have catched the discrepancy with common-values.yaml and each of the other values.yaml.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I was taking a look in the CI history. That's failing for a while already. =(
I guess the ubuntu runner is running the go lang version. But we are using the python command in the script
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm opening an issue for this bug. Just to avoid mixing context here.