diff options
| author | Nathan Dorsey <421420+glycerine102@users.noreply.github.com> | 2024-11-08 15:04:40 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-08 12:04:40 -0800 |
| commit | 3400962877fc05b944f04390583e072eeec2af05 (patch) | |
| tree | 381c2415da86df52ce55e5cec4574b4b5f804e24 | |
| parent | 113c9ce6a83e0554e73aa881a6eb94690a05a0a7 (diff) | |
| download | seaweedfs-3400962877fc05b944f04390583e072eeec2af05.tar.xz seaweedfs-3400962877fc05b944f04390583e072eeec2af05.zip | |
[helm] fix s3 servicemonitor label matching (#6218)
| -rw-r--r-- | k8s/charts/seaweedfs/templates/s3-servicemonitor.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/k8s/charts/seaweedfs/templates/s3-servicemonitor.yaml b/k8s/charts/seaweedfs/templates/s3-servicemonitor.yaml index 03d35cd4a..348255912 100644 --- a/k8s/charts/seaweedfs/templates/s3-servicemonitor.yaml +++ b/k8s/charts/seaweedfs/templates/s3-servicemonitor.yaml @@ -26,8 +26,8 @@ spec: scrapeTimeout: 5s selector: matchLabels: - app: {{ template "seaweedfs.name" . }} - component: s3 + app.kubernetes.io/name: {{ template "seaweedfs.name" . }} + app.kubernetes.io/component: s3 {{- end }} {{- end }} {{- end }} |
