From de495a8c5ef7608d06d37d3cdc34e41e2b57ee58 Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Fri, 24 Jan 2025 15:39:11 +0100 Subject: [PATCH] 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. --- example/deploy.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/example/deploy.yaml b/example/deploy.yaml index 4a24b23..70a38fb 100644 --- a/example/deploy.yaml +++ b/example/deploy.yaml @@ -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: