Repository navigation
fix(chart): render string-typed values as strings, check the chart in CI - #24
Merged
Merged
Conversation
A value that YAML or --set types as a boolean or a number reached the API server as one and the DaemonSet or Deployment was refused. The controller, the OTLP sensor and the eBPF DaemonSet now stringify it.
… strings, and check the chart in CI The same boolean-for-string refusal as a toleration value applied to a node selector, a pod annotation and an affinity label value. A chart-only change ran no CI job, so nothing rendered the chart. The chart job lints it and validates every object against the Kubernetes schemas with typed values.
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.
A value that YAML or
--settypes as a boolean or a number reached the pod template as typed and the API server refused it, for examplecannot unmarshal bool into Go struct field Toleration.spec.template.spec.tolerations.value of type string.weightandtolerationSecondsstay numbers.chartjob lints the chart and validates every rendered object against the Kubernetes schemas (kubeconform), with the defaults and withhack/chart-test/typed-values.yaml. The unfixed chart fails it with the boolean toleration, node selector and annotation errors; the fixed chart passes all 24 objects.