Commit Graph

  • 14b3d91191 cluster: introduce Cluster.RemoveFile() amery 2023-10-29 01:04:54 +00:00
  • abe3005769 dns: sort zones when writing data #35 amery 2023-10-29 02:25:33 +00:00
  • 727fd67bc6 jpictl: add --domain/-D and --scan-dir/-d options #34 amery 2023-10-28 21:21:48 +00:00
  • b8e1b321e5 jpictl: add -S flag to ignore the config file and always scan amery 2023-10-28 21:14:50 +00:00
  • 0c5429a681 jpictl: move verbosity handling to the log module amery 2023-10-28 21:08:07 +00:00
  • e5639b2f4e cluster: generate ring keys on scan if missing #31 amery 2023-10-27 19:00:06 +00:00
  • 543824a54a cluster: allow empty wgN.conf files as markers to enable the ring amery 2023-10-27 16:39:46 +00:00
  • 9ab7594bcc Merge pull request 'jpictl: add initial dns add command' (#29) v0.6.10 amery 2023-10-27 18:56:11 +02:00
  • 07d4f462a3 Merge pull request 'wireguard: fix KeyPair.Validate()' (#30) karasz 2023-10-27 18:11:16 +02:00
  • 142ea00577 wireguard: fix KeyPair.Validate() #30 amery 2023-10-26 22:11:05 +00:00
  • 052f89152c jpictl/dns: introduce add command to register new machines #29 amery 2023-10-26 18:38:36 +00:00
  • 557f156579 dns: refactor asSyncRecords() amery 2023-10-26 18:36:38 +00:00
  • e857ff7456 Merge pull request 'dns: refactor record formatting and sort show results' (#28) amery 2023-10-27 17:52:19 +02:00
  • 9da49f2d86 dns/show: sort records #28 amery 2023-10-24 17:12:53 +00:00
  • 356322bc94 dns/show: introduce writeRecords() helper amery 2023-10-26 18:34:42 +00:00
  • 7dac96f474 dns/show: refactor Record formatting amery 2023-10-24 15:14:12 +00:00
  • 134606207d Merge pull request 'jpictl: introduce jpictl dns show command' (#27) v0.6.9 amery 2023-10-24 15:54:18 +02:00
  • 66178923a3 chore: update darvaza.org/resolver to support the darvaza.org/core update #27 amery 2023-10-24 11:00:52 +00:00
  • 440dcde50a jpictl: introduce jpictl dns show command amery 2023-10-23 23:13:59 +00:00
  • c578990f8c jpictl: refactor dns command initialization amery 2023-10-23 21:35:59 +00:00
  • b0f4be7047 dns: refactor GetRecords() to allow commands other than sync amery 2023-10-23 22:41:17 +00:00
  • 7dd04d84f4 Merge pull request 'chores: update dependencies' (#26) v0.6.8 amery 2023-10-23 22:58:25 +02:00
  • 385f85ff91 chore: go work sync #26 amery 2023-10-23 20:57:36 +00:00
  • 986db350b4 cluster: make unreachable panic explicit amery 2023-10-23 20:55:28 +00:00
  • 99ae34e98c chore: update darvaza.org/core to v0.10.0 amery 2023-10-23 20:50:41 +00:00
  • 76b40e63c7 Merge pull request 'dns: introduce jpictl dns sync to update public DNS records' (#25) v0.6.7 amery 2023-09-13 15:31:57 +02:00
  • 5d82de5535 jpictl: introduce jpictl dns sync to update public DNS records #25 amery 2023-09-12 20:29:18 +00:00
  • c33d0dab16 jpictl: refactor dns.Manager factory to support Provider data amery 2023-09-12 16:19:57 +00:00
  • dd585b0fa2 dns: add Sync() mechanism to update A/AAAA records on the DNS provider amery 2023-09-12 20:28:50 +00:00
  • 172752ab90 dns: add RecordSetter and RecordAppender to Provider amery 2023-09-12 20:26:26 +00:00
  • 4e2693b12c Merge pull request 'dns: introduce DNS Manager and BIND config writer' (#24) v0.6.6 amery 2023-09-12 18:22:52 +02:00
  • eba0340e32 jpictl: introduce jpictl dns write command #24 amery 2023-09-12 15:54:28 +00:00
  • 1a47985bd7 dns: Manager.WriteTo() generates BIND config, fully qualifies amery 2023-09-12 15:14:53 +00:00
  • f5ea72740c dns: introduce initial DNS Manager amery 2023-09-12 15:11:19 +00:00
  • 357c85dc1a dns: SortRegions() by ISO3166 amery 2023-09-12 14:48:51 +00:00
  • 00aec477a4 dns: DefaultDNSProvider() using CLOUDFLARE_DNS_API_TOKEN amery 2023-09-12 14:46:49 +00:00
  • e0d8592dc1 dns: introduce AddrRecord{} to abstract A/AAAA entries amery 2023-09-11 23:26:47 +00:00
  • c397ca29ac cluster: introduce Region interators amery 2023-09-12 13:36:50 +00:00
  • 066788b9be vscode: add Lookuper, publicsuffix and libdns to the dictionary amery 2023-09-10 18:50:38 +00:00
  • 4402555f04 Merge pull request 'cluster: ensure ceph monitors are set when loading a config file' (#23) v0.6.5 amery 2023-09-12 15:21:25 +02:00
  • 6e7f24f491 cluster: ensure ceph monitors are set when loading a config file #23 amery 2023-09-12 00:35:01 +00:00
  • 54b302c6d5 vscode: add asciigoat, cyclomatic and Wrapf to the dictionary amery 2023-09-04 16:06:08 +00:00
  • f62a47003d Merge pull request 'cluster: introduce Regions to group zones' (#22) v0.6.4 amery 2023-09-12 14:45:01 +02:00
  • 5abaed9047 Merge pull request 'jpictl: fix verbosity handling' (#21) v0.6.3 amery 2023-09-12 14:43:40 +02:00
  • c702d649e0 cluster: introduce Regions to group zones #22 amery 2023-09-12 00:31:18 +00:00
  • e9f9d474dc jpictl: fix verbosity handling #21 amery 2023-09-12 01:37:30 +00:00
  • e2941cf2c0 Merge pull request 'jpictl: introduce --config-file/-f as alternative to scanning m/' (#19) v0.6.2 amery 2023-09-11 23:44:39 +02:00
  • ea755113a8 Merge pull request 'hosts: update all hosts files on jpictl write' (#20) v0.6.1 amery 2023-09-11 23:42:48 +02:00
  • 1c199ed923 jpictl: update all hosts files on jpictl write #20 amery 2023-09-11 18:39:37 +00:00
  • 5dc5c95aa1 hosts: add generators for hosts files amery 2023-09-11 18:07:29 +00:00
  • a0cc698a39 jpictl: introduce --config-file/-f as alternative to scanning m/ #19 amery 2023-09-10 23:38:46 +00:00
  • 70008e0ead cluster: NewFromConfig() trying JSON and YAML amery 2023-09-10 23:38:17 +00:00
  • ec2b30c1e7 cluster: add DirFS() using hackpadfs/os amery 2023-09-11 18:36:46 +00:00
  • 3de7fcb605 Merge pull request 'move pkg/zones to pkg/cluster and other rearrangements' (#18) v0.6.0 amery 2023-09-11 20:41:25 +02:00
  • d0b0698c10 cluster: make domain, basedir and cluster name public fields #18 amery 2023-09-10 21:38:07 +00:00
  • 2a2e6c121e cluster: group default option factories amery 2023-09-10 18:41:58 +00:00
  • 24059dc9ee cluster: rename Zones to Cluster amery 2023-09-10 19:16:36 +00:00
  • bedf62977f cluster: move Machines to a dedicated file amery 2023-09-10 19:08:13 +00:00
  • 5abb4c2f92 cluster: rename pkg/zones to pkg/cluster amery 2023-09-10 19:01:36 +00:00
  • 046c9a508b Merge pull request 'jpictl: fixup the verbosity flag to obey line limit' (#17) amery 2023-09-11 17:47:11 +02:00
  • f6766547f9 jpictl: fixup the verbosity flag to obey line limit #17 karasz 2023-09-11 18:25:47 +03:00
  • 6aec17d079 Merge pull request 'drop toml support' (#16) amery 2023-09-11 15:17:46 +02:00
  • ab8ffdd507 Merge pull request 'zones: warn but not fail when scanning finds unknown monitors' (#13) v0.5.5 amery 2023-09-11 15:15:19 +02:00
  • 422e119f88 Merge pull request 'zones: add structured logs to zone scanning' (#14) amery 2023-09-11 01:46:09 +02:00
  • 204f3a49a1 drop toml support #16 amery 2023-09-10 19:53:52 +00:00
  • d1198328f6 jpictl: introduce log verbosity flag #14 karasz 2023-09-10 13:12:50 +03:00
  • 7795610caf Merge pull request 'zones: fix jpictl dump by explicitly omitting Machine.logger and Zone.logger' (#15) v0.5.4 amery 2023-09-08 21:01:25 +02:00
  • 32046fc1ec zones: fix jpictl dump by explicitly omitting Machine.logger and Zone.logger #15 amery 2023-09-08 13:12:56 +00:00
  • 2016b27707 zones: add structured logs to zone scanning amery 2023-09-07 17:57:23 +00:00
  • c038ad4431 zones: warn but not fail when scanning finds unknown monitors #13 amery 2023-09-07 18:32:11 +00:00
  • 159ccf59ac Merge pull request 'zones: improve scan validations' (#11) amery 2023-09-08 14:45:57 +02:00
  • 6a071ba5f0 zones: ignore unknown wireguard endpoints #11 amery 2023-09-07 17:25:49 +00:00
  • 3e90e3ab1e zones: ErrUnknownNode and ErrInvalidNode amery 2023-09-07 17:13:40 +00:00
  • 90dd0c1239 zones: ignore machine-less zones amery 2023-09-07 15:45:34 +00:00
  • 033ca2f20e zones: validate Machine names amery 2023-09-07 15:33:39 +00:00
  • 8c32b88e24 Merge pull request 'zones: pass logger from cmd to Zones, Zone, and Machine' (#12) v0.5.2 amery 2023-09-08 14:41:34 +02:00
  • 1bca1f7da1 zones: add logger to Zone and Machine #12 amery 2023-09-07 14:51:01 +00:00
  • 5e5958d22e zones: introduce (private) logger interface amery 2023-09-07 13:55:32 +00:00
  • 45447275a7 zones: introduce WithLogger() scan option amery 2023-09-07 13:44:18 +00:00
  • e03e5e0d05 Merge pull request 'ceph: generate fsid if needed, and export FSID on env' (#10) amery 2023-09-05 22:13:09 +02:00
  • a655603343 env: export FSID #10 amery 2023-09-05 19:51:37 +00:00
  • c291b218a4 zones: improve GetCephFSID() to generate a new UUID if none was found amery 2023-09-05 19:44:09 +00:00
  • 3911a51ccf vscode: add gofrs to the dictionary amery 2023-09-05 19:43:27 +00:00
  • 1fe1cf940d Merge pull request 'ceph: add initial ceph support. reading and writing m/ceph.conf' (#9) v0.5.0 amery 2023-09-05 21:35:52 +02:00
  • f10ea1dc22 jpictl: write m/ceph.conf on sync #9 amery 2023-09-05 12:05:37 +00:00
  • ac87757b06 ceph: zones.Zones.WriteCephConfig() and ceph.Config.WriteTo() amery 2023-09-04 19:45:04 +00:00
  • fe081a4297 env: set ceph monitors variables amery 2023-09-05 11:15:38 +00:00
  • cea8362fe6 zones: extend scan to ensure every zone has a ceph monitor amery 2023-09-05 11:03:53 +00:00
  • b772ec0a3d zones: store ceph FSID on scan amery 2023-09-05 13:40:16 +00:00
  • 77ad016e99 zones: set Machine.CephMonitor if its referenced as monitor on ceph.conf amery 2023-09-04 22:01:13 +00:00
  • bf4bfeb3fc zones: introduce GenCephConfig() amery 2023-09-05 11:45:02 +00:00
  • e3ab931eb1 zones: introduce Zone.GetCephMonitors() amery 2023-09-05 11:01:50 +00:00
  • 05e04c758b zones: introduce Zones.GetCephConfig() accessor for m/ceph.conf amery 2023-09-04 19:43:52 +00:00
  • 94011a3a03 ceph: add NewConfigFromReader() and initial ceph.conf parser amery 2023-09-04 19:42:04 +00:00
  • 025b9072b4 zones: introduce Machine.CephMonitor field amery 2023-09-05 11:25:11 +00:00
  • 0fb8c1d44b zones: introduce Zones.CephFSID and Zones.GetCephFSID() amery 2023-09-05 12:04:22 +00:00
  • a8849b747c vscode: add ceph to the dictionary amery 2023-09-05 12:13:26 +00:00
  • 879d2b4d1c chore: update dependencies amery 2023-09-05 12:24:38 +00:00
  • ff4bb97599 vscode: add jpictl, zerolog and darvaza to the dictionary amery 2023-09-05 12:19:51 +00:00
  • c95bf06da2 chore: update dependencies v0.4.18 amery 2023-09-04 15:58:43 +00:00