Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
Merge pull request #145 from kahootali/master
Browse files Browse the repository at this point in the history
fix labels for routes
  • Loading branch information
rjkernick authored Jul 24, 2020
2 parents 82ba264 + f880539 commit 694d7c7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/sonatype-nexus/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: sonatype-nexus
version: 2.3.1
version: 2.3.2
appVersion: 3.23.0
description: Sonatype Nexus is an open source repository manager
keywords:
Expand Down
5 changes: 4 additions & 1 deletion charts/sonatype-nexus/templates/proxy-route.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ apiVersion: route.openshift.io/v1
kind: Route
metadata:
name: {{ template "nexus.fullname" . }}
labels: {{ .Values.nexusProxyRoute.labels }}
labels:
{{- range $key, $value := .Values.nexusProxyRoute.labels }}
{{ $key }}: {{ $value | quote }}
{{- end }}
annotations:
{{- range $key, $value := .Values.nexusProxyRoute.annotations }}
{{ $key }}: {{ $value | quote }}
Expand Down
5 changes: 4 additions & 1 deletion charts/sonatype-nexus/templates/route.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ apiVersion: route.openshift.io/v1
kind: Route
metadata:
name: {{ .Values.route.name }}
labels: {{ .Values.route.labels }}
labels:
{{- range $key, $value := .Values.route.labels }}
{{ $key }}: {{ $value | quote }}
{{- end }}
annotations:
{{- range $key, $value := .Values.route.annotations }}
{{ $key }}: {{ $value | quote }}
Expand Down

0 comments on commit 694d7c7

Please sign in to comment.