Skip to content

Commit

Permalink
Merge pull request #309 from stuggi/align_finalizer
Browse files Browse the repository at this point in the history
update finalzier to CRD doc
  • Loading branch information
openshift-merge-bot[bot] authored Jun 19, 2024
2 parents 5f2e001 + c2b1320 commit 867a324
Show file tree
Hide file tree
Showing 14 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion api/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
github.com/go-logr/logr v1.4.2
github.com/google/uuid v1.6.0
github.com/onsi/gomega v1.33.1
github.com/openstack-k8s-operators/lib-common/modules/common v0.3.1-0.20240615134235-24529fcff658
github.com/openstack-k8s-operators/lib-common/modules/common v0.3.1-0.20240618142732-ec81334ac10d
k8s.io/api v0.28.11
k8s.io/apimachinery v0.28.11
sigs.k8s.io/controller-runtime v0.16.6
Expand Down
4 changes: 2 additions & 2 deletions api/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ github.com/onsi/gomega v1.33.1 h1:dsYjIxxSR755MDmKVsaFQTE22ChNBcuuTWgkUDSubOk=
github.com/onsi/gomega v1.33.1/go.mod h1:U4R44UsT+9eLIaYRB2a5qajjtQYn0hauxvRm16AVYg0=
github.com/openshift/api v0.0.0-20230414143018-3367bc7e6ac7 h1:rncLxJBpFGqBztyxCMwNRnMjhhIDOWHJowi6q8G6koI=
github.com/openshift/api v0.0.0-20230414143018-3367bc7e6ac7/go.mod h1:ctXNyWanKEjGj8sss1KjjHQ3ENKFm33FFnS5BKaIPh4=
github.com/openstack-k8s-operators/lib-common/modules/common v0.3.1-0.20240615134235-24529fcff658 h1:h10bPourbXsIN7p5M//SUly/UzWfEp+d5tloBnyDDMI=
github.com/openstack-k8s-operators/lib-common/modules/common v0.3.1-0.20240615134235-24529fcff658/go.mod h1:k9KuWN2LBtLbKHgcyh/0lrwk3Kr0cOAhiR3hi/mrwOQ=
github.com/openstack-k8s-operators/lib-common/modules/common v0.3.1-0.20240618142732-ec81334ac10d h1:t1Lvt1WGp/WbkdU5R7nsc0NtMAvfd0K1nlNYLprHhbQ=
github.com/openstack-k8s-operators/lib-common/modules/common v0.3.1-0.20240618142732-ec81334ac10d/go.mod h1:k9KuWN2LBtLbKHgcyh/0lrwk3Kr0cOAhiR3hi/mrwOQ=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
github.com/onsi/ginkgo/v2 v2.19.0
github.com/onsi/gomega v1.33.1
github.com/openstack-k8s-operators/infra-operator/apis v0.3.1-0.20240604144138-996e41d1af19
github.com/openstack-k8s-operators/lib-common/modules/common v0.3.1-0.20240615134235-24529fcff658
github.com/openstack-k8s-operators/lib-common/modules/common v0.3.1-0.20240618142732-ec81334ac10d
github.com/openstack-k8s-operators/lib-common/modules/test v0.3.1-0.20240615134235-24529fcff658
github.com/openstack-k8s-operators/ovn-operator/api v0.0.0-20230418071801-b5843d9e05fb
go.uber.org/zap v1.27.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ github.com/openshift/api v0.0.0-20230414143018-3367bc7e6ac7 h1:rncLxJBpFGqBztyxC
github.com/openshift/api v0.0.0-20230414143018-3367bc7e6ac7/go.mod h1:ctXNyWanKEjGj8sss1KjjHQ3ENKFm33FFnS5BKaIPh4=
github.com/openstack-k8s-operators/infra-operator/apis v0.3.1-0.20240604144138-996e41d1af19 h1:TUzcFb4Kweh3gMv1noPvWBIbqnPu2FlrWY6QgGZOdp4=
github.com/openstack-k8s-operators/infra-operator/apis v0.3.1-0.20240604144138-996e41d1af19/go.mod h1:7y2IQWFqkyCZb2CVfYzI0N9YRPUgEeGAgjxvOFvhRpo=
github.com/openstack-k8s-operators/lib-common/modules/common v0.3.1-0.20240615134235-24529fcff658 h1:h10bPourbXsIN7p5M//SUly/UzWfEp+d5tloBnyDDMI=
github.com/openstack-k8s-operators/lib-common/modules/common v0.3.1-0.20240615134235-24529fcff658/go.mod h1:k9KuWN2LBtLbKHgcyh/0lrwk3Kr0cOAhiR3hi/mrwOQ=
github.com/openstack-k8s-operators/lib-common/modules/common v0.3.1-0.20240618142732-ec81334ac10d h1:t1Lvt1WGp/WbkdU5R7nsc0NtMAvfd0K1nlNYLprHhbQ=
github.com/openstack-k8s-operators/lib-common/modules/common v0.3.1-0.20240618142732-ec81334ac10d/go.mod h1:k9KuWN2LBtLbKHgcyh/0lrwk3Kr0cOAhiR3hi/mrwOQ=
github.com/openstack-k8s-operators/lib-common/modules/test v0.3.1-0.20240615134235-24529fcff658 h1:E3v5us2zv+9bRj+8t9Lk0+QpC6t1KSgVsDuzv+7RiMQ=
github.com/openstack-k8s-operators/lib-common/modules/test v0.3.1-0.20240615134235-24529fcff658/go.mod h1:0h76CxD9g0z2Hk7fGFOZcjnzT1tQQ/yRNv3OXng+S/A=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/ovncontroller_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ var _ = Describe("OVNController controller", func() {
// it to run
Eventually(func() []string {
return GetOVNController(OVNControllerName).Finalizers
}, timeout, interval).Should(ContainElement("OVNController"))
}, timeout, interval).Should(ContainElement("openstack.org/ovncontroller"))
})

