AppManager: cache helm charts and container images to local registry
Caching container images is disabled until we figure out how to run
container registry behind TLS.
Change-Id: I0253f2a862e5adddff18a82b102f67258151c070
diff --git a/charts/dodo-app/templates/install.yaml b/charts/dodo-app/templates/install.yaml
index f19ea1e..4746869 100644
--- a/charts/dodo-app/templates/install.yaml
+++ b/charts/dodo-app/templates/install.yaml
@@ -1,3 +1,28 @@
+apiVersion: rbac.authorization.k8s.io/v1
+kind: Role
+metadata:
+ name: job-creator
+rules:
+- apiGroups:
+ - "batch"
+ resources:
+ - jobs
+ verbs:
+ - create
+---
+apiVersion: rbac.authorization.k8s.io/v1
+kind: RoleBinding
+metadata:
+ name: job-creator
+roleRef:
+ apiGroup: rbac.authorization.k8s.io
+ kind: Role
+ name: job-creator
+subjects:
+- kind: ServiceAccount
+ name: default
+ namespace: {{ .Release.Namespace }}
+---
apiVersion: v1
kind: Secret
metadata:
@@ -10,7 +35,6 @@
kind: Service
metadata:
name: dodo-app
- namespace: {{ .Release.Namespace }}
spec:
type: ClusterIP
selector:
@@ -25,7 +49,6 @@
kind: Deployment
metadata:
name: dodo-app
- namespace: {{ .Release.Namespace }}
spec:
selector:
matchLabels: