fet: include ingress network policy for thanos

This commit is contained in:
Vladislav Polyakov
2022-04-19 10:27:14 +03:00
parent 62b2347277
commit 17d2831fc5
2 changed files with 50 additions and 2 deletions

View File

@@ -128,7 +128,8 @@ function(params) {
port: 9090,
protocol: 'TCP',
}],
}, {
}] + ( if p._config.thanos != null then
[{
from: [{
podSelector: {
matchLabels: {
@@ -140,7 +141,7 @@ function(params) {
port: 10901,
protocol: 'TCP',
}],
}],
}] else []),
},
},