Commit Graph

12 Commits

Author SHA1 Message Date
Philippe Dupont 0c3b730403 Fix Typo 2019-02-21 15:46:51 +01:00
Tim Hockin 51f19b81c9 Fix SSH
* Create a git-sync user to run as, with an entry in /etc/passwd and
writable homedir

* Remove our own validation of key perms - let SSH do that.

* Update docs,
2019-02-07 16:32:01 -08:00
Eugene Chung 4b8d266d1f
~ -> $HOME
On Mac, ~ is not translated to the home directory. I guess $HOME is more portable.
2019-01-31 17:15:38 +09:00
Tim Hockin 644151a1d3 Fix hugo demo and docs
The hugo demo runs again.

Also removed docs on need to run as root.  Pretty sure you do not need
to.
2018-12-17 11:44:50 -08:00
Tim Hockin 9ceb61f794 Clean up doc on GIT_COOKIE_FILE 2018-07-02 14:37:25 -07:00
Bryce Cronkite-Ratcliff f69e8fb2c0 Add gitcookie configuration option
Add an option to specify a git http cookie file in the k8s yaml
that will be configured as the global git cookie file in the git-sync
client.

This is a useful access mechanism for some some hosted repositories
where SSH and passwords are not easily available, such as Google Cloud
Source Repositories.
2018-06-01 14:45:06 -07:00
Hanlin Wang d22b14bec9
Update ssh.md 2018-03-10 15:31:55 +08:00
Pieter Lange 899cf5974e Add feature flag to enable ssh host key verification. 2017-04-25 00:34:01 +02:00
Pieter Lange 3b8bf0308c Use secure defaults (check hostkeys) 2017-04-21 15:09:37 +02:00
Steve Jernigan 20f4c73cb7 Update ssh.md
Adding requirement for runAsRoot and suggested configuration for defaultMode.  These are required after previous change to remove the chmod on the key.
2017-02-17 11:08:25 -05:00
Aman ea98806bc9
Remove chmod command since we can specify permissions for Secret Volumes
- Fixed because of https://github.com/kubernetes/kubernetes/pull/28936
2016-12-19 21:55:34 +05:30
Tim Hockin ad53194601 Add files from github.com/kubernetes/contrib/git-sync 2016-08-20 14:14:27 -07:00