From 8dc80e28cdc07a215ef11ab502f88a8a3ac6a32d Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Fri, 24 Jan 2025 15:37:46 +0100 Subject: [PATCH] fix(k8s): update labels to adhere to best practices Change labels in the deployment and service configurations from the custom format to the standard Kubernetes naming convention. This improves consistency and compatibility with Kubernetes tools and enhances maintainability. --- k8s/deploy.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/k8s/deploy.yaml b/k8s/deploy.yaml index 6f0fae9..ee73101 100644 --- a/k8s/deploy.yaml +++ b/k8s/deploy.yaml @@ -6,11 +6,11 @@ spec: replicas: 1 selector: matchLabels: - app: auth0mock + app.kubernetes.io/name: auth0mock template: metadata: labels: - app: auth0mock + app.kubernetes.io/name: auth0mock spec: containers: - name: auth0mock @@ -36,10 +36,10 @@ kind: Service metadata: name: auth0mock labels: - app: auth0mock + app.kubernetes.io/name: auth0mock spec: ports: - port: 3333 selector: - app: auth0mock + app.kubernetes.io/name: auth0mock type: ClusterIP