From edef3cf82434981f34bc27b5bed05804e639127a Mon Sep 17 00:00:00 2001
From: Rob Kooper <kooper@illinois.edu>
Date: Thu, 3 Aug 2023 17:35:58 -0500
Subject: [PATCH] fix rancher ip

---
 CHANGELOG.md                        | 5 +++++
 terraform/modules/rke1/variables.tf | 6 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index b82a98b..4e17d6b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
 
 The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
 
+## 2.1.1 - 2023-08-03
+
+### Changed
+- use /32 instead of /16 for rancher ips
+
 ## 2.1.0 - 2023-08-03
 
 In the next major update all backwards compatible code will be removed. Please migrate to teh cluster_machine setup and set controlplane_count and worker_count to 0
diff --git a/terraform/modules/rke1/variables.tf b/terraform/modules/rke1/variables.tf
index 975fbd8..be78d70 100644
--- a/terraform/modules/rke1/variables.tf
+++ b/terraform/modules/rke1/variables.tf
@@ -143,9 +143,9 @@ variable "openstack_security_kubernetes" {
   type        = map(any)
   description = "IP address to allow connections to kube api port, default is rancher nodes"
   default = {
-    "rancher-1" : "141.142.218.167/16"
-    "rancher-2" : "141.142.217.171/16"
-    "rancher-3" : "141.142.217.184/16"
+    "rancher-1" : "141.142.218.167/32"
+    "rancher-2" : "141.142.217.171/32"
+    "rancher-3" : "141.142.217.184/32"
   }
 }
 
-- 
GitLab