Skip to content

Conversation

@AlbertoBarba
Copy link
Contributor

What this PR does / why we need it:

Due to the introduction of some features that are available since version 12.18.0 we introduced a check on the version which fails if the provided tag is not a valid semantic version.

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

  • Title of the PR starts with type and scope, (e.g. feat(agent,node-analyzer,sysdig-deploy):)
  • Chart Version bumped for the respective charts
  • Variables are documented in the README.md (or README.tpl in some charts)
  • Check GithubAction checks (like lint) to avoid merge-check stoppers
  • All test files are added in the tests folder of their respective chart and have a "_test" suffix

Check Contribution guidelines in README.md for more insight.

@AlbertoBarba AlbertoBarba self-assigned this Nov 30, 2023
@github-actions github-actions bot added the no-tests Chart templates modified without test changes label Nov 30, 2023
@AlbertoBarba AlbertoBarba marked this pull request as ready for review November 30, 2023 11:17
@AlbertoBarba AlbertoBarba requested a review from a team as a code owner November 30, 2023 11:17
@github-actions github-actions bot removed the no-tests Chart templates modified without test changes label Nov 30, 2023
@AlbertoBarba AlbertoBarba enabled auto-merge (squash) November 30, 2023 11:25
Copy link
Contributor

@mavimo mavimo left a comment

Choose a reason for hiding this comment

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

LGTM

{{- if ge (semver "12.18.0" | (semver .Values.image.tag).Compare) 0 }}
{{- if eq (include "agent.enableHttpProbes" .) "true" }}
httpGet:
path: /healthz

Choose a reason for hiding this comment

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

A totally unrelated comment, is the z at the end on purpose?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it's a sort of convention

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.

4 participants