Alejandro Mery
|
986db350b4
|
cluster: make unreachable panic explicit
making revive 1.3.4 happy
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
99ae34e98c
|
chore: update darvaza.org/core to v0.10.0
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
76b40e63c7
|
Merge pull request 'dns: introduce `jpictl dns sync` to update public DNS records' (#25)
A and AAAA only
Reviewed-on: #25
|
1 year ago |
Alejandro Mery
|
5d82de5535
|
jpictl: introduce `jpictl dns sync` to update public DNS records
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
c33d0dab16
|
jpictl: refactor dns.Manager factory to support Provider data
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
dd585b0fa2
|
dns: add Sync() mechanism to update A/AAAA records on the DNS provider
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
172752ab90
|
dns: add RecordSetter and RecordAppender to Provider
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
4e2693b12c
|
Merge pull request 'dns: introduce DNS Manager and BIND config writer' (#24)
Reviewed-on: #24
|
1 year ago |
Alejandro Mery
|
eba0340e32
|
jpictl: introduce `jpictl dns write` command
it renders BIND config to describe the public view of the cluster
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
1a47985bd7
|
dns: Manager.WriteTo() generates BIND config, fully qualifies
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
f5ea72740c
|
dns: introduce initial DNS Manager
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
357c85dc1a
|
dns: SortRegions() by ISO3166
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
00aec477a4
|
dns: DefaultDNSProvider() using CLOUDFLARE_DNS_API_TOKEN
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
e0d8592dc1
|
dns: introduce AddrRecord{} to abstract A/AAAA entries
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
c397ca29ac
|
cluster: introduce Region interators
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
066788b9be
|
vscode: add Lookuper, publicsuffix and libdns to the dictionary
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
4402555f04
|
Merge pull request 'cluster: ensure ceph monitors are set when loading a config file' (#23)
Reviewed-on: #23
|
1 year ago |
Alejandro Mery
|
6e7f24f491
|
cluster: ensure ceph monitors are set when loading a config file
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
54b302c6d5
|
vscode: add asciigoat, cyclomatic and Wrapf to the dictionary
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
f62a47003d
|
Merge pull request 'cluster: introduce Regions to group zones' (#22)
Reviewed-on: #22
|
1 year ago |
Alejandro Mery
|
5abaed9047
|
Merge pull request 'jpictl: fix verbosity handling' (#21)
Reviewed-on: #21
|
1 year ago |
Alejandro Mery
|
c702d649e0
|
cluster: introduce Regions to group zones
only available via config-file
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
e9f9d474dc
|
jpictl: fix verbosity handling
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
e2941cf2c0
|
Merge pull request 'jpictl: introduce --config-file/-f as alternative to scanning m/' (#19)
Reviewed-on: #19
|
1 year ago |
Alejandro Mery
|
ea755113a8
|
Merge pull request 'hosts: update all hosts files on `jpictl write`' (#20)
Reviewed-on: #20
|
1 year ago |
Alejandro Mery
|
1c199ed923
|
jpictl: update all hosts files on jpictl write
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
5dc5c95aa1
|
hosts: add generators for hosts files
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
a0cc698a39
|
jpictl: introduce --config-file/-f as alternative to scanning m/
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
70008e0ead
|
cluster: NewFromConfig() trying JSON and YAML
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
ec2b30c1e7
|
cluster: add DirFS() using hackpadfs/os
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
3de7fcb605
|
Merge pull request 'move pkg/zones to pkg/cluster and other rearrangements' (#18)
Reviewed-on: #18
|
1 year ago |
Alejandro Mery
|
d0b0698c10
|
cluster: make domain, basedir and cluster name public fields
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
2a2e6c121e
|
cluster: group default option factories
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
24059dc9ee
|
cluster: rename Zones to Cluster
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
bedf62977f
|
cluster: move Machines to a dedicated file
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
5abb4c2f92
|
cluster: rename pkg/zones to pkg/cluster
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
046c9a508b
|
Merge pull request 'jpictl: fixup the verbosity flag to obey line limit' (#17)
Reviewed-on: #17
|
1 year ago |
Nagy Károly Gábriel
|
f6766547f9
|
jpictl: fixup the verbosity flag to obey line limit
Signed-off-by: Nagy Károly Gábriel <k@jpi.io>
|
1 year ago |
Alejandro Mery
|
6aec17d079
|
Merge pull request 'drop toml support' (#16)
Reviewed-on: #16
|
1 year ago |
Alejandro Mery
|
ab8ffdd507
|
Merge pull request 'zones: warn but not fail when scanning finds unknown monitors' (#13)
Reviewed-on: #13
|
1 year ago |
Alejandro Mery
|
422e119f88
|
Merge pull request 'zones: add structured logs to zone scanning' (#14)
Reviewed-on: #14
|
1 year ago |
Alejandro Mery
|
204f3a49a1
|
drop toml support
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Nagy Károly Gábriel
|
d1198328f6
|
jpictl: introduce log verbosity flag
Signed-off-by: Nagy Károly Gábriel <k@jpi.io>
|
1 year ago |
Alejandro Mery
|
7795610caf
|
Merge pull request 'zones: fix `jpictl dump` by explicitly omitting Machine.logger and Zone.logger' (#15)
Reviewed-on: #15
|
1 year ago |
Alejandro Mery
|
32046fc1ec
|
zones: fix `jpictl dump` by explicitly omitting Machine.logger and Zone.logger
if they were fields, as in Zones, they would be ignored automatically.
but they aren't
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
2016b27707
|
zones: add structured logs to zone scanning
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
c038ad4431
|
zones: warn but not fail when scanning finds unknown monitors
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
159ccf59ac
|
Merge pull request 'zones: improve scan validations' (#11)
Reviewed-on: #11
|
1 year ago |
Alejandro Mery
|
6a071ba5f0
|
zones: ignore unknown wireguard endpoints
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
3e90e3ab1e
|
zones: ErrUnknownNode and ErrInvalidNode
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |