File tree 3 files changed +66
-4
lines changed
3 files changed +66
-4
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,17 @@ builds:
8
8
- linux
9
9
goarch :
10
10
- amd64
11
+ - arm
12
+ - arm64
13
+ - " 386"
11
14
12
15
release :
13
16
# don't autopublish
14
17
draft : true
15
18
19
+ sign :
20
+ artifacts : checksum
21
+
16
22
archive :
17
23
format : binary
18
24
@@ -36,11 +42,22 @@ nfpm:
36
42
description : Discover and continuously backup Kubernetes objets as yaml files in git
37
43
maintainer :
Benjamin Pineau <[email protected] >
38
44
license : MIT
45
+ bindir : /usr/bin
39
46
vendor : Benjamin Pineau
40
47
formats :
41
48
- deb
42
49
- rpm
43
50
dependencies :
44
51
- git
45
- replacements :
46
- amd64 : x86_64
52
+ config_files :
53
+ " ./assets/katafygio.yaml " : " /etc/katafygio/katafygio.yaml"
54
+ overrides :
55
+ rpm :
56
+ replacements :
57
+ amd64 : x86_64
58
+ 386 : i686
59
+ name_template : " {{ .ProjectName }}-{{ .Version }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
60
+ deb :
61
+ replacements :
62
+ 386 : i386
63
+ name_template : " {{ .ProjectName }}_{{ .Version }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
Original file line number Diff line number Diff line change 78
78
79
79
## Config file and env variables
80
80
81
- All settings can be passed by command line options, or environment variable, or in a yaml
82
- configuration file (thanks to Viper and Cobra libs). The environment are the same as cli options,
81
+ All settings can be passed by command line options, or environment variable, or in
82
+ [ a yaml configuration file] ( https://github.com/bpineau/katafygio/blob/master/assets/katafygio.yaml )
83
+ (thanks to Viper and Cobra libs). The environment are the same as cli options,
83
84
in uppercase, prefixed by "KF", and with underscore instead of dashs. ie.:
84
85
85
86
```
Original file line number Diff line number Diff line change
1
+ # # Katafygio configuration file
2
+
3
+ # To provide alternate api-server URL or config to reach the cluster:
4
+ # api-server: http://127.0.0.1:8080
5
+ # kube-config: /etc/kubernetes/config
6
+
7
+ log :
8
+ level : " info"
9
+ output : " stderr"
10
+ # server: "localhost:514" # mandatory if log-output: "syslog"
11
+
12
+ # Where to save the yaml dumps
13
+ local-dir : /var/cache/katafygio
14
+
15
+ # Remote url is optional. If provided, Katafygio will push there.
16
+ # git-url: https://user:[email protected] /myorg/myrepos.git
17
+
18
+ # Port to listen for http health check probes. 0 to disable.
19
+ healthcheck-port : 0
20
+
21
+ # How often should Katafygio full resync. Only needed to catch possibly
22
+ # missed events: events are handled in real-time. 0 to disable.
23
+ resync-interval : 900
24
+
25
+ # To only include objects matching a kubernetes selector:
26
+ # filter: "vendor=foo,app=bar"
27
+
28
+ # Example exclusions by object kind. E.g.: keep secrets confidential,
29
+ # don't dump pods or replicaset they are all managed by deployments
30
+ # or daemonsets (which are already dumped), endpoints (managed by services,
31
+ # already dumped), and noisy stuff (events, nodes...).
32
+ # exclude-kind:
33
+ # - secret
34
+ # - pod
35
+ # - replicaset
36
+ # - node
37
+ # - event
38
+ # - endpoints
39
+
40
+ # Example exclusion for specific objects:
41
+ # exclude-object:
42
+ # - configmap:kube-system/datadog-leader-elector
43
+ # - deployment:default/testdeploy
44
+
You can’t perform that action at this time.
0 commit comments