From b42b29a6057e849fb588a6f085ad939a0030c7ba Mon Sep 17 00:00:00 2001 From: Tariq Ibrahim Date: Wed, 10 Jul 2019 11:06:05 -0700 Subject: [PATCH] Use the appsv1 apigroup when building the reflector for replicasets. --- CHANGELOG.md | 4 ++++ VERSION | 2 +- internal/store/builder.go | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 31cb7dd9b9..3ec8b20169 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/VERSION b/VERSION index d623c85aa9..b9adcae2c2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.7.0-rc.0 +1.7.0-rc.1 diff --git a/internal/store/builder.go b/internal/store/builder.go index 133f91b28f..282843e434 100644 --- a/internal/store/builder.go +++ b/internal/store/builder.go @@ -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 {