mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-30 09:51:23 +00:00
Isolated content of pkg/kustomize
This commit is contained in:
15
pkg/commands/testdata/testcase-base-only/in/deployment.yaml
vendored
Normal file
15
pkg/commands/testdata/testcase-base-only/in/deployment.yaml
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
apiVersion: apps/v1beta2
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: nginx
|
||||
labels:
|
||||
app: nginx
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: nginx
|
||||
spec:
|
||||
containers:
|
||||
- name: nginx
|
||||
image: nginx
|
||||
10
pkg/commands/testdata/testcase-base-only/in/kustomization.yaml
vendored
Normal file
10
pkg/commands/testdata/testcase-base-only/in/kustomization.yaml
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
namePrefix: team-foo-
|
||||
commonLabels:
|
||||
app: mynginx
|
||||
org: example.com
|
||||
team: foo
|
||||
commonAnnotations:
|
||||
note: This is a test annotation
|
||||
resources:
|
||||
- deployment.yaml
|
||||
- service.yaml
|
||||
11
pkg/commands/testdata/testcase-base-only/in/service.yaml
vendored
Normal file
11
pkg/commands/testdata/testcase-base-only/in/service.yaml
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: nginx
|
||||
labels:
|
||||
app: nginx
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
selector:
|
||||
app: nginx
|
||||
Reference in New Issue
Block a user