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

fix(charts): remove extra hyphen to make helm linter pass #272

Closed
wants to merge 1 commit into from

Conversation

cmontemuino
Copy link
Contributor

Pull Request template

Please, go through these steps before you submit a PR.

Why is this PR required? What issue does it fix?:

Template deploy/helm/charts/templates/rbac.yaml is making helm lint to fail.

What this PR does?:

The hyphen at the end of the closing brackets is responsible for chomping all the whitespaces after the brackets.
Thus, a previous YAML separator gets into the same line as the apiVersion element from the resource enable by the if statement.

Does this PR require any upgrade changes?:

No.

If the changes in this PR are manually verified, list down the scenarios covered::

cd deploy/helm/charts
helm lint .

Any additional information for your reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs

Checklist:

The hyphen at the end of the closing brackets is responsible for chomping
all the whitespaces after the brackets. Thus, a previous YAML separator
gets into the same line as the `apiVersion` element from the resource
enable by the `if` statement.

fixes openebs#271

Signed-off-by: cmontemuino <[email protected]>
@Abhinandan-Purkait
Copy link
Member

Hi @cmontemuino Thanks for the PR. Since your changes would need a helm chart bump we would cherry-pick your commit to a version bump PR.

@Abhinandan-Purkait
Copy link
Member

Included in #277

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.

helm lint fails due to extra hyphen in if statement
2 participants