aboutsummaryrefslogtreecommitdiff
path: root/grumpy/gitolite/templates/gitolite-deployment.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'grumpy/gitolite/templates/gitolite-deployment.yaml')
-rw-r--r--grumpy/gitolite/templates/gitolite-deployment.yaml9
1 files changed, 3 insertions, 6 deletions
diff --git a/grumpy/gitolite/templates/gitolite-deployment.yaml b/grumpy/gitolite/templates/gitolite-deployment.yaml
index 39717b9..1632b93 100644
--- a/grumpy/gitolite/templates/gitolite-deployment.yaml
+++ b/grumpy/gitolite/templates/gitolite-deployment.yaml
@@ -38,12 +38,9 @@ spec:
containers:
- name: {{ template "gitolite.fullname" . }}
image: "{{ .Values.Image }}:{{ .Values.ImageTag }}"
- #command:
- # - tail
- # - -f
- # - /dev/null
-
imagePullPolicy: "{{ .Values.ImagePullPolicy }}"
+ args:
+ - sshd
env:
- name: SSH_KEY
value: "{{ default "" .Values.SSH_KEY}}"
@@ -72,7 +69,7 @@ spec:
readOnly: false
initContainers:
- name: setup
- image: busybox
+ image: "{{ .Values.Image }}:{{ .Values.ImageTag }}"
command:
- "chmod"
- "755"