mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 09:24:23 +00:00
add apiVersiond and kind in tests to reduce test noise
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
namePrefix: team-foo-
|
||||
commonLabels:
|
||||
app: mynginx
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
namePrefix: p1-
|
||||
configMapGenerator:
|
||||
- name: com1
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
namePrefix: p2-
|
||||
configMapGenerator:
|
||||
- name: com2
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
bases:
|
||||
- myapp/mycomponent
|
||||
- myapp/mycomponent2
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
bases:
|
||||
- ../../../../base/myapp/mycomponent
|
||||
configMapGenerator:
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
bases:
|
||||
- ../../../../base/myapp/mycomponent2
|
||||
configMapGenerator:
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
crds:
|
||||
- mycrd.json
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
configMapGenerator:
|
||||
- name: the-non-default-namespace-map
|
||||
namespace: non-default
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- serviceaccount.yaml
|
||||
- rolebinding.yaml
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
bases:
|
||||
- ../overlays/a
|
||||
- ../overlays/b
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
bases:
|
||||
- ../../base/
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
bases:
|
||||
- ../../base/
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- serviceaccount.yaml
|
||||
- rolebinding.yaml
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
bases:
|
||||
- ../overlays/a
|
||||
- ../overlays/b
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
bases:
|
||||
- ../../base/
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
bases:
|
||||
- ../../base/
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
namePrefix: staging-
|
||||
commonLabels:
|
||||
env: staging
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
namePrefix: team-foo-
|
||||
commonLabels:
|
||||
app: mynginx
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
namePrefix: staging-
|
||||
commonLabels:
|
||||
env: staging
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
namePrefix: team-foo-
|
||||
commonLabels:
|
||||
app: mynginx
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
namePrefix: staging-
|
||||
commonLabels:
|
||||
env: staging
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
namePrefix: team-foo-
|
||||
commonLabels:
|
||||
app: mynginx
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- deployment.yaml
|
||||
- ingress.yaml
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
nameprefix: kustomized-
|
||||
|
||||
bases:
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
namePrefix: dev-
|
||||
bases:
|
||||
- ../package
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
namePrefix: base-
|
||||
resources:
|
||||
- cockroachdb-statefulset-secure.yaml
|
||||
|
||||
Reference in New Issue
Block a user