feat: added product/team labels

This commit is contained in:
Steve Lowery 2024-01-03 14:05:26 -06:00
parent d7927a27b4
commit 106b8b02ed
No known key found for this signature in database
GPG Key ID: 71D35D1685F85C02
2 changed files with 12 additions and 6 deletions

View File

@ -2,6 +2,8 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: guestbook-ui
product: engineering-productivity
team: deploy-platform
spec:
replicas: 1
revisionHistoryLimit: 3
@ -12,9 +14,11 @@ spec:
metadata:
labels:
app: guestbook-ui
product: engineering-productivity
team: deploy-platform
spec:
containers:
- image: gcr.io/heptio-images/ks-guestbook-demo:0.2
name: guestbook-ui
ports:
- containerPort: 80
- image: gcr.io/heptio-images/ks-guestbook-demo:0.2
name: guestbook-ui
ports:
- containerPort: 80

View File

@ -2,9 +2,11 @@ apiVersion: v1
kind: Service
metadata:
name: guestbook-ui
product: engineering-productivity
team: deploy-platform
spec:
ports:
- port: 80
targetPort: 80
- port: 80
targetPort: 80
selector:
app: guestbook-ui