Skip to content

Commit

Permalink
Helm Tiller template
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Minter committed Sep 12, 2017
1 parent 8f8b25b commit 116ce8a
Showing 1 changed file with 81 additions and 0 deletions.
81 changes: 81 additions & 0 deletions examples/helm/tiller-template.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
kind: Template
apiVersion: v1
objects:
- kind: ServiceAccount
apiVersion: v1
metadata:
name: tiller

- kind: Role
apiVersion: v1
metadata:
name: tiller
rules:
- apiGroups:
- ""
resources:
- configmaps
verbs:
- create
- get
- list
- update
- delete
- apiGroups:
- ""
resources:
- namespaces
verbs:
- get

- kind: RoleBinding
apiVersion: v1
metadata:
name: tiller
roleRef:
name: tiller
namespace: ${TILLER_NAMESPACE}
subjects:
- kind: ServiceAccount
name: tiller

- apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: tiller
spec:
replicas: 1
selector:
matchLabels:
app: helm
name: tiller
template:
metadata:
labels:
app: helm
name: tiller
spec:
containers:
- name: tiller
image: gcr.io/kubernetes-helm/tiller:v2.6.1
env:
- name: TILLER_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
ports:
- name: tiller
containerPort: 44134
readinessProbe:
httpGet:
path: /readiness
port: 44135
livenessProbe:
httpGet:
path: /liveness
port: 44135
serviceAccountName: tiller

parameters:
- name: TILLER_NAMESPACE
required: true

0 comments on commit 116ce8a

Please sign in to comment.