📋 v2.19.1 Patch Release
This is a patch release for v2.19.0. If upgrading from v2.18.x, please review the full release notes below including upgrade notes, new features, and breaking changes.
Patch fix:
- Audit Policy Bastion Connection - Fixed missing bastion SSH settings in
audit_policyprovisioner, enabling audit policy deployment for NAT router / private network setups (#2042) - thanks @CounterClops
⚠️ Upgrade Notes (from v2.18.x)
NAT Router Users (created before v2.19.0)
If you created a NAT router before v2.19.0 (when the hcloud provider used the now-deprecated datacenter attribute), you may see Terraform wanting to recreate your NAT router primary IPs. This would result in new IP addresses.
To check if you're affected, run terraform plan and look for changes to:
hcloud_primary_ip.nat_router_primary_ipv4hcloud_primary_ip.nat_router_primary_ipv6
If Terraform shows replacement, you have two options:
-
Allow the recreation (simplest, but IPs will change):
terraform apply
-
Migrate state manually (preserves IPs):
# Remove old state entries terraform state rm 'module.kube-hetzner.hcloud_primary_ip.nat_router_primary_ipv4[0]' terraform state rm 'module.kube-hetzner.hcloud_primary_ip.nat_router_primary_ipv6[0]' # Import with current IPs (get IDs from Hetzner Cloud Console) terraform import 'module.kube-hetzner.hcloud_primary_ip.nat_router_primary_ipv4[0]' <ipv4-id> terraform import 'module.kube-hetzner.hcloud_primary_ip.nat_router_primary_ipv6[0]' <ipv6-id> terraform apply
Version Requirements
- Minimum Terraform version:
1.10.1 - Minimum hcloud provider version:
1.59.0
🚀 New Features
- Hetzner Robot Integration - Manage dedicated Robot servers via vSwitch and Cloud Controller Manager. New variables:
robot_ccm_enabled,robot_user,robot_password,vswitch_id,vswitch_subnet_index(#1916) - Audit Logging - Kubernetes audit logs with configurable policy via
k3s_audit_policy_configand log rotation settings (#1825) - Control Plane Endpoint - New
control_plane_endpointvariable for stable external API server endpoint (e.g., external load balancers) (#1911) - NAT Router Control Plane Access - Automatic port 6443 forwarding on NAT router when
control_plane_lb_enable_public_interfaceis false (#2015) - Smaller Networks - New
subnet_amountvariable enables networks smaller than /16 (#1971) - Custom Subnet Ranges - Added
subnet_ip_rangeto agent_nodepools for manual CIDR assignment (#1903) - Autoscaler Swap/ZRAM - Added
swap_sizeandzram_sizesupport for autoscaler node pools (#2008) - Autoscaler Resources - New
cluster_autoscaler_replicas,cluster_autoscaler_resource_limits,cluster_autoscaler_resource_values(#2025) - Flannel Backend - New
flannel_backendvariable to override flannel backend (wireguard-native, host-gw, etc.) - Cilium XDP Acceleration - New
cilium_loadbalancer_acceleration_modevariable (native, best-effort, disabled) - K3s v1.35 Support - Added support for k3s v1.35 channel (#2029)
- Packer Enhancements - Configurable
kernel_type,sysctl_config_file, andtimezonefor MicroOS snapshots (#2009, #2010)
🐛 Bug Fixes
- Audit Policy Bastion Connection (v2.19.1) - Fixed missing bastion SSH settings in
audit_policyprovisioner, enabling audit policy deployment for NAT router / private network setups (#2042) - Traefik v34 Compatibility - Fixed HTTP to HTTPS redirection config for Traefik Helm Chart v34+ (#2028)
- NAT Router IP Drift - Fixed infinite replacement cycle by migrating from deprecated
datacentertolocation(#2021) - SELinux YAML Parsing - Fixed cloud-init SCHEMA_ERROR caused by improper YAML formatting of SELinux policy
- SELinux Missing Rules - Added rules for JuiceFS (sock_file write) and SigNoz (blk_file getattr)
- Kured Version Null - Fixed potential null value issues with
kured_versionlogic (#2032)
🔧 Changes
- Default K3s Version - Bumped from v1.31 to v1.33 (#2030)
- Default System Upgrade Controller - Bumped to v0.18.0
- SELinux Policy Extraction - Moved to dedicated template file for maintainability
- terraform_data Migration - Migrated from null_resource to terraform_data with automatic state migration (#1548)
- remote-exec Refactor - Improved provisioner compatibility with Terraform Stacks (#1893)
- Custom GPT Updated - KH Assistant updated with v2.19.0 features, improved knowledge base, and cost calculator
👥 Contributors
Thanks to all contributors who made this release possible:
- CounterClops
- K. N.
- Karim Naufal
- dependabot[bot]
What's Changed
Other Changes
- Fix: Add missing bastion options to audit_policy connection by @CounterClops in #2042
New Contributors
- @CounterClops made their first contribution in #2042
Full Changelog: v2.19.0...v2.19.1