mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-17 18:25:26 +00:00
Merge pull request #4694 from annasong20/add-loc-tdata-remote
Add `localize` test data with remote reference
This commit is contained in:
11
api/krusty/testdata/localize/remote/hpa.yaml
vendored
Normal file
11
api/krusty/testdata/localize/remote/hpa.yaml
vendored
Normal file
@@ -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
api/krusty/testdata/localize/remote/kustomization.yaml
vendored
Normal file
9
api/krusty/testdata/localize/remote/kustomization.yaml
vendored
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user