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

[promtail] Introduce .Release.Namespace in objects meta #584

Merged
merged 2 commits into from
Jul 28, 2021
Merged

[promtail] Introduce .Release.Namespace in objects meta #584

merged 2 commits into from
Jul 28, 2021

Conversation

marucha
Copy link
Contributor

@marucha marucha commented Jul 27, 2021

Description of the change

This PR adds .Release.Namespace to objects meta for promtail chart. Related to discussion in this issue.

Benefits

Ability to use the helm chart when having declarative definition of all cluster objects rendered using helm template.

Possible drawbacks

I don't see any, it will work as previously for helm install

Signed-off-by: Mariusz Waligóra mariusz@piwik.pro

Signed-off-by: Mariusz Waligóra <mariusz@piwik.pro>
torstenwalter
torstenwalter previously approved these changes Jul 27, 2021
Copy link
Collaborator

@torstenwalter torstenwalter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For me this looks good. @unguiculus what's your opinion?

@torstenwalter
Copy link
Collaborator

@marucha please look at the failed ci jobs:

Documentation not up to date. Please run helm-docs and commit changes!
templates/: template: promtail/templates/service-extra.yaml:7:24: executing "promtail/templates/service-extra.yaml" at <.Release.Namespace>: nil pointer evaluating interface {}.Namespace

…ontext.

Signed-off-by: Mariusz Waligóra <mariusz@piwik.pro>
@torstenwalter torstenwalter merged commit 1192f61 into grafana:main Jul 28, 2021
@marucha marucha deleted the promtail-release-namespace branch August 11, 2021 14:17
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.

2 participants