diff options
author | Christian Pointner <equinox@spreadspace.org> | 2024-03-16 21:32:54 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2024-03-16 21:32:54 +0100 |
commit | 4e9b4def3078408493bddf57176162cc9380ebfd (patch) | |
tree | e2a5580d66ecb273fd5a4f5580797591ef20b3f1 /roles/streaming/companion/templates | |
parent | add ch-companion-raspi (diff) |
companion: generate ssh keypair to be used with ssh plugin
Diffstat (limited to 'roles/streaming/companion/templates')
-rw-r--r-- | roles/streaming/companion/templates/pod-spec.yml.j2 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/roles/streaming/companion/templates/pod-spec.yml.j2 b/roles/streaming/companion/templates/pod-spec.yml.j2 index f01637fe..3be3e488 100644 --- a/roles/streaming/companion/templates/pod-spec.yml.j2 +++ b/roles/streaming/companion/templates/pod-spec.yml.j2 @@ -12,6 +12,9 @@ containers: mountPath: /dev/bus/usb - name: data mountPath: /companion + - name: secrets + mountPath: /secrets + readOnly: yes volumes: - name: dev-usb hostPath: @@ -19,4 +22,8 @@ volumes: - name: data hostPath: type: Directory - path: "{{ companion_basepath }}" + path: "{{ companion_basepath }}/data" +- name: secrets + hostPath: + type: Directory + path: "{{ companion_basepath }}/secrets" |