Skip to content
Snippets Groups Projects
Unverified Commit db6a5131 authored by Sang Le's avatar Sang Le
Browse files

Fix ingress rules for api networking.k8s.io/v1

parent 836fa4f0
No related branches found
No related tags found
No related merge requests found
...@@ -54,10 +54,14 @@ local kp = ...@@ -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 = ...@@ -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 = ...@@ -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'
},
}, },
}, },
}], }],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment