-
-
Notifications
You must be signed in to change notification settings - Fork 260
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: disable monitoring.coreos.com/v1 api check #653
Conversation
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.
Please change the values in hacks/values
so the CI will deploy the monitors :)
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.
Thanks for adding the SM schema! :)
@@ -7,4 +7,4 @@ cd "$( dirname "${BASH_SOURCE[0]}" )/.." | |||
schema_url="https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/" | |||
k8s_version="1.27.2" | |||
|
|||
helm kubeconform "./helm/charts/${1}" --strict --schema-location "${schema_url}" -f "hacks/values/${1}.yaml" --kubernetes-version "${k8s_version}" --summary --verbose | |||
helm kubeconform "./helm/charts/${1}" --strict --schema-location "${schema_url}" --schema-location ./hacks/servicemonitor_v1.json -f "hacks/values/${1}.yaml" --kubernetes-version "${k8s_version}" --summary --verbose |
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.
I think this could be improved, but this is something to be done in a separate issue :)
Remove the
.Capabilities.APIVersions.Has "monitoring.coreos.com/v1"
check done before enabling the service monitoras this test will always fail
To avoid breaking changes, the default value for
.Values.serviceMonitor.enabled
is set to false.Related Issue or Design Document
Checklist
If this pull request addresses a security vulnerability,
I confirm that I got approval (please contact security@ory.sh) from the maintainers to push the changes.
Further comments