diff --git a/api/krusty/testdata/localize/remote/hpa.yaml b/api/krusty/testdata/localize/remote/hpa.yaml new file mode 100644 index 000000000..7b429802e --- /dev/null +++ b/api/krusty/testdata/localize/remote/hpa.yaml @@ -0,0 +1,11 @@ +apiVersion: autoscaling/v2 +kind: HorizontalPodAutoscaler +metadata: + name: hpa-deployment +spec: + scaleTargetRef: + apiVersion: apps/v1 + kind: Deployment + name: localize-test-deployment-simple + minReplicas: 1 + maxReplicas: 10 \ No newline at end of file diff --git a/api/krusty/testdata/localize/remote/kustomization.yaml b/api/krusty/testdata/localize/remote/kustomization.yaml new file mode 100644 index 000000000..58807f0a2 --- /dev/null +++ b/api/krusty/testdata/localize/remote/kustomization.yaml @@ -0,0 +1,9 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +resources: + - https://github.com/kubernetes-sigs/kustomize//api/krusty/testdata/localize/simple?ref=kustomize/v4.5.5 + - hpa.yaml + +commonLabels: + purpose: remoteReference \ No newline at end of file