sourcegraph / sourcegraph-public-snapshot

Code AI platform with Code Search & Cody
https://sourcegraph.com
Other
10.1k stars 1.28k forks source link

Clarify file permissions needed for gitserver ssh key #29117

Open caugustus-sourcegraph opened 2 years ago

caugustus-sourcegraph commented 2 years ago

https://docs.sourcegraph.com/admin/install/kubernetes/configure#configure-repository-cloning-via-ssh says that the SSH key secret should be mounted with 0644 permissions. In the kustomize base files and overlays, 384 is specified (translates to 0600 in octal).

Determine whether 0600 is sufficient permission, or if 0644 is needed, and update the references to be consistent.

github-actions[bot] commented 2 years ago

Heads up @dan-mckean @caugustus-sourcegraph @kevinwojo - the "team/delivery" label was applied to this issue.

virginiaulrich commented 2 years ago

Good first issue for a new hire to take on; so leave in backlog with that in mind