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

Those .yaml files are not templates and should be considered as _helpers #135

Merged
merged 3 commits into from
Jan 11, 2021

Conversation

anthony-pastor
Copy link
Contributor

Those .yaml files are not templates and should be considered like _helpers files.
Any document without metadata.name entry isn't a valid Kubernetes resource, and therefore should be considered like the _helpers.tpl file.

Without this helm lint will drop an error for any of those files:
[ERROR] templates/containers-common-env.yaml: object name does not conform to Kubernetes naming requirements: "": invalid metadata name, must match regex ^(([A-Za-z0-9][-A-Za-z0-9.]*)?[A-Za-z0-9])+$ and the length must not longer than 253_

@ahmed-mez
Copy link
Contributor

hey @anthony-pastor - the changes look good, could you bump the chart version and add a release note? thanks!

@vboulineau vboulineau merged commit ef06974 into DataDog:master Jan 11, 2021
@anthony-pastor
Copy link
Contributor Author

@vboulineau
Copy link
Contributor

@vboulineau is this log expected?
https://github.com/DataDog/helm-charts/pull/135/checks?check_run_id=1681509535#step:4:4719

Yes, the install CI does not have system-probe installed by default.

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.

Linting issue: object name does not conform to Kubernetes naming requirements
3 participants