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.
This commit is contained in:
+4
-4
@@ -6,11 +6,11 @@ spec:
|
|||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: auth0mock
|
app.kubernetes.io/name: auth0mock
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: auth0mock
|
app.kubernetes.io/name: auth0mock
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: auth0mock
|
- name: auth0mock
|
||||||
@@ -36,10 +36,10 @@ kind: Service
|
|||||||
metadata:
|
metadata:
|
||||||
name: auth0mock
|
name: auth0mock
|
||||||
labels:
|
labels:
|
||||||
app: auth0mock
|
app.kubernetes.io/name: auth0mock
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- port: 3333
|
- port: 3333
|
||||||
selector:
|
selector:
|
||||||
app: auth0mock
|
app.kubernetes.io/name: auth0mock
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
|
|||||||
Reference in New Issue
Block a user