Skip to content

Commit

Permalink
Kubernetes: update replicaset type to apps/v1 (#15854) (#16018)
Browse files Browse the repository at this point in the history
* update replicaset type to apps/v1

(cherry picked from commit 89822fe)
  • Loading branch information
Pablo Mercado authored Feb 3, 2020
1 parent e6fecd4 commit e3a7c9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Fix missing output in dockerlogbeat {pull}15719[15719]
- Fix issue where TLS settings would be ignored when a forward proxy was in use. {pull}15516{15516}
- Do not load dashboards where not available. {pull}15802[15802]
- Update replicaset group to apps/v1 {pull}15854[15802]

*Auditbeat*

Expand Down
3 changes: 1 addition & 2 deletions libbeat/common/kubernetes/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import (

appsv1 "k8s.io/api/apps/v1"
v1 "k8s.io/api/core/v1"
extv1 "k8s.io/api/extensions/v1beta1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
)
Expand Down Expand Up @@ -65,7 +64,7 @@ type PodContainerStatus = v1.ContainerStatus
type Deployment = appsv1.Deployment

// ReplicaSet data
type ReplicaSet = extv1.ReplicaSet
type ReplicaSet = appsv1.ReplicaSet

// StatefulSet data
type StatefulSet = appsv1.StatefulSet
Expand Down

0 comments on commit e3a7c9c

Please sign in to comment.