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

42 lines
923 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
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
# - name: additional-scrape-configs
# behavior: create
# literals:
# - prometheus-additional.yaml=
2022-05-26 05:02:48 +00:00
configMapGenerator:
- name: kustomize-generated-config
literals:
2024-08-08 02:02:10 +00:00
- PROMETHEUS_EXTERNAL_HOST=prometheus.badjware.dev
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