-
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.
Merge pull request #43 from bpineau/example_configfile
Add an example configuration file and better goreleaser config
- Loading branch information
Showing
3 changed files
with
66 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,11 +8,17 @@ builds: | |
- linux | ||
goarch: | ||
- amd64 | ||
- arm | ||
- arm64 | ||
- "386" | ||
|
||
release: | ||
# don't autopublish | ||
draft: true | ||
|
||
sign: | ||
artifacts: checksum | ||
|
||
archive: | ||
format: binary | ||
|
||
|
@@ -36,11 +42,22 @@ nfpm: | |
description: Discover and continuously backup Kubernetes objets as yaml files in git | ||
maintainer: Benjamin Pineau <[email protected]> | ||
license: MIT | ||
bindir: /usr/bin | ||
vendor: Benjamin Pineau | ||
formats: | ||
- deb | ||
- rpm | ||
dependencies: | ||
- git | ||
replacements: | ||
amd64: x86_64 | ||
config_files: | ||
"./assets/katafygio.yaml": "/etc/katafygio/katafygio.yaml" | ||
overrides: | ||
rpm: | ||
replacements: | ||
amd64: x86_64 | ||
386: i686 | ||
name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" | ||
deb: | ||
replacements: | ||
386: i386 | ||
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" |
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
## Katafygio configuration file | ||
|
||
# To provide alternate api-server URL or config to reach the cluster: | ||
#api-server: http://127.0.0.1:8080 | ||
#kube-config: /etc/kubernetes/config | ||
|
||
log: | ||
level: "info" | ||
output: "stderr" | ||
#server: "localhost:514" # mandatory if log-output: "syslog" | ||
|
||
# Where to save the yaml dumps | ||
local-dir: /var/cache/katafygio | ||
|
||
# Remote url is optional. If provided, Katafygio will push there. | ||
#git-url: https://user:[email protected]/myorg/myrepos.git | ||
|
||
# Port to listen for http health check probes. 0 to disable. | ||
healthcheck-port: 0 | ||
|
||
# How often should Katafygio full resync. Only needed to catch possibly | ||
# missed events: events are handled in real-time. 0 to disable. | ||
resync-interval: 900 | ||
|
||
# To only include objects matching a kubernetes selector: | ||
#filter: "vendor=foo,app=bar" | ||
|
||
# Example exclusions by object kind. E.g.: keep secrets confidential, | ||
# don't dump pods or replicaset they are all managed by deployments | ||
# or daemonsets (which are already dumped), endpoints (managed by services, | ||
# already dumped), and noisy stuff (events, nodes...). | ||
#exclude-kind: | ||
# - secret | ||
# - pod | ||
# - replicaset | ||
# - node | ||
# - event | ||
# - endpoints | ||
|
||
# Example exclusion for specific objects: | ||
#exclude-object: | ||
# - configmap:kube-system/datadog-leader-elector | ||
# - deployment:default/testdeploy | ||
|