diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 96d771f..586a299 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,8 +7,6 @@ repos: rev: v4.4.0 hooks: - id: trailing-whitespace - - id: check-json - files: resources/index.json - id: end-of-file-fixer - repo: https://github.com/pre-commit/mirrors-prettier rev: v3.1.0 diff --git a/resources/index.json b/resources/index.json deleted file mode 100644 index e36dc3a..0000000 --- a/resources/index.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "id": "managed-rhacs", - "config": { - "prometheus": { - "pod_monitors": [ - "prometheus/pod_monitors/prometheus-self-metrics.yaml", - "prometheus/pod_monitors/rhacs-cloudwatch-exporter.yaml", - "prometheus/pod_monitors/rhacs-fleetshard-sync-metrics.yaml", - "prometheus/pod_monitors/rhacs-tenant-metrics.yaml", - "prometheus/pod_monitors/rhacs-emailsender-metrics.yaml" - ], - "rules": [ - "prometheus/billing-rules.yaml", - "prometheus/generated/kubernetes-mixin-alerts.yaml", - "prometheus/prometheus-rules.yaml", - "prometheus/rhacs-recording-rules.yaml" - ], - "federation": "prometheus/federation-config.yaml", - "observatorium": "rhacs-observatorium", - "remoteWrite": "prometheus/remote-write.yaml", - "overridePrometheusPvcSize": "250Gi" - }, - "alertmanager": { - "deadmansSnitchSecretName": "rhacs-dead-mans-switch", - "pagerDutySecretName": "rhacs-pagerduty" - }, - "grafana": { - "dashboards": [ - "grafana/mixins/kubernetes/apiserver.yaml", - "grafana/mixins/kubernetes/cluster-total.yaml", - "grafana/mixins/kubernetes/controller-manager.yaml", - "grafana/mixins/kubernetes/k8s-resources-cluster.yaml", - "grafana/mixins/kubernetes/k8s-resources-namespace.yaml", - "grafana/mixins/kubernetes/k8s-resources-node.yaml", - "grafana/mixins/kubernetes/k8s-resources-pod.yaml", - "grafana/mixins/kubernetes/k8s-resources-workload.yaml", - "grafana/mixins/kubernetes/k8s-resources-workloads-namespace.yaml", - "grafana/mixins/kubernetes/kubelet.yaml", - "grafana/mixins/kubernetes/namespace-by-pod.yaml", - "grafana/mixins/kubernetes/namespace-by-workload.yaml", - "grafana/mixins/kubernetes/persistentvolumesusage.yaml", - "grafana/mixins/kubernetes/pod-total.yaml", - "grafana/mixins/kubernetes/proxy.yaml", - "grafana/mixins/kubernetes/scheduler.yaml", - "grafana/mixins/kubernetes/workload-total.yaml", - "grafana/generated/dashboards/rhacs-autoscaler.yaml", - "grafana/generated/dashboards/rhacs-central.yaml", - "grafana/generated/dashboards/rhacs-central-release.yaml", - "grafana/generated/dashboards/rhacs-central-slo.yaml", - "grafana/generated/dashboards/rhacs-cluster-overview.yaml", - "grafana/generated/dashboards/rhacs-cluster-resource-adjustment.yaml", - "grafana/generated/dashboards/rhacs-emailsender.yaml" - ], - "grafanaVersion": "11.1.0" - }, - "promtail": { - "enabled": false, - "observatorium": "rhacs-observatorium", - "namespaceLabelSelector": { - "observability-operator/scrape-logging": "true" - } - }, - "observatoria": [ - { - "id": "rhacs-observatorium", - "secretName": "rhacs-observatorium" - } - ] - } -}