It("should create a ConfigMap for net_setup.sh with eth0 as Interface Name", func() {
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/ovndbcluster_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ var _ = Describe("OVNDBCluster controller", func() {
// it to run
Eventually(func() []string {
return GetOVNDBCluster(OVNDBClusterName).Finalizers
}, timeout, interval).Should(ContainElement("OVNDBCluster"))
}, timeout, interval).Should(ContainElement("openstack.org/ovndbcluster"))
})

DescribeTable("should not create the config map",
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/ovnnorthd_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ var _ = Describe("OVNNorthd controller", func() {
// it to run
Eventually(func() []string {
return ovn.GetOVNNorthd(ovnNorthdName).Finalizers
}, timeout, interval).Should(ContainElement("OVNNorthd"))
}, timeout, interval).Should(ContainElement("openstack.org/ovnnorthd"))
})

It("should be in input ready condition", func() {
Expand Down
8 changes: 4 additions & 4 deletions tests/kuttl/common/assert_sample_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ apiVersion: ovn.openstack.org/v1beta1
kind: OVNNorthd
metadata:
finalizers:
- OVNNorthd
- openstack.org/ovnnorthd
name: ovnnorthd-sample
spec:
logLevel: info
Expand All @@ -34,7 +34,7 @@ apiVersion: ovn.openstack.org/v1beta1
kind: OVNDBCluster
metadata:
finalizers:
- OVNDBCluster
- openstack.org/ovndbcluster
name: ovndbcluster-nb-sample
spec:
dbType: NB
Expand All @@ -48,7 +48,7 @@ apiVersion: ovn.openstack.org/v1beta1
kind: OVNDBCluster
metadata:
finalizers:
- OVNDBCluster
- openstack.org/ovndbcluster
name: ovndbcluster-sb-sample
spec:
dbType: SB
Expand All @@ -62,7 +62,7 @@ apiVersion: ovn.openstack.org/v1beta1
kind: OVNController
metadata:
finalizers:
- OVNController
- openstack.org/ovncontroller
name: ovncontroller-sample
spec:
external-ids:
Expand Down
8 changes: 4 additions & 4 deletions tests/kuttl/common/errors_cleanup_ovn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,28 @@ apiVersion: ovn.openstack.org/v1beta1
kind: OVNNorthd
metadata:
finalizers:
- OVNNorthd
- openstack.org/ovnnorthd
name: ovnnorthd-sample
---
apiVersion: ovn.openstack.org/v1beta1
kind: OVNDBCluster
metadata:
finalizers:
- OVNDBCluster
- openstack.org/ovndbcluster
name: ovndbcluster-nb-sample
---
apiVersion: ovn.openstack.org/v1beta1
kind: OVNDBCluster
metadata:
finalizers:
- OVNDBCluster
- openstack.org/ovndbcluster
name: ovndbcluster-sb-sample
---
apiVersion: ovn.openstack.org/v1beta1
kind: OVNController
metadata:
finalizers:
- OVNController
- openstack.org/ovncontroller
name: ovncontroller-sample
---
apiVersion: apps/v1
Expand Down
4 changes: 2 additions & 2 deletions tests/kuttl/tests/ovn_db_delete/02-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ apiVersion: ovn.openstack.org/v1beta1
kind: OVNDBCluster
metadata:
finalizers:
- OVNDBCluster
- openstack.org/ovndbcluster
name: ovndbcluster-nb-sample
spec:
replicas: 3
Expand All @@ -29,7 +29,7 @@ apiVersion: ovn.openstack.org/v1beta1
kind: OVNDBCluster
metadata:
finalizers:
- OVNDBCluster
- openstack.org/ovndbcluster
name: ovndbcluster-sb-sample
spec:
replicas: 3
Expand Down
4 changes: 2 additions & 2 deletions tests/kuttl/tests/ovn_db_delete/08-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ apiVersion: ovn.openstack.org/v1beta1
kind: OVNDBCluster
metadata:
finalizers:
- OVNDBCluster
- openstack.org/ovndbcluster
name: ovndbcluster-nb-sample
spec:
replicas: 1
Expand All @@ -30,7 +30,7 @@ apiVersion: ovn.openstack.org/v1beta1
kind: OVNDBCluster
metadata:
finalizers:
- OVNDBCluster
- openstack.org/ovndbcluster
name: ovndbcluster-sb-sample
spec:
replicas: 1
Expand Down
2 changes: 1 addition & 1 deletion tests/kuttl/tests/ovn_scale/02-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ apiVersion: ovn.openstack.org/v1beta1
kind: OVNNorthd
metadata:
finalizers:
- OVNNorthd
- openstack.org/ovnnorthd
name: ovnnorthd-sample
spec:
replicas: 3
Expand Down
2 changes: 1 addition & 1 deletion tests/kuttl/tests/ovn_scale/03-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ apiVersion: ovn.openstack.org/v1beta1
kind: OVNNorthd
metadata:
finalizers:
- OVNNorthd
- openstack.org/ovnnorthd
name: ovnnorthd-sample
spec:
replicas: 1
Expand Down
2 changes: 1 addition & 1 deletion tests/kuttl/tests/ovn_scale/04-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ apiVersion: ovn.openstack.org/v1beta1
kind: OVNNorthd
metadata:
finalizers:
- OVNNorthd
- openstack.org/ovnnorthd
name: ovnnorthd-sample
spec:
replicas: 0
Expand Down

0 comments on commit 867a324

Please sign in to comment.