1
0
Fork 0

Compare commits

...

3 Commits

Author SHA1 Message Date
Fleur Kelpin 1cbfd65140 doc: How to configure helm role 2018-09-21 15:15:56 +02:00
Fleur Kelpin 7127914de2 Merge branch 'master' of https://git.webhosting.rug.nl/molgenis/molgenis-ops-docker-helm 2018-09-21 13:50:26 +02:00
Fleur Kelpin 33d8a30c69 chore: create indexed chart 2018-09-11 16:12:32 +02:00
5 changed files with 53 additions and 0 deletions

16
charts/index.yaml Executable file
View File

@ -0,0 +1,16 @@
apiVersion: v1
entries:
molgenis-preview:
- apiVersion: v1
appVersion: "1.0"
created: 2018-09-11T16:11:49.165533266+02:00
description: MOLGENIS - helm stack for testing purposes
digest: e1174bd0d8a71bf4d23f5463521cf4dbcac39dc93f16cd842c92cda1a963f6b2
icon: https://git.webhosting.rug.nl/molgenis/molgenis-ops-docker-helm/raw/master/molgenis-preview/catalogIcon-molgenis.svg
name: molgenis-preview
sources:
- https://git.webhosting.rug.nl/molgenis/molgenis-ops-docker-helm.git
urls:
- molgenis-preview-0.2.0.tgz
version: 0.2.0
generated: 2018-09-11T16:11:49.158086031+02:00

Binary file not shown.

View File

@ -0,0 +1,6 @@
To be able to run helm inside a jenkins pod, you'll need to
* create a role in the namespace where tiller is installed
* bind that role to the user that jenkins pods run as
This directory contains yaml for these resources.
See also https://github.com/helm/helm/blob/master/docs/rbac.md

View File

@ -0,0 +1,13 @@
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: RoleBinding
metadata:
name: tiller-jenkins-binding
namespace: kube-system
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: tiller-user
subjects:
- kind: ServiceAccount
name: default
namespace: molgenis-jenkins

View File

@ -0,0 +1,18 @@
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: Role
metadata:
name: tiller-user
namespace: kube-system
rules:
- apiGroups:
- ""
resources:
- pods/portforward
verbs:
- create
- apiGroups:
- ""
resources:
- pods
verbs:
- list