Skip to content
Open
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
9 changes: 9 additions & 0 deletions bundle/manifests/monitoring.rhobs_monitoringstacks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,15 @@ spec:
replicas: 2
description: Define prometheus config
properties:
enableAdminAPI:
description: |-
Enable Prometheus Admin API.
Defaults to the value of `false`.
WARNING: Enabling the admin APIs enables mutating endpoints, to delete data,
shutdown Prometheus, and more. Enabling this should be done with care and the
user is advised to add additional authentication authorization via a proxy to
ensure only clients authorized to perform these actions can do so.
type: boolean
enableOtlpHttpReceiver:
description: |-
Enable Prometheus to accept OpenTelemetry Metrics via the otlp/http protocol.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ metadata:
categories: Monitoring
certified: "false"
containerImage: observability-operator:1.2.0
createdAt: "2025-10-16T07:15:08Z"
createdAt: "2025-10-27T09:42:32Z"
description: A Go based Kubernetes operator to setup and manage highly available
Monitoring Stack using Prometheus, Alertmanager and Thanos Querier.
operatorframework.io/cluster-monitoring: "true"
Expand Down
9 changes: 9 additions & 0 deletions deploy/crds/common/monitoring.rhobs_monitoringstacks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,15 @@ spec:
replicas: 2
description: Define prometheus config
properties:
enableAdminAPI:
description: |-
Enable Prometheus Admin API.
Defaults to the value of `false`.
WARNING: Enabling the admin APIs enables mutating endpoints, to delete data,
shutdown Prometheus, and more. Enabling this should be done with care and the
user is advised to add additional authentication authorization via a proxy to
ensure only clients authorized to perform these actions can do so.
type: boolean
enableOtlpHttpReceiver:
description: |-
Enable Prometheus to accept OpenTelemetry Metrics via the otlp/http protocol.
Expand Down
12 changes: 12 additions & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,18 @@ Define prometheus config
</tr>
</thead>
<tbody><tr>
<td><b>enableAdminAPI</b></td>
<td>boolean</td>
<td>
Enable Prometheus Admin API.
Defaults to the value of `false`.
WARNING: Enabling the admin APIs enables mutating endpoints, to delete data,
shutdown Prometheus, and more. Enabling this should be done with care and the
user is advised to add additional authentication authorization via a proxy to
ensure only clients authorized to perform these actions can do so.<br/>
</td>
<td>false</td>
</tr><tr>
<td><b>enableOtlpHttpReceiver</b></td>
<td>boolean</td>
<td>
Expand Down
8 changes: 8 additions & 0 deletions pkg/apis/monitoring/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,14 @@ type PrometheusConfig struct {
// Configure TLS options for the Prometheus web server.
// +optional
WebTLSConfig *WebTLSConfig `json:"webTLSConfig,omitempty"`
// Enable Prometheus Admin API.
// Defaults to the value of `false`.
// WARNING: Enabling the admin APIs enables mutating endpoints, to delete data,
// shutdown Prometheus, and more. Enabling this should be done with care and the
// user is advised to add additional authentication authorization via a proxy to
// ensure only clients authorized to perform these actions can do so.
// +optional
EnableAdminAPI bool `json:"enableAdminAPI,omitempty"`
}

type AlertmanagerConfig struct {
Expand Down