Merge pull request #4631 from annasong20/localize-test

Add test directory for command localize
This commit is contained in:
Kubernetes Prow Robot
2022-05-10 11:13:43 -07:00
committed by GitHub
3 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: test-deployment-simple
labels:
app: deployment-simple
spec:
selector:
matchLabels:
app: simple
template:
metadata:
labels:
app: simple
spec:
containers:
- name: nginx
image: nginx:1.16
ports:
- containerPort: 8080

View File

@@ -0,0 +1,8 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./deployment.yaml
- ./service.yaml
namePrefix: localize-

View File

@@ -0,0 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: test-service-simple
spec:
selector:
app: deployment-simple
ports:
- protocol: TCP
port: 80
targetPort: 8080