Skip to content

Conversation

@jsmolar
Copy link

@jsmolar jsmolar commented Nov 5, 2024

No description provided.

# make sure user-workloads are enabled
USER_WORKLOADS=$(oc get cm/cluster-monitoring-config -n openshift-monitoring -ojsonpath='{.data.config\.yaml}')

if ! [ "$USER_WORKLOADS" = "enableUserWorkload: true" ]; then
Copy link
Member

Choose a reason for hiding this comment

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

This is ok for an empty cluster, but ROSA for example has a lot more data there

Copy link
Member

Choose a reason for hiding this comment

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

this does not look like json (same as other 2 files)

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.

3 participants