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

🌱 Hot Reload for secrets #49

Merged
merged 44 commits into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
3131a4e
:seedling: Update Go dependencies.
guettli Dec 12, 2024
182c862
:seedling: Fix tests.
guettli Dec 12, 2024
c44897e
... fix TestRateLimitIsExceeded
guettli Dec 12, 2024
20d4aed
fix TestLoadBalancerOps_ReconcileHCLBTargets
guettli Dec 12, 2024
5a6d841
better err msg for e2e tests.
guettli Dec 12, 2024
d0e762b
clean up
guettli Dec 12, 2024
5d31767
more docs.
guettli Dec 12, 2024
2369bc8
Merge branch 'tg/fix-tests' into tg/update-go-dependencies
guettli Dec 12, 2024
e63ace6
fixed TestInstances_InstanceMetadataRobotServer and better err msg fo…
guettli Dec 12, 2024
70c5643
Merge branch 'tg/fix-tests' into tg/update-go-dependencies
guettli Dec 12, 2024
a589799
fix tests.
guettli Dec 12, 2024
33e5aeb
make code easier to read.
guettli Dec 12, 2024
c12c49a
:seedling: Hot Reload for secrets
guettli Dec 13, 2024
0e7706b
updateHcloudToken() works, including tests.
guettli Dec 13, 2024
576e2ac
Merge branch 'tg/fix-tests' into tg/hot-reload-for-secrets
guettli Dec 13, 2024
2bf4b4c
started with hot reloading of robot credentials.
guettli Dec 13, 2024
6aa7c6d
fix tests.
guettli Dec 13, 2024
9b465f7
Merge remote-tracking branch 'origin/main' into tg/hot-reload-for-sec…
guettli Dec 13, 2024
2c3c70a
hotreload works for robot, not yet for hcloud.
guettli Dec 13, 2024
560a40b
hotreload of hcloud is working.
guettli Dec 13, 2024
a69ee61
removed not needed github actions. Fixed ubuntu version.
guettli Dec 13, 2024
260ed47
clean up.
guettli Dec 13, 2024
3a3045f
align k8s version to our other repos.
guettli Dec 16, 2024
2d526f3
Merge branch 'main' into tg/hot-reload-for-secrets
guettli Dec 16, 2024
8badab8
Merge branch 'main' into tg/hot-reload-for-secrets
guettli Dec 16, 2024
0dc0140
Merge branch 'main' into tg/hot-reload-for-secrets
guettli Dec 16, 2024
790f6b0
avoid not needed changes in go.mod
guettli Dec 16, 2024
18780d0
update go.sum
guettli Dec 16, 2024
5ee018a
make fsnotify work in Kubernetes Pod.
guettli Dec 16, 2024
3a64a7e
remove NODE_NAME
guettli Dec 16, 2024
3279e78
move var at the top.
guettli Dec 16, 2024
be9e272
add comment to Reload Counter
guettli Dec 16, 2024
15237fd
comment why cache gets reset.
guettli Dec 16, 2024
c2c5f60
robot test was flaky, fixed it.
guettli Dec 16, 2024
63ed4db
fix data race in hotreload.
guettli Dec 16, 2024
e2b0421
Merge branch 'main' into tg/hot-reload-for-secrets
guettli Dec 17, 2024
3ae86ff
add hint that robotClient can be nil.
guettli Dec 17, 2024
f547528
aligned naming, and added method: hotreload.CredentialsDirectory().
guettli Dec 17, 2024
dc85252
rename to `credentials`.
guettli Dec 17, 2024
dc6223f
added comments to code.
guettli Dec 17, 2024
f5501a0
inlined an exported function, removed not needed global variable.
guettli Dec 17, 2024
e75ddbc
docs.
guettli Dec 17, 2024
12e2215
docs: add current PR to list of PR which need to get added to upstream.
guettli Dec 17, 2024
d0fed72
added "failed" to err msg.
guettli Dec 17, 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
19 changes: 0 additions & 19 deletions .github/workflows/bot_stale.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ permissions:
jobs:
manager-image:
name: Build and push manager image
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
Expand Down
73 changes: 0 additions & 73 deletions .github/workflows/ci.yml

This file was deleted.

63 changes: 0 additions & 63 deletions .github/workflows/goreleaser.yml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/workflows/release-please.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ permissions:
jobs:
manager-image:
name: Build and push manager image
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
release:
name: Create draft release
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs:
- manager-image
steps:
Expand Down
52 changes: 0 additions & 52 deletions .github/workflows/test_e2e.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ deploy/gen/
./hetzner-cloud-controller-manager
*.tgz
hack/.*
/*.kubeconfig
/etc
Loading