Use the appsv1 apigroup when building the reflector for replicasets.
This commit is contained in:
parent
48a9424dcc
commit
b42b29a605
|
|
@ -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
|
## v1.7.0-rc.0 / 2019-07-10
|
||||||
|
|
||||||
* [CHANGE] Use appsv1 apigroup for ReplicaSet. #804
|
* [CHANGE] Use appsv1 apigroup for ReplicaSet. #804
|
||||||
|
|
|
||||||
|
|
@ -225,7 +225,7 @@ func (b *Builder) buildPodDisruptionBudgetStore() *metricsstore.MetricsStore {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (b *Builder) buildReplicaSetStore() *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 {
|
func (b *Builder) buildReplicationControllerStore() *metricsstore.MetricsStore {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue