Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloud provisioning + QoL #7

Merged
merged 78 commits into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from 70 commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
678273a
Add support for external hostname in exit node
korewaChino Nov 26, 2023
e53936f
add rustc annotation to fix warnings
korewaChino Nov 26, 2023
4fd3eb5
Refactor loadBalancerClass check to use constant
korewaChino Nov 26, 2023
24e0252
Refactor operator manager constant
korewaChino Nov 26, 2023
b29fba1
feat: initial work on cloud provisioning
lleyton Nov 28, 2023
c0b6cd2
feat: Update deployment CRDs to include new ExitNodeProvisioner
lleyton Nov 28, 2023
68150e4
fix: remove image cache and useradd call
lleyton Nov 28, 2023
9705715
wip: initial provisioner reconciler
korewaChino Dec 4, 2023
05a64b2
change the exit node check logic
korewaChino Dec 4, 2023
3c96fcf
Add CloudExitNode implementation and
korewaChino Dec 4, 2023
733ce89
spaghetti code of the year
korewaChino Dec 7, 2023
bd3cc32
kind of working implementation, still crashes
korewaChino Dec 10, 2023
4696c2a
fixed some stuff, introduced infinite loop
korewaChino Dec 10, 2023
cc55fd4
i give up
korewaChino Dec 10, 2023
b406d64
remove some debug stuff
korewaChino Dec 11, 2023
e04bb9c
revert some changes, for debugging
korewaChino Dec 11, 2023
7f995d2
fix: filter out cloud nodes without stauts
lleyton Dec 11, 2023
87379ee
Add logging statements in main.rs and daemon.rs
korewaChino Dec 11, 2023
bae7bc0
Refactor DigitalOceanProvisioner to support region selection
korewaChino Dec 11, 2023
770a3a8
Refactor daemon.rs: Add watcher for Service API
korewaChino Dec 11, 2023
2c0bea9
add finalizer to exit node
korewaChino Dec 11, 2023
43658ad
Only run cleanup finalizer if node is managed
korewaChino Dec 11, 2023
3cae514
Add cleanup logging and resource deletion
korewaChino Dec 11, 2023
06c1255
Fix missing owner references in create_owned_deployment function
korewaChino Dec 11, 2023
80a9803
use only one owner reference
korewaChino Dec 11, 2023
bda21b4
Added service-managed exit nodes, finally fix cloud status race condi…
korewaChino Dec 11, 2023
3467f4e
stub: Linode provisioner
korewaChino Dec 11, 2023
47d73db
add Linode provisioner, update provisioner code
korewaChino Dec 13, 2023
5cff111
update readme
korewaChino Dec 13, 2023
de34180
Add features to README.md
korewaChino Dec 13, 2023
543b9e8
Fixed Linode Base64 user data, add note
korewaChino Dec 13, 2023
d4e6924
Handle misc errors
korewaChino Dec 13, 2023
f5036ae
feat: Allow custom ports for cloud provisioning
korewaChino Dec 13, 2023
3d70afd
Refactor DigitalOcean updater code
korewaChino Dec 13, 2023
ef28c7a
Refactored delete code
korewaChino Dec 13, 2023
e2fae57
Refactor cloud providers and remove some unused code
korewaChino Dec 13, 2023
43671ac
Update pwgen module and fix import order
korewaChino Dec 13, 2023
298ddd8
Refactor cloud provisioning code
korewaChino Dec 13, 2023
e307961
update CRDs
korewaChino Dec 13, 2023
611878e
clean up tracing
korewaChino Dec 13, 2023
e4102b6
Add trait_enum crate and AWSProvisioner stub impl
korewaChino Dec 13, 2023
e4ae8cd
Update AWS and Linode cloud provider configurations
korewaChino Dec 13, 2023
00e3a59
Refactor code in src/daemon.rs
korewaChino Dec 13, 2023
80e4224
remove placeholder crd
korewaChino Dec 13, 2023
3b2c08c
Fix typo in Chisel Operator
korewaChino Dec 13, 2023
77f4804
Update copyright information in LICENSE.md
korewaChino Dec 13, 2023
307cad2
docker build for staging
lleyton Dec 13, 2023
88af948
use staging tag in manifests
lleyton Dec 13, 2023
a4f556a
the AWS API has drained me enough for today
korewaChino Dec 15, 2023
724d2f7
feat: aws logic
lleyton Dec 17, 2023
267ac0c
add security_group for AWSProvisioner
lleyton Dec 17, 2023
920dd2c
exit-node-provider -> exit-node-provisioner
lleyton Dec 17, 2023
5da6283
Still choose exit node if there is status (WIP)
korewaChino Dec 19, 2023
6103a88
fix: dissallow multiple services from binding to same exitnode uwu
lleyton Dec 20, 2023
4ccfc81
chore: make crdgen replace the crd files
lleyton Dec 20, 2023
14b3530
Use finalizer for managed services: Deletion of service now removes s…
korewaChino Dec 20, 2023
db8e4d2
Refactor exit node reconciliation logic
korewaChino Dec 20, 2023
b5ac67b
Finally fix for local nodes (maybe)
korewaChino Dec 20, 2023
96674d6
Update DigitalOcean droplet size, add migration logic
korewaChino Dec 20, 2023
a906df7
Add size option for EC2 and Linode instances
korewaChino Dec 20, 2023
310efa4
Fix: Clear status for bound services when exit node deleted
korewaChino Dec 26, 2023
21dac30
Use exitnode's namespace for deployment
korewaChino Dec 26, 2023
c58775f
fix borrows
korewaChino Dec 26, 2023
7a7ba52
Pod deployments are now owned by the exitnode, and cleaned up with se…
korewaChino Dec 26, 2023
2b3cc31
fix: use rustls-webpki for the AWS SDK
lleyton Dec 29, 2023
a067b9d
chore: save cargo cache using buildkit (again)
lleyton Dec 29, 2023
3fc7080
chore: set version to v0.3.0-alpha.1
lleyton Dec 29, 2023
a24d6c7
feat: add optional chisel_image option to ExitNode
lleyton Dec 30, 2023
0e197e5
chore: bump version to 0.3.0-alpha.2
lleyton Jan 2, 2024
edac83f
Merge branch 'main' into staging
lleyton Jan 20, 2024
7d08986
fix: move default chisel image into a const
lleyton Jan 21, 2024
e537568
fix: move ubuntu ssm ami key into const + fmt
lleyton Jan 21, 2024
ccb1218
chore: clean up unused comments and code
lleyton Jan 21, 2024
2a54b8d
chore: relicense to GPLv3
lleyton Jan 21, 2024
fa63f67
chore: rename OperatorError to UnknownError
lleyton Jan 21, 2024
3c97d7b
chore: restructure & get rid of dead_code exclusions
lleyton Jan 21, 2024
ef9e856
chore: cleanup select_exit_node_local
lleyton Jan 21, 2024
d377a21
fix: handle provisioner namespaces properly
lleyton Jan 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: Docker

on:
push:
branches: ["main"]
branches: ["main", "staging"]
# Publish semver tags as releases.
tags: ["v*.*.*"]
pull_request:
Expand Down
Loading