kubernetes/test/e2e/storage
Kubernetes Submit Queue c21173d0ea
Merge pull request #55792 from dhilipkumars/statefulset-appsv1
Automatic merge from submit-queue (batch tested with PRs 55792, 58342). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Promote Statefulset controller and its e2e tests to use apps/v1

**What this PR does / why we need it**: 
Promotes the statefulset controller to use to use the latest apps group [apps/v1](https://github.com/kubernetes/kubernetes/pull/53679)


**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes # https://github.com/kubernetes/kubernetes/issues/55714

**Special notes for your reviewer**:

* Listerexpansion for v1 `k8s.io/client-go/listers/apps/v1`  (was recently done for v1beta2)

* `v1beta2` && `v1` had `ObservedGeneration` as `int64` where as `v1beta1` and rest of the code (including conversion) is expecting `ObservedGeneration` to be  `*int64`

```
type StatefulSetStatus struct {
	// observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the
	// StatefulSet's generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,1,opt,name=observedGeneration"`
```

* for kubectl's `rollback` and `history` commands a couple functions have been duplicated to allow us to use `v1` version instead of `v1beta1` for statefulsets, while the older functions are still used by other controllers.  

We should be able to remove these duplicates once all the controllers are moved. 

If this aligns with the plan then i could move other controllers too. 

cc: @kow3ns 

**Release note**:

```release-note
NONE
```
2018-01-26 06:54:33 -08:00
..
utils e2e test layout changes for vsphere (#398) 2017-12-18 10:19:18 -08:00
vsphere Created bootstrap logic for vSphere test 2018-01-24 11:14:14 -08:00
BUILD Merge pull request #55792 from dhilipkumars/statefulset-appsv1 2018-01-26 06:54:33 -08:00
csi_hostpath.go e2e: CSI Volume tests 2017-12-18 22:04:52 -05:00
csi_volumes.go e2e: CSI Volume tests 2017-12-18 22:04:52 -05:00
empty_dir_wrapper.go e2e test layout changes for vsphere (#398) 2017-12-18 10:19:18 -08:00
flexvolume.go e2e test layout changes for vsphere (#398) 2017-12-18 10:19:18 -08:00
OWNERS Update volume OWNERS to reflect active sig-storage reviewers 2017-10-26 13:26:33 -07:00
pd.go Update Instances to use generated code 2018-01-22 16:59:51 -08:00
persistent_volumes-disruptive.go e2e test layout changes for vsphere (#398) 2017-12-18 10:19:18 -08:00
persistent_volumes-gce.go e2e test layout changes for vsphere (#398) 2017-12-18 10:19:18 -08:00
persistent_volumes-local.go Promote SS to apps/v1 2018-01-18 13:48:52 +05:30
persistent_volumes.go e2e test layout changes for vsphere (#398) 2017-12-18 10:19:18 -08:00
pvc_protection.go e2e test layout changes for vsphere (#398) 2017-12-18 10:19:18 -08:00
volume_expand.go e2e test layout changes for vsphere (#398) 2017-12-18 10:19:18 -08:00
volume_io.go e2e test layout changes for vsphere (#398) 2017-12-18 10:19:18 -08:00
volume_metrics.go e2e test layout changes for vsphere (#398) 2017-12-18 10:19:18 -08:00
volume_provisioning.go Merge pull request #56509 from lpabon/csi-e2e 2018-01-12 20:34:56 -08:00
volumes.go Merge pull request #54230 from jsafrane/ceph-test-sleep 2018-01-10 13:19:33 -08:00