Add app common label to kustomization

This commit is contained in:
stefanprodan
2020-04-15 12:22:49 +03:00
parent 73b03b77fc
commit 93e338a964
3 changed files with 3 additions and 4 deletions

View File

@@ -2,8 +2,6 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: podinfo
labels:
app: podinfo
spec:
minReadySeconds: 3
revisionHistoryLimit: 5

View File

@@ -2,3 +2,6 @@ resources:
- hpa.yaml
- deployment.yaml
- service.yaml
commonLabels:
app: podinfo

View File

@@ -2,8 +2,6 @@ apiVersion: v1
kind: Service
metadata:
name: podinfo
labels:
app: podinfo
spec:
type: ClusterIP
selector: