Commit Graph

76 Commits

Author SHA1 Message Date
Jon
ce8143f52d fix(nfc_kubernetes): correct logic for prime node to always be labeled prime
useful for setting up single node where if all nodes off except prime, targeting can be done

!77 !78 !79 !80 nofusscomputing/infrastructure/configuration-management/project-production!58 nofusscomputing/infrastructure/configuration-management/inventory-infrastructure!4 nofusscomputing/infrastructure/configuration-management/templates-production!28
2024-07-30 14:47:26 +09:30
Jon
c204539b67 fix(nfc_kubernetes): prime node to always be labeled prime
useful for setting up single node where if all nodes off except prime, targeting can be done

!77 !78 !79 nofusscomputing/infrastructure/configuration-management/project-production!58 nofusscomputing/infrastructure/configuration-management/inventory-infrastructure!4 nofusscomputing/infrastructure/configuration-management/templates-production!28
2024-07-28 17:27:52 +09:30
Jon
3c06647637 feat(nfc_kubernetes): prime node to always be labeled prime
useful for setting up single node where if all nodes off except prime, targeting can be done

!77 nofusscomputing/infrastructure/configuration-management/project-production!58 nofusscomputing/infrastructure/configuration-management/inventory-infrastructure!4 nofusscomputing/infrastructure/configuration-management/templates-production!28
2024-07-28 15:40:24 +09:30
Jon
6d26e2e0cf feat(nfc_kubernetes): ability to add node labels and taints
!77 nofusscomputing/infrastructure/configuration-management/project-production!58 nofusscomputing/infrastructure/configuration-management/inventory-infrastructure!4 nofusscomputing/infrastructure/configuration-management/templates-production!28
2024-07-28 15:29:46 +09:30
cba13dd8a3 fix(kubernetes_roles): conditional checks for prime
required so that config not applied to workers

!75
2024-07-08 00:46:06 +00:00
425e05de37 fix(kubernetes_roles): conditional checks for prime
required so that config not applied to workers

!75
2024-07-08 00:45:55 +00:00
cf63ec5543 fix(kubernetes_roles): conditional checks for prime
required so that config not applied to workers

!75
2024-07-08 00:45:42 +00:00
115755ad54 fix(kubernetes_roles): clean up white space
!75
2024-07-08 00:44:15 +00:00
6893164f90 fix(kubernetes_roles): clean up white space
!75
2024-07-08 00:44:05 +00:00
6275dde9e3 fix(kubernetes_roles): clean up white space
!75
2024-07-08 00:43:51 +00:00
98b6442bf8 fix(kubernetes_roles): clean up white space
!75
2024-07-08 00:43:33 +00:00
202e92a90b fix(kubernetes_role): delete leftover ]
this was a leftover from a copy and paste

!75
2024-07-07 14:33:45 +09:30
860addad4d fix(kubernetes_role): Change "https://" + hostvars[ns.prime_name].ansible_host + ":6443" -> "https://" + ns.prime_name.ansible_host + ":6443"
!75
2024-07-07 14:23:44 +09:30
8c1223769d fix(kubernetes_role): get prime hostname
required to set https address

!75
2024-07-07 14:11:30 +09:30
6bd8d27cfd fix(kubernetes_role): set server var -> "https://" + hostvars[nfc_role_kubernetes_node_prime].ansible_host + ":6443"
!75
2024-07-07 10:35:03 +09:30
a8ddcad1a0 fix(kubernetes_role): remove not nfc_role_kubernetes_cluster_upgraded | default(true) | bool section
Does not appear to acomplish what I was after

!75
2024-07-06 14:29:41 +09:30
536bab4ce2 fix(kubernetes_role): undo previous change
tasks did not run

