19 lines
597 B
YAML
19 lines
597 B
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
||
kind: Kustomization
|
||
|
||
resources:
|
||
# Include your own local manifests
|
||
- namespace.yaml
|
||
- ingress-prometheus.yaml
|
||
- ingress-alertmanager.yaml
|
||
# Reference the external repository’s manifests as a remote base:
|
||
- https://github.com/prometheus-operator/kube-prometheus.git//manifests?ref=main
|
||
|
||
patchesStrategicMerge:
|
||
# Any overlay patches to customize the external manifests, e.g., setting Longhorn as storage
|
||
- patch-prometheus.yaml
|
||
- patch-alertmanager.yaml
|
||
|
||
# Optionally set the namespace for the external resources
|
||
namespace: monitoring
|