Skip to content

Commit

Permalink
Fix problem with duplicated keys (name label) (kyma-project#11528)
Browse files Browse the repository at this point in the history
  • Loading branch information
pbochynski committed Jun 24, 2021
1 parent 120e9e0 commit 9a2ecd1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,6 @@ Selector labels for peerauthentication
app.kubernetes.io/name: {{ include "publisher-proxy.fullname" . }}
{{- end }}

{{/*
Labels for metrics service
*/}}
{{- define "publisher-proxy.metrics.labels" -}}
{{ include "publisher-proxy.labels" . }}
{{ include "publisher-proxy.peerauth.selectorLabels" . }}
{{- end }}

{{/*
Selector labels for service monitor
*/}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ apiVersion: v1
kind: Service
metadata:
name: {{ include "publisher-proxy.fullname" . }}{{ .Values.metrics.config.nameSuffix }}
labels: {{- include "publisher-proxy.metrics.labels" . | nindent 4 }}
labels: {{- include "publisher-proxy.labels" . | nindent 4 }}
spec:
type: ClusterIP
selector: {{- include "publisher-proxy.selectorLabels" . | nindent 4 }}
Expand Down

0 comments on commit 9a2ecd1

Please sign in to comment.