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 lagoon logging test #643

Merged
merged 4 commits into from
Feb 22, 2024
Merged

fix lagoon logging test #643

merged 4 commits into from
Feb 22, 2024

Conversation

smlx
Copy link
Member

@smlx smlx commented Feb 21, 2024

  • fix: add missing helm hook annotations to test objects
  • chore: bump lagoon-logging chart version

smlx added 2 commits February 21, 2024 14:25
Previously the test role and rolebinding were being installed
unconditionally. With this change they are only installed when running
helm test and then removed.

Having the role and rolebinding installed unconditionally would mean
that any serviceaccount (including the default) would be able to view
service objects in the lagoon-logging namespace. This is an unnecessary
elevation of privilege, but these service objects do not contain
anything sensitive.
@smlx smlx force-pushed the fix-lagoon-logging-test branch from 62c6cad to 5bbf46c Compare February 21, 2024 07:53
@smlx smlx requested a review from tobybellwood February 21, 2024 07:56
@smlx smlx requested a review from tobybellwood February 22, 2024 02:03
Copy link
Member

@tobybellwood tobybellwood left a comment

Choose a reason for hiding this comment

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

Thanks for the swift fix, changes all make sense!

@tobybellwood tobybellwood merged commit b45b6fd into main Feb 22, 2024
16 checks passed
@tobybellwood tobybellwood deleted the fix-lagoon-logging-test branch February 22, 2024 04:05
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