Skip to content

Commit

Permalink
Add kustomization with remote reference
Browse files Browse the repository at this point in the history
  • Loading branch information
annasong20 committed Jun 30, 2022
1 parent 7e0fd02 commit edb6294
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
11 changes: 11 additions & 0 deletions api/krusty/testdata/localize/remote/hpa.yaml
Original file line number Diff line number Diff line change
@@ -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
9 changes: 9 additions & 0 deletions api/krusty/testdata/localize/remote/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit edb6294

Please sign in to comment.