diff options
Diffstat (limited to 'templates/default/kubernetes')
-rw-r--r-- | templates/default/kubernetes/sfive-proxy-deploy.yml.j2 | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/templates/default/kubernetes/sfive-proxy-deploy.yml.j2 b/templates/default/kubernetes/sfive-proxy-deploy.yml.j2 index 121d80e..62ed9fe 100644 --- a/templates/default/kubernetes/sfive-proxy-deploy.yml.j2 +++ b/templates/default/kubernetes/sfive-proxy-deploy.yml.j2 @@ -41,12 +41,33 @@ spec: volumeMounts: - name: home mountPath: /srv - - name: sfive-config + - name: proxy-config mountPath: /srv/config + - name: hub + image: spreadspace/sfive:{{ desc.globals.deployment.parameter.sfive_image_version }} + imagePullPolicy: Always + args: + - sfive-hub + - -db + - /srv/data/db.bolt + - -start-pipe-server=false + - -start-web-server=false + - -start-pipegram-server + - -pipegram + - /srv/hub.sock + volumeMounts: + - name: home + mountPath: /srv + - name: hub-data + mountPath: /srv/data volumes: - name: home emptyDir: medium: Memory - - name: sfive-config + - name: proxy-config configMap: name: sfive-proxy-{{ worker.name }} + - name: hub-data + hostPath: + type: DirectoryOrCreate + path: /var/lib/sfive/{{ desc.globals.name }} |