Fix ingress rules for api networking.k8s.io/v1
This commit is contained in:
@@ -54,10 +54,14 @@ local kp =
|
|||||||
host: 'alertmanager.example.com',
|
host: 'alertmanager.example.com',
|
||||||
http: {
|
http: {
|
||||||
paths: [{
|
paths: [{
|
||||||
|
path: '/',
|
||||||
|
pathType: 'Prefix',
|
||||||
backend: {
|
backend: {
|
||||||
service: {
|
service: {
|
||||||
name: 'alertmanager-main',
|
name: 'alertmanager-main',
|
||||||
port: 'web',
|
port: {
|
||||||
|
name: 'web'
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}],
|
}],
|
||||||
@@ -71,10 +75,14 @@ local kp =
|
|||||||
host: 'grafana.example.com',
|
host: 'grafana.example.com',
|
||||||
http: {
|
http: {
|
||||||
paths: [{
|
paths: [{
|
||||||
|
path: '/',
|
||||||
|
pathType: 'Prefix',
|
||||||
backend: {
|
backend: {
|
||||||
service: {
|
service: {
|
||||||
name: 'grafana',
|
name: 'grafana',
|
||||||
port: 'http',
|
port: {
|
||||||
|
name: 'http'
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}],
|
}],
|
||||||
@@ -88,10 +96,14 @@ local kp =
|
|||||||
host: 'prometheus.example.com',
|
host: 'prometheus.example.com',
|
||||||
http: {
|
http: {
|
||||||
paths: [{
|
paths: [{
|
||||||
|
path: '/',
|
||||||
|
pathType: 'Prefix',
|
||||||
backend: {
|
backend: {
|
||||||
service: {
|
service: {
|
||||||
name: 'prometheus-k8s',
|
name: 'prometheus-k8s',
|
||||||
port: 'web',
|
port: {
|
||||||
|
name: 'web'
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}],
|
}],
|
||||||
|
|||||||
Reference in New Issue
Block a user