Use the appsv1 apigroup when building the reflector for replicasets.

This commit is contained in:
Tariq Ibrahim 2019-07-10 11:06:05 -07:00
parent 48a9424dcc
commit b42b29a605
No known key found for this signature in database
GPG Key ID: DFC94E4A008B908A
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
## v1.7.0-rc.1 / 2019-07-10
* [BUGFIX] Use the appsv1 apigroup when building the reflector for replicasets. #816
## v1.7.0-rc.0 / 2019-07-10
* [CHANGE] Use appsv1 apigroup for ReplicaSet. #804

View File

@ -1 +1 @@
1.7.0-rc.0
1.7.0-rc.1

View File

@ -225,7 +225,7 @@ func (b *Builder) buildPodDisruptionBudgetStore() *metricsstore.MetricsStore {
}
func (b *Builder) buildReplicaSetStore() *metricsstore.MetricsStore {
return b.buildStore(replicaSetMetricFamilies, &extensions.ReplicaSet{}, createReplicaSetListWatch)
return b.buildStore(replicaSetMetricFamilies, &appsv1.ReplicaSet{}, createReplicaSetListWatch)
}
func (b *Builder) buildReplicationControllerStore() *metricsstore.MetricsStore {