1
0
Fork 0
home-stack-kustomize/kustomize/bases/prometheus/kustomization.yaml

43 lines
943 B
YAML
Raw Normal View History

2021-08-26 16:42:32 +00:00
resources:
- prometheus.yaml
- prometheus-rbac.yaml
- prometheus-ingress.yaml
2022-05-26 05:02:48 +00:00
- traefik-podmonitor.yaml
namePrefix: prometheus-
2023-02-05 03:11:39 +00:00
commonLabels:
app.kubernetes.io/name: prometheus
app.kubernetes.io/part-of: monitoring
2022-05-26 05:02:48 +00:00
secretGenerator:
- name: grafana-cloud-credentials
type: Opaque
behavior: create
literals:
- username=changeme
- password=changeme
2022-09-23 23:11:09 +00:00
- name: additional-scrape-configs
behavior: create
literals:
- prometheus-additional.yaml=
2022-05-26 05:02:48 +00:00
configMapGenerator:
- name: kustomize-generated-config
literals:
- PROMETHEUS_EXTERNAL_HOST=prometheus.badjnet.home
replacements:
- source:
kind: ConfigMap
name: kustomize-generated-config
fieldPath: data.PROMETHEUS_EXTERNAL_HOST
targets:
- select:
kind: Ingress
name: prometheus
fieldPaths:
- spec.rules.0.host
2022-05-26 05:02:48 +00:00
configurations:
- kustomizeconfig/namereference.yaml