-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM alpine:3.7 | ||
RUN apk --no-cache add ca-certificates | ||
RUN apk --no-cache add ca-certificates git | ||
COPY katafygio /usr/bin/ | ||
ENTRYPOINT ["/usr/bin/katafygio"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,12 +24,14 @@ objects, that may bloat the git history. | |
|
||
```bash | ||
# Filtering out replicasets and pods since they are managed by Deployments | ||
# (already archived), secrets to keep them confidential, and the leader-elector | ||
# (already archived), endpoints (managed by Services), secrets (to keep them | ||
# confidential), events and node (irrelevant), and the leader-elector | ||
# configmap that has low value and changes a lot, causing commits churn. | ||
|
||
katafygio \ | ||
-g https://user:[email protected]/myorg/myrepos.git -e /tmp/kfdump \ | ||
-x secret -x pod -x replicaset -y configmap:kube-system/leader-elector | ||
-x secret -x pod -x replicaset -x node -x endpoints -x event \ | ||
-y configmap:kube-system/leader-elector | ||
``` | ||
|
||
## Supported resources | ||
|