fix(deployment): update label to use standardized format

Change the labels for the cron-checker application in the 
deployment configuration to adhere to Kubernetes' recommended 
labeling conventions. This improves consistency and allows 
better integration with tools that rely on standardized 
labels for application management.
This commit is contained in:
2025-01-24 15:39:11 +01:00
parent 3ae2e157af
commit de495a8c5e
+3 -3
View File
@@ -34,12 +34,12 @@ apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: cron-checker
app.kubernetes.io/name: cron-checker
name: cron-checker
spec:
selector:
matchLabels:
app: cron-checker
app.kubernetes.io/name: cron-checker
strategy:
rollingUpdate:
maxSurge: 1
@@ -48,7 +48,7 @@ spec:
template:
metadata:
labels:
app: cron-checker
app.kubernetes.io/name: cron-checker
spec:
serviceAccountName: cron-checker
containers: