add lable app

This commit is contained in:
suyiiyii 2025-01-20 10:02:49 +08:00
parent 90297ec611
commit e6d349f344
Signed by: suyiiyii
GPG Key ID: 044704CB29B8AD85

View File

@ -2,13 +2,17 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: consul
labels:
app: consul
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: consul
app: consul
template:
metadata:
labels:
app: consul
spec:
containers:
- image: hashicorp/consul:1.20