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

fix: Move ingress from extensions/v1beta1 to networking.k8s.io/v1 #1521

Merged
merged 1 commit into from
Aug 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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