Open lkeijser opened 9 months ago
I am also seeing this same issue, having other problems (#4358) it seems with setting up a simple http proxy config for alertmanager
spec:
receivers:
- name: 'null'
- name: ms-teams
msteams_configs:
- webhook_url: REDACT
title: '[Kopje Dev] {{ template "msteams.default.title" . }}'
http_config:
proxy_url: REDACT
no_proxy: ".internal,.svc.cluster.local,10.100.200.1"
tls_config:
insecure_skip_verify: true
What did you do? Added this piece of config to values.yaml:
What did you expect to see? The configuration should be applied to alertmanager.yml inside the pod
What did you see instead? Under which circumstances? The configuration does not get applied. The operator logs this error message instead:
level=error ts=2024-02-05T08:50:16.702986872Z caller=klog.go:126 component=k8s_client_runtime func=ErrorDepth msg="sync \"monitoring/prometheus-stack-rotterdam-alertmanager\" failed: provision alertmanager configuration: failed to initialize from secret: yaml: unmarshal errors:\n line 3: field no_proxy not found in type alertmanager.httpClientConfig"
Environment Using kube-prometheus-stack 56.3.0 on kubernetes 1.26.5
System information:
alertmanager: Linux 5.4.0-91-generic x86_64
Alertmanager version:
Prometheus version:
Alertmanager configuration file: see above
Prometheus configuration file: N/A
Logs: see above