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

topologySpreadConstraints should be an array #746

Open
gjacquet opened this issue Apr 17, 2023 · 0 comments
Open

topologySpreadConstraints should be an array #746

gjacquet opened this issue Apr 17, 2023 · 0 comments
Labels
bug Something isn't working chart:collector Issue related to opentelemetry-collector helm chart

Comments

@gjacquet
Copy link
Contributor

gjacquet commented Apr 17, 2023

In opentelemetry-collector Helm chart, topologySpreadConstraints should be an array rather than an object as it is an array in Kubernets API: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#topologyspreadconstraints-field

This seems to be causing this error when configuring topologySpreadConstraints:

ERRO[0000] [generateHelm] : values don't meet the specifications of the schema(s) in the following chart(s):
opentelemetry-collector:
- topologySpreadConstraints: Invalid type. Expected: object, given: array  application=opentelemetry-collector-refinery engineMode=standalone environmentConfig=config-poc.yaml operation=generateApplications region=us-west-2 version=
FATA[0000] error rendering templates: values don't meet the specifications of the schema(s) in the following chart(s):
opentelemetry-collector:
- topologySpreadConstraints: Invalid type. Expected: object, given: array 
@TylerHelmuth TylerHelmuth added bug Something isn't working chart:collector Issue related to opentelemetry-collector helm chart labels Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working chart:collector Issue related to opentelemetry-collector helm chart
Projects
None yet
Development

No branches or pull requests

2 participants