Skip to content
This repository was archived by the owner on Oct 21, 2025. It is now read-only.

Commit b796144

Browse files
authored
app (#5)
1 parent a19226c commit b796144

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

deployment.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
name: app2
5+
labels:
6+
mycompany.com/department: hr
7+
spec:
8+
replicas: 1
9+
selector:
10+
matchLabels:
11+
name: app2
12+
template:
13+
metadata:
14+
labels:
15+
name: app2
16+
mycompany.com/department: hr
17+
spec:
18+
containers:
19+
- image: nginx
20+
name: app2

kustomization.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
4+
commonLabels:
5+
mycompany.com/policy-version: "2.0.0"
6+
7+
resources:
8+
- deployment.yaml

0 commit comments

Comments
 (0)