lable issue fixed

This commit is contained in:
Vaibhav Pathak 2026-01-19 14:33:56 +05:30
parent d956678118
commit 08f2ff746c
3 changed files with 9 additions and 3 deletions

View File

@ -23,6 +23,9 @@ spec:
{{- end }} {{- end }}
labels: labels:
{{- include "hades.selectorLabels" . | nindent 8 }} {{- include "hades.selectorLabels" . | nindent 8 }}
{{- with .Values.commonLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec: spec:
{{- with .Values.imagePullSecrets }} {{- with .Values.imagePullSecrets }}
imagePullSecrets: imagePullSecrets:

View File

@ -3,6 +3,10 @@
replicaCount: 1 replicaCount: 1
# Common labels for Backstage Kubernetes plugin discovery
commonLabels:
backstage.io/kubernetes-id: "hades-service"
image: image:
repository: localhost:5001/europe-west1-docker.pkg.dev/os-docker-images/onlinesales/prod/services/java/hadesv2 repository: localhost:5001/europe-west1-docker.pkg.dev/os-docker-images/onlinesales/prod/services/java/hadesv2
pullPolicy: IfNotPresent pullPolicy: IfNotPresent

View File

@ -9,9 +9,8 @@ replicaCount: 1
# Common labels to add to all resources # Common labels to add to all resources
# These labels will be applied to all hades resources and MySQL pods # These labels will be applied to all hades resources and MySQL pods
commonLabels: {} commonLabels:
# Example usage: backstage.io/kubernetes-id: "hades-service"
# backstage.io/kubernetes-id: "hades-service"
image: image:
repository: localhost:5001/prj-onlinesales-prod-01/os-docker-images/onlinesales/prod/services/java/hadesv2 repository: localhost:5001/prj-onlinesales-prod-01/os-docker-images/onlinesales/prod/services/java/hadesv2