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

[prometheus-adapter] bugfix psp port range #135

Merged

Conversation

ahmednasir91
Copy link
Contributor

What this PR does / why we need it:

Fixes the bug in prometheus adapter psp where the port range defined was incorrect max > min.

 Error: cannot patch "prometheus-adapter" with kind PodSecurityPolicy: PodSecurityPolicy.extensions "prometheus-adapter" is invalid: spec.runAsUser.ranges[0].min: Invalid value: 65535: min cannot be greater than max

Checklist

  • DCO signed
  • Chart Version bumped
  • Title of the PR starts with chart name (e.g. [prometheus-couchdb-exporter])

Signed-off-by: Ahmed Nasir <ahmednasir91@gmail.com>
Signed-off-by: Ahmed Nasir <ahmednasir91@gmail.com>
Signed-off-by: Ahmed Nasir <ahmednasir91@gmail.com>
Signed-off-by: Ahmed Nasir <ahmednasir91@gmail.com>
Signed-off-by: Ahmed Nasir <ahmednasir91@gmail.com>
Signed-off-by: Ahmed Nasir <ahmednasir91@gmail.com>
Signed-off-by: Ahmed Nasir <ahmednasir91@gmail.com>
steven-sheehy
steven-sheehy previously approved these changes Sep 23, 2020
Copy link
Member

@steven-sheehy steven-sheehy left a comment

Choose a reason for hiding this comment

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

Will need to re-bump

Signed-off-by: Ahmed Nasir <ahmednasir91@gmail.com>
@ahmednasir91
Copy link
Contributor Author

@steven-sheehy bumped

Signed-off-by: Ahmed Nasir <ahmednasir91@gmail.com>
@steven-sheehy steven-sheehy merged commit 5b25a9b into prometheus-community:main Sep 23, 2020
monotek pushed a commit to monotek/prometheus-helm-charts that referenced this pull request Oct 7, 2020
Fix the bug in prometheus adapter psp where the port range defined was incorrect max > min.

Signed-off-by: Ahmed Nasir <ahmednasir91@gmail.com>
Signed-off-by: André Bauer <andre.bauer@kiwigrid.com>
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