Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
[meta] update upgrade tests base version (#1631) (#1632)
Browse files Browse the repository at this point in the history
This commit updates the upgrade tests for apm-server and filebeat
to use 7.10.0 base version before trying an upgrade.
This is required because the previous versions used
`rbac.authorization.k8s.io/v1beta1` K8S API which isn't supported
anymore in K8S 1.22.
  • Loading branch information
jmlrt authored Mar 24, 2022
1 parent 701c9d5 commit aaa7304
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion apm-server/examples/upgrade/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ include ../../../helpers/examples.mk

CHART := apm-server
RELEASE := helm-apm-server-upgrade
FROM := 7.6.0 # 7.6.0 is the first release for apm-server
# K8S 1.22 doesn't support anymore rbac.authorization.k8s.io/v1beta1 used in 7.9.0
FROM := 7.10.0

install:
../../../helpers/upgrade.sh --chart $(CHART) --release $(RELEASE) --from $(FROM)
Expand Down
3 changes: 2 additions & 1 deletion filebeat/examples/upgrade/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ include ../../../helpers/examples.mk

CHART := filebeat
RELEASE := helm-filebeat-upgrade
FROM := 7.9.0 # registry file version 1 not supported error with previous version
# K8S 1.22 doesn't support anymore rbac.authorization.k8s.io/v1beta1 used in 7.9.0
FROM := 7.10.0

install:
../../../helpers/upgrade.sh --chart $(CHART) --release $(RELEASE) --from $(FROM)
Expand Down

0 comments on commit aaa7304

Please sign in to comment.