32 lines
1.1 KiB
YAML
32 lines
1.1 KiB
YAML
apiVersion: helm.cattle.io/v1
|
|
kind: HelmChart
|
|
metadata:
|
|
name: prometheus-blackbox-exporter
|
|
namespace: kube-system
|
|
spec:
|
|
chart: prometheus-blackbox-exporter
|
|
repo: https://prometheus-community.github.io/helm-charts
|
|
targetNamespace: monitoring
|
|
createNamespace: true
|
|
valuesContent: |-
|
|
config:
|
|
modules:
|
|
proton_smtp_auth:
|
|
prober: tcp
|
|
timeout: 10s
|
|
tcp:
|
|
query_response:
|
|
- expect: "^220"
|
|
- send: "EHLO blackbox\r\n"
|
|
- expect: "^250"
|
|
# --- Remove these 3 lines if Bridge Connection Mode is "None" ---
|
|
- send: "STARTTLS\r\n"
|
|
- expect: "^220"
|
|
- starttls: true
|
|
# ----------------------------------------------------------------
|
|
- send: "EHLO blackbox\r\n"
|
|
- expect: "^250"
|
|
# Insert your generated Base64 string below
|
|
- send: "AUTH PLAIN \AG5lc3RAbXluZXN0LmxvdmUAZ0pibVNBamdVaF83ejdUNEg4NGhxdw==r\n"
|
|
- expect: "^235" # 235 = Auth successful. Any 5xx error fails the probe.
|
|
- send: "QUIT\r\n"
|