Skip to content

Refactor user-data handling in node-group module#77

Draft
simu wants to merge 23 commits intofeat/cloudscale-no-puppetfrom
feat/refactor-user-data
Draft

Refactor user-data handling in node-group module#77
simu wants to merge 23 commits intofeat/cloudscale-no-puppetfrom
feat/refactor-user-data

Conversation

@simu
Copy link
Copy Markdown
Member

@simu simu commented Jan 26, 2024

We move the user-data (ignition) definition into a local variable and keep it as structured data which we jsonencode() when specifying it as the user_data field for the compute instance.

Checklist

  • Keep pull requests small so they can be easily reviewed.
  • Categorize the PR by setting a good title and adding one of the labels:
    bug, enhancement, documentation, change, breaking, dependency
    as they show up in the changelog
  • Link this PR to related issues.

simu added 23 commits January 23, 2024 14:06
Allowed CIDRs are provided in a map which uses the listening port as key
and holds the list of allowed CIDRs as value. If a listening port isn't
present in the map, `allowed_cidrs` for that port's listener is left
empty which allows all traffic.
This allows us to make changes to the LBs that require the instance to
be recreated without having to modify the cluster's DNS records.

Additionally, we can set the PTR records on the floating IPs.
We move the user-data (ignition) definition into a local variable and
keep it as structured data which we `jsonencode()` when specifying it as
the `user_data` field for the compute instance.
@simu simu force-pushed the feat/refactor-user-data branch from da13e68 to d91839c Compare January 26, 2024 10:18
@simu simu force-pushed the feat/cloudscale-no-puppet branch from efbddb2 to 5e22e6f Compare October 13, 2025 08:11
@simu simu force-pushed the feat/cloudscale-no-puppet branch from be3c698 to 8085c1c Compare March 27, 2026 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant