Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Helm Tiller template #16339

Merged
merged 1 commit into from
Sep 14, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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