Update matchlabels in both deployments

This commit is contained in:
2023-06-25 22:08:30 +02:00
parent be9f66f1dc
commit f53d46c441
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -6,11 +6,11 @@ spec:
replicas: 3
selector:
matchLabels:
app: vehicles
app: vehicles-blue
template:
metadata:
labels:
app: vehicles
app: vehicles-blue
version: "1.0"
spec:
containers:
+3 -3
View File
@@ -6,15 +6,15 @@ spec:
replicas: 3
selector:
matchLabels:
app: vehicles
app: vehicles-green
template:
metadata:
labels:
app: vehicles
app: vehicles-green
version: "1.1"
spec:
containers:
- name: vehicles
- name: vehicles-green
image: git.bngrs.net/jan/devops-release:1.1
ports:
- name: http