From 23ac4636c024f3d1eb7523b0dd8bdcfddcf1bb47 Mon Sep 17 00:00:00 2001 From: Patrick Ruckstuhl Date: Tue, 15 Oct 2019 11:01:53 +0200 Subject: [PATCH] [stable/jenkins] Add pvc permissions to role (#17973) * Add persistentvolumeclaims to role Required for supporting the new dynamic pvc workspace functionality Signed-off-by: Patrick Ruckstuhl * Adjust chart version and add changelog Signed-off-by: Patrick Ruckstuhl --- stable/jenkins/CHANGELOG.md | 4 ++++ stable/jenkins/Chart.yaml | 2 +- stable/jenkins/templates/rbac.yaml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/stable/jenkins/CHANGELOG.md b/stable/jenkins/CHANGELOG.md index da0fbddb35..e4a2a190e2 100644 --- a/stable/jenkins/CHANGELOG.md +++ b/stable/jenkins/CHANGELOG.md @@ -6,6 +6,10 @@ numbering uses [semantic versioning](http://semver.org). NOTE: The change log until version 1.5.7 is auto generated based on git commits. Those include a reference to the git commit to be able to get more details. +## 1.7.7 + +Add persistentvolumeclaim permission to the role to support new dynamic pvc workspaces. + ## 1.7.6 Updated `master.slaveKubernetesNamespace` to parse helm templates. diff --git a/stable/jenkins/Chart.yaml b/stable/jenkins/Chart.yaml index 77352f212a..4d867e798c 100755 --- a/stable/jenkins/Chart.yaml +++ b/stable/jenkins/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: jenkins home: https://jenkins.io/ -version: 1.7.6 +version: 1.7.7 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 diff --git a/stable/jenkins/templates/rbac.yaml b/stable/jenkins/templates/rbac.yaml index cd85b35fae..81fb50ad92 100644 --- a/stable/jenkins/templates/rbac.yaml +++ b/stable/jenkins/templates/rbac.yaml @@ -15,7 +15,7 @@ metadata: "app.kubernetes.io/component": "{{ .Values.master.componentName }}" rules: - apiGroups: [""] - resources: ["pods", "pods/exec", "pods/log"] + resources: ["pods", "pods/exec", "pods/log", "persistentvolumeclaims"] verbs: ["*"] ---