Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1521 from mesosphere/ingress-v1
Browse files Browse the repository at this point in the history
fix: Move ingress from extensions/v1beta1 to networking.k8s.io/v1
  • Loading branch information
k8s-ci-robot authored Aug 10, 2022
2 parents 8620da0 + 2c0f37b commit 4a723d2
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 32 deletions.
6 changes: 3 additions & 3 deletions charts/kubefed/templates/federatedtypeconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ spec:
apiVersion: core.kubefed.io/v1beta1
kind: FederatedTypeConfig
metadata:
name: ingresses.extensions
name: ingresses.networking.k8s.io
spec:
federatedType:
group: types.kubefed.io
Expand All @@ -68,11 +68,11 @@ spec:
version: v1beta1
propagation: Enabled
targetType:
group: extensions
group: networking.k8s.io
kind: Ingress
pluralName: ingresses
scope: Namespaced
version: v1beta1
version: v1
---
apiVersion: core.kubefed.io/v1beta1
kind: FederatedTypeConfig
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: core.kubefed.io/v1beta1
kind: EnableTypeDirective
metadata:
name: ingresses.extensions
name: ingresses.networking.k8s.io
46 changes: 24 additions & 22 deletions test/common/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions test/common/fixtures/ingresses.extensions.yaml

This file was deleted.

8 changes: 8 additions & 0 deletions test/common/fixtures/ingresses.networking.k8s.io.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
kind: fixture
template:
spec:
defaultBackend:
service:
name: testsvc
port:
number: 80

0 comments on commit 4a723d2

Please sign in to comment.