diff --git a/.goreleaser.yml b/.goreleaser.yml index 90db388..2f846c2 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -13,6 +13,9 @@ release: # don't autopublish draft: true +archive: + format: binary + dockers: - image: bpineau/katafygio diff --git a/Dockerfile.goreleaser b/Dockerfile.goreleaser index 37bf938..d1d2bbb 100644 --- a/Dockerfile.goreleaser +++ b/Dockerfile.goreleaser @@ -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"] diff --git a/README.md b/README.md index 625a4aa..393d549 100644 --- a/README.md +++ b/README.md @@ -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:token@github.com/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