-
Notifications
You must be signed in to change notification settings - Fork 18
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
Add ServiceMonitor resources for both HiveMQ Platform Operator Helm charts and HiveMQ Platform Helm charts #399
base: develop
Are you sure you want to change the base?
Conversation
32bf2e7
to
057b37a
Compare
057b37a
to
5ddc721
Compare
5ddc721
to
cefd455
Compare
@@ -349,8 +358,8 @@ tests: | |||
runAsUser: 185 | |||
asserts: | |||
- failedTemplate: | |||
errorMessage: |- | |||
`runAsNonRoot` is set to `false` but `runAsUser` is not set to `0` (root) | |||
errorPattern: |- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stupid question: Is there a reason to use |-
here? I've seen that you refactored a couple of the errorPattern
into a single line and the majority seems to be like that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a stupid question!
The only reason to use |-
is because this unittest plugin does not work when the error message to match starts with some special character like ``` in this case. If you see, the |-
is only applied to those starting with such character. It will fail with:
FAIL charts/hivemq-platform-operator/tests/hivemq_operator_deployment_test.yaml
- Execution Error:
yaml: line 362: found character that cannot start any token
Actually, I'm going to raise this an issue on the Helm unittest plugin.
Another option would be to change the error message in our case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
review of the values.yaml only
82562b2
to
6562192
Compare
6562192
to
b1b487f
Compare
https://hivemq.kanbanize.com/ctrl_board/22/cards/27143/details/
Edit: Haven't added the new matrix tags to the branch protection rules, as I would like to get first the approval. Will include that and re-trigger the
verify
job afterwards.