Skip to content

Releases: Leaseweb/cluster-api-provider-cloudstack

v0.7.0

14 Oct 12:32
257f9e1
Compare
Choose a tag to compare

[0.7.0] - 2024-10-14

Related PR's

  • 🌱 Bump CAPI to v1.8.2 by @hrak in #32
  • 🌱 Bump codecov/codecov-action from 4.5.0 to 4.6.0 in the all-github-actions group by @dependabot in #33
  • feat: CAPI 1.8 + project support by @hrak in #34

🚀 Features

  • Feat: Bump CAPI to v1.8.2
  • Feat: Update config for Kustomize v5
  • Feat: add support for CloudStack projects

🐛 Bug Fixes

  • Fix: Use Go 1.22
  • Fix(ci): Update golangci-lint cfg
  • Fix(ci): run checkout before installing Go
  • Fix(ci): remove lint from build target
  • Fix(ci): sync golangci-lint config with upstream CAPI, fix issues
  • Fix(ci): remove toolchain from go.mod files
  • Fix: fix kustomize field replacements
  • Fix: update healh check endpoint port
  • Fix: clean up manager config
  • Fix: Allow normal ACS user to create a cluster

Upstream PR kubernetes-sigs#357

⚙️ Miscellaneous Tasks

  • Chore: replace deprecated k8s.io/utils/pointer with k8s.io/utils/ptr
  • Chore(deps): Bump CAPI to v1.8.4 + update ttlcache

Full Changelog: v0.6.0...v0.7.0

v0.6.0

04 Sep 12:49
63e3542
Compare
Choose a tag to compare

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

v0.6.0-rc1

21 Aug 11:53
Compare
Choose a tag to compare
v0.6.0-rc1 Pre-release
Pre-release

Full Changelog: v0.5.1...v0.6.0-rc1

v0.5.1

16 Jul 12:41
5488f5a
Compare
Choose a tag to compare

What's Changed

  • Remove dead code and other small fixes by @hrak in #20
  • Develop -> main by @hrak in #21

Full Changelog: v0.5.0...v0.5.1

v0.5.0

16 Jul 12:27
116b93c
Compare
Choose a tag to compare

What's Changed

  • Tilt metrics fix by @hrak in #1
  • Cluster API 1.4 support by @hrak in #2
  • Support externally managed cluster infrastructure by @hrak in #3
  • Remove unused ginkgo v1 dep by @hrak in #4
  • Make TLSOpts actually do something by @hrak in #6
  • DiskOffering in CloudStackMachine CRD should be a pointer to CloudStackResourceDiskOffering by @hrak in #7
  • Update to CAPI 1.5 by @hrak in #8
  • Fix CRD contract version label by @hrak in #9
  • Restore ObjectMeta on CloudStackMachineTemplateResource by @hrak in #11
  • Implement Non-Strict Affinity and Anti-Affinity in CloudstackAffinityGroups by @FarnazBGH in #12
  • Update ttlcache library to v3, disable TTL extension on hit by @hrak in #13
  • Update to CAPI 1.5.5 + sync with upstream CAPI 1.5 PR by @hrak in #14
  • Update to CAPI 1.5.7, Go 1.21 by @hrak in #15
  • Dev to main by @hrak in #19

New Contributors

Full Changelog: https://github.com/Leaseweb/cluster-api-provider-cloudstack/commits/v0.5.0