apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ../../../base/prometheus namespace: monitoring patches: - target: kind: ConfigMap name: prometheus-server namespace: monitoring path: patch-cm-prometheus-server.yaml - target: kind: Deployment name: prometheus-server namespace: monitoring path: patch-deploy.yaml - target: kind: Ingress name: prometheus-ingress namespace: monitoring path: patch-ingress_prometheus.yaml - target: kind: Ingress name: prometheus-alertmanager-ingress namespace: monitoring path: patch-ingress_alertmanager.yaml # - target: # kind: Secret # name: basic-auth # namespace: monitoring # path: patch-basic-auth.yaml