You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`pkg/apis/group_name/install/install.go` (for example, [pkg/apis/apps/install/install.go](https://github.com/kubernetes/kubernetes/blob/v1.21.2/pkg/apis/apps/install/install.go)).
`pkg/registry/group_name/rest` (for example, [pkg/registry/authentication/rest](https://github.com/kubernetes/kubernetes/blob/v1.21.2/pkg/registry/authentication/rest/storage_authentication.go)).
675
683
676
684
You need to regenerate the generated code as instructed in the sections above.
677
685
686
+
### Testing
687
+
688
+
Some updates to tests are required.
689
+
690
+
* You must add the new storage version hash published in API discovery data to
* Run `go test ./pkg/controlplane -run StorageVersion` to verify.
693
+
* You must add the new version stub to the persisted versions stored in etcd in [test/integration/etcd/data.go](https://github.com/kubernetes/kubernetes/blob/v1.21.2/test/integration/etcd/data.go#L40).
694
+
* Run `go test ./test/integration/etcd` to verify
695
+
* Sanity test the changes by bringing up a cluster (i.e.,
696
+
local-up-cluster.sh, kind, etc) and running `kubectl get
0 commit comments