Skip to content

Commit

Permalink
add readonly for the ssh secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasochem committed Oct 24, 2023
1 parent 0aeda6a commit 826cef4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/tezos-signer-forwarder/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ spec:
secret:
secretName: tezos-signer-forwarder-secret-{{ $.Values.name }}
defaultMode: 0400
readOnly: true
containers:
- name: tezos-signer-forwarder
image: {{ $.Values.tezos_k8s_images.tezos_signer_forwarder }}
Expand All @@ -52,9 +53,11 @@ spec:
- name: config-volume
mountPath: /home/signer/.ssh/authorized_keys
subPath: authorized_keys
readOnly: true
- name: secret-volume
mountPath: /etc/ssh/ssh_host_ecdsa_key
subPath: ssh_host_ecdsa_key
readOnly: true
env:
- name: TUNNEL_ENDPOINT_PORT
valueFrom:
Expand Down

0 comments on commit 826cef4

Please sign in to comment.