Compare commits
2 Commits
d1fa3747c2
...
f40ebdcb96
Author | SHA1 | Date |
---|---|---|
Massaki Archambault | f40ebdcb96 | |
Massaki Archambault | a6c547b352 |
|
@ -11,6 +11,10 @@ secretGenerator:
|
||||||
literals:
|
literals:
|
||||||
- username=changeme
|
- username=changeme
|
||||||
- password=changeme
|
- password=changeme
|
||||||
|
- name: additional-scrape-configs
|
||||||
|
behavior: create
|
||||||
|
literals:
|
||||||
|
- prometheus-additional.yaml=
|
||||||
|
|
||||||
configurations:
|
configurations:
|
||||||
- kustomizeconfig/namereference.yaml
|
- kustomizeconfig/namereference.yaml
|
|
@ -5,3 +5,5 @@ nameReference:
|
||||||
path: spec/remoteWrite/basicAuth/username/name
|
path: spec/remoteWrite/basicAuth/username/name
|
||||||
- kind: Prometheus
|
- kind: Prometheus
|
||||||
path: spec/remoteWrite/basicAuth/password/name
|
path: spec/remoteWrite/basicAuth/password/name
|
||||||
|
- kind: Prometheus
|
||||||
|
path: spec/additionalScrapeConfigs/name
|
||||||
|
|
|
@ -18,6 +18,9 @@ spec:
|
||||||
probeSelector:
|
probeSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
monitor: prometheus
|
monitor: prometheus
|
||||||
|
additionalScrapeConfigs:
|
||||||
|
name: additional-scrape-configs
|
||||||
|
key: prometheus-additional.yaml
|
||||||
# remoteWrite:
|
# remoteWrite:
|
||||||
# - url: changeme
|
# - url: changeme
|
||||||
# basicAuth:
|
# basicAuth:
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
- job_name: additional/bastion-haproxy
|
||||||
|
static_configs:
|
||||||
|
- targets: ["192.168.20.10:8080"]
|
|
@ -1,4 +1,4 @@
|
||||||
bases:
|
resources:
|
||||||
# - ../../namespaces/kubernetes-dashboard
|
# - ../../namespaces/kubernetes-dashboard
|
||||||
- ../../namespaces/gitea
|
- ../../namespaces/gitea
|
||||||
- ../../namespaces/grafana
|
- ../../namespaces/grafana
|
||||||
|
@ -12,19 +12,19 @@ images:
|
||||||
- name: gitea/gitea
|
- name: gitea/gitea
|
||||||
newTag: 1.16.9
|
newTag: 1.16.9
|
||||||
- name: grafana/grafana
|
- name: grafana/grafana
|
||||||
newTag: 9.0.4
|
newTag: 9.2.1
|
||||||
# - name: prom/node-exporter
|
# - name: prom/node-exporter
|
||||||
# newTag: v0.18.1
|
# newTag: v0.18.1
|
||||||
- name: prom/blackbox-exporter
|
- name: prom/blackbox-exporter
|
||||||
newName: badjware/blackbox-exporter-tweak
|
newName: badjware/blackbox-exporter-tweak
|
||||||
newTag: 0.21.1
|
newTag: 0.21.1
|
||||||
- name: drone/drone
|
- name: drone/drone
|
||||||
newTag: 2.7.0
|
newTag: 2.14.0
|
||||||
- name: drone/drone-runner-kube
|
- name: drone/drone-runner-kube
|
||||||
newTag: 1.0.0-rc.2
|
newTag: 1.0.0-rc.3
|
||||||
- name: nextcloud
|
- name: nextcloud
|
||||||
newName: badjware/nextcloud-tweak
|
newName: badjware/nextcloud-tweak
|
||||||
newTag: 24.0.3
|
newTag: 24.0.6
|
||||||
- name: postgres
|
- name: postgres
|
||||||
newTag: 9.6.23
|
newTag: 9.6.23
|
||||||
- name: redis
|
- name: redis
|
||||||
|
@ -78,6 +78,12 @@ secretGenerator:
|
||||||
# literals:
|
# literals:
|
||||||
# - username=${ssm:/k3s/prod/monitoring/grafana-cloud/username}
|
# - username=${ssm:/k3s/prod/monitoring/grafana-cloud/username}
|
||||||
# - password=${ssm:/k3s/prod/monitoring/grafana-cloud/password}
|
# - password=${ssm:/k3s/prod/monitoring/grafana-cloud/password}
|
||||||
|
- name: additional-scrape-configs
|
||||||
|
type: Opaque
|
||||||
|
namespace: monitoring
|
||||||
|
behavior: replace
|
||||||
|
files:
|
||||||
|
- prometheus-additional.yaml=configurations/prometheus/prometheus-additional.yaml
|
||||||
|
|
||||||
# allow "kubectl apply -l managed-by=kustomize --prune ..."
|
# allow "kubectl apply -l managed-by=kustomize --prune ..."
|
||||||
commonLabels:
|
commonLabels:
|
||||||
|
|
Loading…
Reference in New Issue