Skip to content

Commit 5497769

Browse files
committed
Use autoscaling/v2 in tests
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
1 parent 949873a commit 5497769

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/e2e.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ jobs:
4242
with:
4343
go-version: 1.19.x
4444
- name: Setup Kubernetes
45-
uses: engineerd/setup-kind@v0.5.0
45+
uses: helm/kind-action@v1.5.0
4646
with:
47-
version: v0.11.1
48-
image: kindest/node:v1.21.1@sha256:69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6
47+
version: v0.17.0
48+
cluster_name: flux
4949
- name: Setup Kustomize
5050
uses: fluxcd/pkg//actions/kustomize@main
5151
- name: Setup Kubectl

config/testdata/impersonation/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ spec:
4242
interval: 5m
4343
url: https://github.com/stefanprodan/podinfo
4444
ref:
45-
tag: "5.0.3"
45+
tag: "6.3.0"
4646
---
4747
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
4848
kind: Kustomization
@@ -60,7 +60,7 @@ spec:
6060
name: podinfo
6161
patches:
6262
- patch: |
63-
apiVersion: autoscaling/v2beta2
63+
apiVersion: autoscaling/v2
6464
kind: HorizontalPodAutoscaler
6565
metadata:
6666
name: podinfo

config/testdata/oci/podinfo.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ spec:
77
interval: 10m
88
url: oci://ghcr.io/stefanprodan/manifests/podinfo
99
ref:
10-
tag: "6.1.6"
10+
tag: "6.3.0"
1111
---
1212
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
1313
kind: Kustomization
@@ -26,7 +26,7 @@ spec:
2626
timeout: 2m
2727
patches:
2828
- patch: |-
29-
apiVersion: autoscaling/v2beta2
29+
apiVersion: autoscaling/v2
3030
kind: HorizontalPodAutoscaler
3131
metadata:
3232
name: podinfo

controllers/kustomization_dependson_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ metadata:
5757
data:
5858
key: "%[2]s"
5959
---
60-
apiVersion: autoscaling/v2beta2
60+
apiVersion: autoscaling/v2
6161
kind: HorizontalPodAutoscaler
6262
metadata:
63-
name: "v2beta2-%[1]s"
63+
name: "v2-%[1]s"
6464
namespace: "%[2]s"
6565
spec:
6666
scaleTargetRef:

0 commit comments

Comments
 (0)