jsonnet: move files around
Signed-off-by: paulfantom <pawel@krupa.net.pl>
This commit is contained in:
18
jsonnet/kube-prometheus/addons/node-ports.libsonnet
Normal file
18
jsonnet/kube-prometheus/addons/node-ports.libsonnet
Normal file
@@ -0,0 +1,18 @@
|
||||
local patch(ports) = {
|
||||
spec+: {
|
||||
ports: ports,
|
||||
type: 'NodePort',
|
||||
},
|
||||
};
|
||||
|
||||
{
|
||||
prometheus+: {
|
||||
service+: patch([{ name: 'web', port: 9090, targetPort: 'web', nodePort: 30900 }]),
|
||||
},
|
||||
alertmanager+: {
|
||||
service+: patch([{ name: 'web', port: 9093, targetPort: 'web', nodePort: 30903 }]),
|
||||
},
|
||||
grafana+: {
|
||||
service+: patch([{ name: 'http', port: 3000, targetPort: 'http', nodePort: 30902 }]),
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user