* fixes #10267 when executed with helm template - otherwise produces an invalid template. (#10403)

* bump jenkins chart version to 0.26.1

Signed-off-by: Andrew Johnstone <andrew@ajohnstone.com>
This commit is contained in:
Andrew Johnstone
2019-01-04 13:33:41 -08:00
committed by Kubernetes Prow Robot
parent 986718bb50
commit 266f9d8392
2 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
name: jenkins
home: https://jenkins.io/
version: 0.26.0
version: 0.26.1
appVersion: lts
description: Open source continuous integration server. It supports multiple SCM tools
including CVS, Subversion and Git. It can execute Apache Ant and Apache Maven-based
+5 -3
View File
@@ -1,9 +1,11 @@
{{ if .Values.rbac.install }}
{{- $serviceName := include "jenkins.fullname" . -}}
{{- if .Capabilities.APIVersions.Has "rbac.authorization.k8s.io/v1" }}
apiVersion: rbac.authorization.k8s.io/v1
{{- else if .Capabilities.APIVersions.Has "rbac.authorization.k8s.io/v1beta1" }}
{{- if .Capabilities.APIVersions.Has "rbac.authorization.k8s.io/v1beta1" }}
apiVersion: rbac.authorization.k8s.io/v1beta1
{{- else if .Capabilities.APIVersions.Has "rbac.authorization.k8s.io/v1alpha1" }}
apiVersion: rbac.authorization.k8s.io/v1alpha1
{{- else }}
apiVersion: rbac.authorization.k8s.io/v1
{{- end }}
kind: {{ .Values.rbac.roleBindingKind }}
metadata: