v0.6.0
Changelog
All notable changes to this project will be documented in this file.
[0.6.0] - 2024-09-04
🚀 Features
- Feat: add version flag and refactor flag handling
- Feat: Allow firewall rules to be defined for the API server load balancer
also allows load balancing additional ports to the API server
-
Feat: Log end of reconciliation
-
Feat: Consider that isonet outgoing IP might not be the same as LB IP
-
isoNet.Status.PublicIPID is now the isonet outgoing IP
-
Added isonet.Status.PublicIPAddress for easy lookup of the outgoing IP
-
Automatically add the outgoing IP to allowed CIDRs
-
Feat: Allow isolated network CIDR to be configured
🐛 Bug Fixes
- Fix: update default registry and tag
- Fix: add generate-conversion to generate-all
- Fix: use klog.FlushAndExit instead of os.Exit
- Fix: fix LDFLAGS for docker build
- Fix(ci): set fetch-depth 0 to get tags as well
- Fix: Add missing leader election flags, remove cloud-config-file flag
- remove statically defined and deprecated port
-
Fix: Add condition to AddToLBIfNeeded which checks if API server lb is enabled
-
Fix: Watch for changes in CloudStackCluster in the isonet controller and reconcile if needed
-
Fix: Make sure lb rules are deleted when a port is removed from additionalPorts
-
Fix: Delete related fw rule when a port is removed from additionalPorts + add test
-
Fix: Add predicate to only reconcile on generation change of cscluster
-
Fix: Use async cs client for fw/lb rule deletion
-
Fix: Make sure VM's get assigned to lb rules when a change in lb rules occurs.
-
Fix: Fetch clustername from isonet labels
-
Fix: Add some type checking
-
Fix: Updated the mapper funcs so they actually work
-
Fix: Solved several issues with the firewalling implementation
-
prevent deletion of lb/fw rules not created by CAPC by using tags
-
delete all lb/fw rules when the lb is disabled
-
the fw rule lookup map only allowed 1 rule per port
-
Fix: Some old find/replace mistake
-
Fix(tests): Add webhook tests for validity of fd/network name and network CIDR
-
Fix: Remove lint from test target
-
Fix: Separate load balancer reconciliation from GetOrCreateIsolatedNetwork
-
Fix: Tag the outgoing IP
-
Fix(tests): Update the tests for ReconcileLoadBalancer
-
Fix: The resource type for a lb rule is LoadBalancer, not LoadBalancerRule
-
Fix: Remove double strings.ToLower
-
Fix: Break out of loop when instance is found
-
Fix: Reduce excessive logging/events
-
Fix: Revert to the old behavior of isonet outgoing IP = loadbalancer IP for now
-
Fix(tests): Remove injection of ginkgo recover statements
-
Fix(tests): remove need for REPO_ROOT env var
-
Fix(tests): update webhook tests to admission v1
🚜 Refactor
- Refactor: rename OpenFirewallRules to CreateEgressFirewallRules
- Refactor: rename getOfferingID to getNetworkOfferingID
- Refactor: Refactor fw/lb reconcile functions for lower cyclomatic complexity
⚙️ Miscellaneous Tasks
- Chore: remove staticcheck
- Chore: remove some unused code and update some comments
- Chore: Update to k8s v1.27.16
- Chore: Update to Go 1.22
- Chore: fix incorrect function name in comment
- Chore: add 0.5.x and 0.5.x series to the metadata.yaml
- Chore: Fix copy/pasta in DeleteLoadBalancerRule error msg
- Chore: add missing layout to kubebuilder PROJECT file
- Chore: lint fixes
- Chore: update CRDs after lint fixes
Full Changelog: v0.5.1...v0.6.0