netflux-kubernetes/deploy/prod/kustomization.yaml

43 lines
1.1 KiB
YAML
Raw Normal View History

2022-05-02 15:26:33 +00:00
namePrefix: prod-
resources:
- ../base
2022-05-05 15:44:44 +00:00
- svc-db.yaml
- svc-netflux.yaml
2022-05-05 15:42:23 +00:00
helmCharts:
- name: prometheus
version: "15.8.5"
repo: https://prometheus-community.github.io/helm-charts
includeCRDs: true
releaseName: prometheus
valuesInline:
server:
extraSecretMounts:
- name: prometheus-credentials
mountPath: /etc/secrets
secretName: prometheus-credentials
readOnly: true
extraScrapeConfigs: |-
- job_name: "node"
scheme: https
basic_auth:
username: metrics
password_file: /etc/secrets/exporter-password
tls_config:
insecure_skip_verify: true
static_configs:
- targets: ["prod-db:9100", "prod-netflux:9100"]
secretGenerator:
- name: prometheus-credentials
files:
- secrets/exporter-password
2022-05-05 20:52:39 +00:00
patches:
# Patch the ingress-nginx deployment to allow it to use a service with a
# namePrefix. See https://github.com/kubernetes/ingress-nginx/issues/2599#issuecomment-601170289.
- target:
kind: Deployment
name: ingress-nginx-controller
path: deploy-ingress-nginx.yaml