!75
2024-07-06 14:08:51 +09:30
8217889910 test(kubernetes_role): set not nfc_role_kubernetes_cluster_upgraded | default(false | bool -> not nfc_role_kubernetes_cluster_upgraded | default(true) | bool
Testing to set node as a prime

!75
2024-07-06 13:49:52 +09:30
d59f20077e test(kubernetes_role): set prime default value to true
!74
2024-07-06 12:33:13 +09:30
23808704ae fix(kubernetes_role): remove commented out section
Not required

!74
2024-07-06 11:53:31 +09:30
55cc007575 fix(kubernetes_roles): use inventory_hostname
!74
2024-07-05 12:33:42 +09:30
044c914617 feat(kubernetes_role): nfc_role_kubernetes_prime cast type to bool
needs to check if type is a boolean

!74
2024-07-05 12:16:47 +09:30
2d5eb7c375 fix(kubernetes_roles): update cmd for setting ip6tables
!74
2024-07-04 18:10:18 +09:30
4d51d3ca00 fix(kubernetes_roles): update variable nfc_role_kubernetes_prime | default(false) | boolean -> nfc_role_kubernetes_prime !=false
test failed with result could not load boolean

!74
2024-07-04 17:21:05 +09:30
14a2cbed98 fix(kubernetes_role): set variable prime_hostname
!74
2024-07-04 17:10:40 +09:30
a2580f9328 fix(kubernetes_roles): update variable nfc_role_kubernetes_prime type to boolean
!74
2024-07-04 16:42:00 +09:30
28c4e3bbca feat(kubernetes_role): set var nfc_role_kubernetes_prime type boolean
!74 fixes #33
2024-07-04 15:24:45 +09:30
576ab623d8 fix(kubernetes_role): update var kubernetes_config.cluster.prime.name -> nfc_role_kubernetes_prime
variable is depreciated

!74
2024-07-04 15:03:16 +09:30
f5bba112cf feat(kubernetes_role): set ip6tables to legacy mode
!74 fixes #32
2024-07-04 14:41:06 +09:30
Jon
b0d9279535 fix(install): ensure ipv6 is installed before attempting to disable
!69 fixes #31
2024-06-27 16:43:33 +09:30
Jon
5ee0782993 fix(nfc_kubernetes): set default for var so task 'Copy Template' when clause doesn't fail task with undefined var
!68 nofusscomputing/projects/ansible/execution_environment!256
2024-05-04 05:56:00 +09:30
Jon
bcc870a87c fix(nfc_kubernetes): set default for var so when clause doesn't fail task with undefined var
!67
2024-05-04 04:43:24 +09:30
Jon
e002ff3749 fix(nfc_kubernetes): correct 'Create Required directories' when logic
!65
2024-05-04 03:23:29 +09:30
Jon
ece10c7ee0 feat(nfc_kubernetes): new variable 'nfc_role_kubernetes_node_prime' to denote the hostname of the prime node
!65 fixes #28
2024-05-04 01:47:49 +09:30
Jon
cbd2ec7ef8 refactor(nfc_kubernetes): remove usage of prime node name over is_prime var
!65 #28
2024-05-04 01:47:49 +09:30
Jon
43ddb13bdd fix(nfc_kubernetes): only run tasks on master nodes
!65 #28
2024-05-04 01:47:49 +09:30
Jon
310d7a1c48 fix(nfc_kubernetes): only run tasks on prime node
!65 #28
2024-05-04 01:47:49 +09:30
Jon
2ebeb805e8 fix(nfc_kubernetes): ensure correct node type selection for installation
!65 fixes #29
2024-05-04 01:47:49 +09:30
Jon
b4c06b9f91 feat(nfc_kubernetes): add debug out to k3s download on failure
!63
2024-05-03 22:27:39 +09:30
Jon
3d0dda7277 revert: "feat(nfc_kubernetes) build url and on use cast as string"
This reverts commit 9fa3b233a9.

The bug was within awx-core 2.16.1 as upgrading to 2.16.6 fixed the problem

!63 !61 nofusscomputing/projects/ansible/execution_environment!255 closes https://github.com/ansible/awx/issues/15161
2024-05-02 15:00:51 +09:30
Jon
ad55d3e874 fix(nfc_kubernetes): cast url var as list
!64 https://github.com/ansible/awx/issues/15161
2024-05-02 11:01:02 +09:30
Jon
b4d5031b0a fix(nfc_kubernetes): correct url build to loop through all cpu arch
!64 https://github.com/ansible/awx/issues/15161
2024-05-02 10:45:58 +09:30
Jon
9fa3b233a9 feat(nfc_kubernetes): build url and on use cast as string
!61 https://github.com/ansible/awx/issues/15161 closes #27
2024-05-02 09:42:59 +09:30
Jon
5efd9807f6 fix(nfc_kubernetes): adjust some tasks to run during checkmode
these tasks make no change and are required for checkmode to function as it's intended

!59 fixes #26
2024-04-25 16:24:48 +09:30
Jon
9d9cffb03a fix: add role readme
!58
2024-04-24 12:40:48 +09:30
Jon
241c737647 feat(kubernetes_netbox): custom field bug work around
!56
2024-04-24 11:20:19 +09:30
Jon
0ce3ed1245 fix(nfc_kubernetes): ensure install tasks run when job_tags specified
!56
2024-04-24 11:18:00 +09:30
Jon
0097556730 fix(facts): gather required facts if not already available
!56
2024-04-24 11:06:21 +09:30
Jon
ef8255cca6 fix(install): correct template installed var
!56
2024-04-23 23:05:19 +09:30
Jon
725e8dbfec fix(install): as part of install check, confirm service
!56
2024-04-23 23:02:35 +09:30