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 kind: Deployment
metadata: metadata:
labels: labels:
app: cron-checker app.kubernetes.io/name: cron-checker
name: cron-checker name: cron-checker
spec: spec:
selector: selector:
matchLabels: matchLabels:
app: cron-checker app.kubernetes.io/name: cron-checker
strategy: strategy:
rollingUpdate: rollingUpdate:
maxSurge: 1 maxSurge: 1
@@ -48,7 +48,7 @@ spec:
template: template:
metadata: metadata:
labels: labels:
app: cron-checker app.kubernetes.io/name: cron-checker
spec: spec:
serviceAccountName: cron-checker serviceAccountName: cron-checker
containers: containers: