replace deprecated "app" label selector by "app.kubernetes.io/name" in

documents and examples
This commit is contained in:
Haoyu Sun
2021-10-07 15:11:21 +02:00
parent 5520900852
commit e7d2135cea
5 changed files with 8 additions and 8 deletions

View File

@@ -24,7 +24,7 @@ local kp = (import 'kube-prometheus/main.libsonnet') + {
],
selector: {
matchLabels: {
app: 'myapp',
'app.kubernetes.io/name': 'myapp',
},
},
},