apiVersion: v1
kind: Secret
metadata:
  labels:
    k8s-app: alertmanager-main
  name: alertmanager-kube-rbac-proxy
  namespace: openshift-monitoring
stringData:
  config.yaml: |-
    "authorization":
      "resourceAttributes":
        "apiGroup": "monitoring.coreos.com"
        "namespace": "{{ .Value }}"
        "resource": "prometheusrules"
      "rewrites":
        "byQueryParameter":
          "name": "namespace"
type: Opaque
