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

Remove support for component-prometheus based monitoring #25

Merged
merged 1 commit into from
Mar 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions class/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ parameters:
defaultSourceNamespace: openshift-marketplace
useCustomNamespace: false

monitoring:
enabled: true
instance: null

openshift_operators:
defaultSource: certified-operators

Expand Down
2 changes: 1 addition & 1 deletion component/main.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ local namespace = operatorlib.validateInstance(params.namespace);
},
},
],
} + (import 'monitoring.libsonnet')
}
118 changes: 0 additions & 118 deletions component/monitoring.libsonnet

This file was deleted.

28 changes: 0 additions & 28 deletions docs/modules/ROOT/pages/references/parameters.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -71,31 +71,3 @@ default:: `false`

Whether to allow non-standard namespace names for the OperatorGroup.
If this parameter is set to `true`, the component will allow using namespace names other than `openshift-operators` and `openshift-operators-redhat`.

== `monitoring`

This parameter allows users to enable the component's monitoring configuration.
Currently the component has support for deploying custom `ServiceMonitors` on clusters which use component `prometheus` to manage a custom monitoring stack.

[WARNING]
The monitoring configuration is instance independent. It must not be changed between instances of this component.

=== `enabled`

[horizontal]
type:: boolean
default:: `true`

Whether to deploy monitoring configurations.
If this parameter is set to `true`, the component will check whether component `prometheus` is present on the cluster.
If the component is missing, no configurations will be deployed regardless of the value of this parameter.

=== `instance`

[horizontal]
type:: string
default:: `null`

This parameter can be used to indicate which custom Prometheus instance should pick up the configurations managed by the component.

If the parameter is set to the empty string, the default instance configured for component `prometheus` will be used.
14 changes: 0 additions & 14 deletions jsonnetfile.json

This file was deleted.

This file was deleted.

This file was deleted.

Loading