From 0c5ee9873f3846b807564f03501d8632d73e60f8 Mon Sep 17 00:00:00 2001 From: donal Date: Wed, 1 Apr 2020 16:43:55 +0100 Subject: [PATCH] =?UTF-8?q?FIX=20-=20wrong=20spot=20for=20the=20labels=20?= =?UTF-8?q?=F0=9F=98=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- charts/jenkins/Chart.yaml | 2 +- charts/jenkins/templates/imagestreams.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/charts/jenkins/Chart.yaml b/charts/jenkins/Chart.yaml index 8ca7687f..aada08d6 100644 --- a/charts/jenkins/Chart.yaml +++ b/charts/jenkins/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: "v0.0.1" description: A Helm chart for deploying Jenkins on OpenShift name: jenkins -version: 0.0.3 +version: 0.0.4 home: https://github.com/rht-labs/charts maintainers: - name: springdo diff --git a/charts/jenkins/templates/imagestreams.yaml b/charts/jenkins/templates/imagestreams.yaml index e93a25bd..6396ba6a 100644 --- a/charts/jenkins/templates/imagestreams.yaml +++ b/charts/jenkins/templates/imagestreams.yaml @@ -2,13 +2,13 @@ --- kind: ImageStream apiVersion: image.openshift.io/v1 -{{- if .name | regexFind ".*slave" }} -labels: - build: {{ .name }} - role: jenkins-slave -{{- end }} metadata: name: {{ .name }} + {{- if .name | regexFind ".*slave" }} + labels: + build: {{ .name }} + role: jenkins-slave + {{- end }} annotations: description: Keeps track of changes in the application image {{- if .external }}