Skip to content
Snippets Groups Projects
Unverified Commit 8396c697 authored by Arthur Silva Sens's avatar Arthur Silva Sens Committed by GitHub
Browse files

Merge pull request #1212 from sanglt/main

Fix ingress path rules for networking.k8s.io/v1
parents 071b3947 4e43a1e1
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.
Please register or to comment