-
Notifications
You must be signed in to change notification settings - Fork 5
Handle A and AAAA records TTL properly in dnscache #187
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
Merged
iljarotar
merged 75 commits into
master
from
186-dns-based-cwnps-not-reliable-on-hostnames-with-constantly-changing-ips
Sep 12, 2025
Merged
Changes from 55 commits
Commits
Show all changes
75 commits
Select commit
Hold shift + click to select a range
7ca8165
First stab at changing dnscach datastructure and cache update handling
mreiger 478a990
Fix linter errors
mreiger bafef1a
Fix remaining linter error
mreiger 2d8f679
Forgot to initialize map
mreiger 8df351c
Another uninitialized map
mreiger c05d4f1
Fix nftables generation: Only add IP port of RR to cache
mreiger 42d089e
Try to fix expiration date
mreiger 7b87dc0
Second attempt to fix expiration time
mreiger a814da6
Try keep the CRD stable
mreiger 4c406fd
Add forgotten error handling
mreiger dddc7af
Try and fix bug where only one rule's FQDNState would be shown
mreiger c67aa1c
Fix forgotten initialisation of map
mreiger 49f25e5
Merge master
majst01 53ecc4b
get shoot client to dns cache for handling state configmap
mreiger 15578a5
Merge branch 'master' of github.com:metal-stack/firewall-controller i…
mreiger fabc726
Implement writing to state configmap
mreiger 8215f60
pacify linter
mreiger 559f37d
update setup-gcloud
mreiger 9b36afb
Try and initialize the configmap correctly
mreiger ea9bfb2
Try different approach for initialising dns cache from configmap
mreiger 2064bfa
properly check for existing configmap
mreiger e14c8de
Actually try to write dns cache to configmap
mreiger e65d682
Do not try to write nil cache to configmap; debug output
mreiger febbaf6
Try and turn on debug logging
mreiger 6069a05
remove accidental package definition
mreiger 70ac71c
Try to fix JSON marshaling
mreiger bffdffb
Export fields so the json library can read them
mreiger 9f16a98
Try to fix configmap creation
mreiger c9ebc62
Avoid writing to nil map
mreiger f1ab16c
Trying to fix configmap creation
mreiger 7302691
Try pointers; more debug
mreiger 72714f1
more pointer fixes?
mreiger 20ba22b
try for better configmap initialisation
mreiger 3cce33a
Try and debug configmap handling with a simple static configmap
mreiger 4f069cc
forgot to initialize context
mreiger 65374b5
Marshal state to yaml for better readability
mreiger ffe200c
Discard unparseable state configmap
mreiger f80ae66
Use UTC timezone for expiration times
mreiger 23ffccb
sanitize logging
mreiger 9948b4b
Debug output to figure out error messages when writing cwnp stati
mreiger 90c8a2c
add more debug logging
iljarotar 8073a9c
remove logs
iljarotar 633501b
use map to represent ips with expiration time
iljarotar 2abc897
linter hints and warnings
iljarotar 06428b6
add restoreSets func
iljarotar 4563806
make
iljarotar 42f4be1
Revert "use map to represent ips with expiration time"
iljarotar c4ea25c
go back to []string instead of map for ip set expiration
iljarotar dce28bc
revert condition in add and update ips
iljarotar e04373f
remove restore sets
iljarotar ad23be3
no reconcile trigger on status update
iljarotar b50bbd9
sort ips for fqdn state alphabetically to avoid unnecessary resourceV…
iljarotar 45cea8e
remove debug logs
iljarotar 19a10aa
remove unused
iljarotar be1f7b6
Merge branch 'master' into 186-dns-based-cwnps-not-reliable-on-hostna…
iljarotar 66c7c3e
Update main.go
iljarotar b3ab138
style
iljarotar 1dd88ba
sort ip sets by name
iljarotar c26d5b7
also sort nftables ingress and egress rules
iljarotar 3b38b23
sort render ip set ips as well
iljarotar 86a79a2
Try splitting multi-line accept log rules only after assembling all t…
mreiger d4d9c71
adjust tests
iljarotar bac53b1
Fixes to tests
mreiger f515c90
Merge branch 'master' of github.com:metal-stack/firewall-controller i…
iljarotar 64ad532
linter
iljarotar 34aeedd
review findings
iljarotar 594308d
fix test
iljarotar e16d7ea
crd
iljarotar 7bacada
crd
iljarotar 2224341
add old ips too
iljarotar cfc494a
revert
iljarotar 206e5aa
add comments to type definition
iljarotar f351f12
review findings
iljarotar 32bf8a6
fix context stuff
iljarotar 72d0471
use ctx with timeout
iljarotar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.