Skip to content

Commit

Permalink
Migrate Ingress to use networking.k8s.io/v1 API (allenai#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
mewil authored Dec 6, 2022
1 parent 87731d5 commit 1225660
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .skiff/webapp.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ function(
};

local ingress = {
apiVersion: 'extensions/v1beta1',
apiVersion: 'networking.k8s.io/v1',
kind: 'Ingress',
metadata: {
name: fullyQualifiedName,
Expand Down Expand Up @@ -138,9 +138,15 @@ function(
http: {
paths: [
{
pathType: 'Prefix',
path: '/',
backend: {
serviceName: fullyQualifiedName,
servicePort: proxyPort
service: {
name: fullyQualifiedName,
port: {
number: proxyPort
}
}
}
}
]
Expand Down

0 comments on commit 1225660

Please sign in to comment.