Commit Graph

16 Commits

Author SHA1 Message Date
Tim Hockin aa230f92f8 Retool the demo
Rather than hugo, which I really don't know much about and don't care to
maintain, it now is just a trivial HTTP server (python) serving content
from this repo.
2024-06-12 19:13:13 -07:00
Tim Hockin 7e6b429362 Make all env var names GITSYNC_FOO
Still support GIT_SYNC_FOO for compat.
2023-05-04 08:45:25 -07:00
James Blair 104563fc47
Replace deprecated k8s registry references.
Problem: Previously all of Kubernetes' image hosting has been out of gcr.io. There were significant egress costs associated with this when images were pulled from entities outside gcp.  Refer to https://github.com/kubernetes/k8s.io/wiki/New-Registry-url-for-Kubernetes-(registry.k8s.io)

Solution: As highlighted at KubeCon NA 2022 k8s infra SIG update, the replacement for k8s.gcr.io which is registry.k8s.io is now ready for mainstream use and the old k8s.gcr.io has been formally deprecated and projects are requested to migrate off it. This commit migrates remaining references for kubernetes/git-sync to registry.k8s.io.
Signed-off-by: James Blair <mail@jamesblair.net>
2023-02-14 16:26:30 +13:00
XinYang 78a1cffbd3
remove broken analytics links
Signed-off-by: XinYang <xinydev@gmail.com>
2021-07-03 23:51:53 +08:00
Tim Hockin 0e802450ee Don't allow --dest to start with a dot
BREAKING CHANGE

It's useful to reserve names that start with a dot.
2020-11-09 08:36:10 -08:00
David Markey 5fc3bd798c
Update deployment to use new version which is multi-arch
So it can run on a Raspberry Pi
2020-01-07 22:21:00 +00: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
Karol Chrapek cb1ef896a9 Update url image 2018-10-03 20:57:28 -07:00
mattjmcnaughton 94c7154683 Update kubernetes demo/config for example
A couple of changes to make the kubernetes config work
and follow best practices.

- Use `deployment` instead of `pod`.
- Use correct image names.

After these changes, running `kubectl create -f demo/config/` creates a
working deployment/service.
2018-06-06 10:04:22 -07:00
Tim Hockin 0304aa8950 Convert registry to k8s.gcr.io 2017-12-22 09:55:17 -08:00
Vikram Tiwari 0006d530d4
update pod config
- For #42
- now uses v2.0.4 which is current latest
2017-03-05 20:41:25 -08:00
Vikram 37ccf27fd4 Update README.md
fix file names for creating kubernetes pods and services
2017-03-01 22:10:19 -08:00
Michael Grosser 24223a5f55 Add runAsUser to demo example
Fixes #32
2017-02-17 16:49:52 +00:00
Michael Grosser 5eb623c97f Use bare name for DEST in example
Using a path for DEST will fail in subsequent syncs #8.
Using a bare name in examples.
2017-02-15 08:48:58 +00:00
Tim Hockin 2a7645cb0f Scrub 'contrib' 2016-08-20 14:17:17 -07:00
Tim Hockin ad53194601 Add files from github.com/kubernetes/contrib/git-sync 2016-08-20 14:14:27 -07:00