Skip to content

Commit

Permalink
Add mapping to new canonical Ingress API group (argoproj#1348)
Browse files Browse the repository at this point in the history
Since Kubernetes 1.14, Ingress resources are only available via networking.k8s.io/v1beta1.
  • Loading branch information
twz123 authored and alexmt committed Apr 3, 2019
1 parent 7cf3f6c commit 81e21a5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/e2e/testdata/deprecated-extensions/ingress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: extensions-ingress
spec:
rules:
- host: extensions-ingress
http:
paths:
- backend:
serviceName: extensions-service
servicePort: 8080
path: /
1 change: 1 addition & 0 deletions util/kube/kube.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ var (
DaemonSetKind: "apps",
ReplicaSetKind: "apps",
DeploymentKind: "apps",
IngressKind: "networking.k8s.io",
NetworkPolicyKind: "networking.k8s.io",
PodSecurityPolicyKind: "policy",
}
Expand Down

0 comments on commit 81e21a5

Please sign in to comment.