Resolve "Duplicate io.kompose.service labels in helm chart"

Removes the duplicate label values from the templates, keeping only the one set by the helper

The duplicate label values cause issues with kustomize (which is used internally by OSM)

Closes #15 (closed)

Merge request reports

Loading
+0 −1
Changes for helm/oop-platform-chart/charts/srm/templates/mongodb-pvc.yaml: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -5,7 +5,6 @@ metadata:
  name: mongo-db
  namespace: {{ include "srm.namespace" . }}
  labels:
    io.kompose.service: mongo-db
    {{- include "srm.mongodb.labels" . | nindent 4 }}
  {{- with .Values.commonAnnotations }}
  annotations:
+0 −1
Changes for helm/oop-platform-chart/charts/srm/templates/srmcontroller-service.yaml: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -5,7 +5,6 @@ metadata:
  name: {{ .Values.srmcontroller.service.name }}
  namespace: {{ include "srm.namespace" . }}
  labels:
    io.kompose.service: srm
    {{- include "srm.controller.labels" . | nindent 4 }}
  {{- with .Values.commonAnnotations }}
  annotations:

helm/oop-platform-chart/.zip

deleted100644 → 0
−53.7 KiB

File deleted.

Loading