-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow use of custom namespace names for component
- Loading branch information
Aline Abler
committed
Mar 6, 2023
1 parent
f380e8d
commit b8702d5
Showing
9 changed files
with
158 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
107 changes: 107 additions & 0 deletions
107
...penshift-operators-custom/openshift-operators-custom/openshift4-operators/monitoring.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
annotations: {} | ||
labels: | ||
monitoring.syn.tools/infra: 'true' | ||
name: syn-monitoring-openshift4-operators | ||
name: syn-monitoring-openshift4-operators | ||
--- | ||
apiVersion: monitoring.coreos.com/v1 | ||
kind: ServiceMonitor | ||
metadata: | ||
annotations: {} | ||
labels: | ||
name: openshift-marketplace-operator | ||
name: openshift-marketplace-operator | ||
namespace: syn-monitoring-openshift4-operators | ||
spec: | ||
endpoints: | ||
- bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token | ||
interval: 30s | ||
metricRelabelings: | ||
- action: drop | ||
regex: etcd_(debugging|disk|request|server).* | ||
sourceLabels: | ||
- __name__ | ||
- action: drop | ||
regex: (go_.*|process_.*|promhttp_.*) | ||
sourceLabels: | ||
- __name__ | ||
port: https-metrics | ||
scheme: https | ||
tlsConfig: | ||
caFile: /var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt | ||
serverName: marketplace-operator-metrics.openshift-marketplace.svc | ||
namespaceSelector: | ||
matchNames: | ||
- openshift-marketplace | ||
selector: | ||
matchLabels: | ||
name: marketplace-operator | ||
--- | ||
apiVersion: monitoring.coreos.com/v1 | ||
kind: ServiceMonitor | ||
metadata: | ||
annotations: {} | ||
labels: | ||
name: openshift-catalog-operator | ||
name: openshift-catalog-operator | ||
namespace: syn-monitoring-openshift4-operators | ||
spec: | ||
endpoints: | ||
- bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token | ||
interval: 30s | ||
metricRelabelings: | ||
- action: drop | ||
regex: etcd_(debugging|disk|request|server).* | ||
sourceLabels: | ||
- __name__ | ||
- action: drop | ||
regex: (go_.*|process_.*|promhttp_.*) | ||
sourceLabels: | ||
- __name__ | ||
port: https-metrics | ||
scheme: https | ||
tlsConfig: | ||
caFile: /var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt | ||
serverName: catalog-operator-metrics.openshift-operator-lifecycle-manager.svc | ||
namespaceSelector: | ||
matchNames: | ||
- openshift-operator-lifecycle-manager | ||
selector: | ||
matchLabels: | ||
app: catalog-operator | ||
--- | ||
apiVersion: monitoring.coreos.com/v1 | ||
kind: ServiceMonitor | ||
metadata: | ||
annotations: {} | ||
labels: | ||
name: openshift-olm-operator | ||
name: openshift-olm-operator | ||
namespace: syn-monitoring-openshift4-operators | ||
spec: | ||
endpoints: | ||
- bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token | ||
interval: 30s | ||
metricRelabelings: | ||
- action: drop | ||
regex: etcd_(debugging|disk|request|server).* | ||
sourceLabels: | ||
- __name__ | ||
- action: drop | ||
regex: (go_.*|process_.*|promhttp_.*) | ||
sourceLabels: | ||
- __name__ | ||
port: https-metrics | ||
scheme: https | ||
tlsConfig: | ||
caFile: /var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt | ||
serverName: olm-operator-metrics.openshift-operator-lifecycle-manager.svc | ||
namespaceSelector: | ||
matchNames: | ||
- openshift-operator-lifecycle-manager | ||
selector: | ||
matchLabels: | ||
app: olm-operator |
19 changes: 19 additions & 0 deletions
19
...rs-custom/openshift-operators-custom/openshift4-operators/openshift-operators-custom.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
annotations: | ||
openshift.io/node-selector: node-role.kubernetes.io/infra= | ||
labels: | ||
name: openshift-operators-custom | ||
openshift.io/cluster-monitoring: 'false' | ||
openshift.io/user-monitoring: 'false' | ||
name: openshift-operators-custom | ||
--- | ||
apiVersion: operators.coreos.com/v1 | ||
kind: OperatorGroup | ||
metadata: | ||
annotations: {} | ||
labels: | ||
name: openshift-operators-custom | ||
name: openshift-operators-custom | ||
namespace: openshift-operators-custom |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
applications: | ||
- prometheus | ||
|
||
parameters: | ||
kapitan: | ||
dependencies: | ||
- type: https | ||
source: https://raw.githubusercontent.com/projectsyn/component-prometheus/master/lib/prometheus.libsonnet | ||
output_path: vendor/lib/prometheus.libsonnet | ||
|
||
prometheus: | ||
defaultInstance: infra | ||
|
||
openshift_operators_custom: | ||
useCustomNamespace: true |