mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 01:14:22 +00:00
Add kustomization 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