Skip to content

Comments

fix: update config.example and scripts for kubespray v2.30 group names#1340

Merged
michael-balint merged 1 commit intoNVIDIA:masterfrom
dholt:fix/config-group-renames
Feb 20, 2026
Merged

fix: update config.example and scripts for kubespray v2.30 group names#1340
michael-balint merged 1 commit intoNVIDIA:masterfrom
dholt:fix/config-group-renames

Conversation

@dholt
Copy link
Contributor

@dholt dholt commented Feb 20, 2026

Summary

  • Follow-up to PR Modernize for Ansible 10.x, Ubuntu 24.04, kubespray v2.30 #1336: rename remaining kube-master references to kube_control_plane and k8s-cluster to k8s_cluster in config.example group_vars, example playbook, and helper scripts.
  • Update ssh-hardening collection reference (dev-sec.ssh-hardening -> devsec.hardening) in config.example/group_vars/all.yml.

Test plan

  • ansible-playbook playbooks/k8s-cluster.yml runs successfully with updated config
  • Verify scripts/k8s/debug.sh references correct group names
  • Verify scripts/k8s/deploy_rook.sh references correct group names

🤖 Generated with Claude Code

Follow-up to PR NVIDIA#1336: rename remaining kube-master references to
kube_control_plane and k8s-cluster to k8s_cluster in config.example
group_vars, example playbook, and helper scripts (debug.sh, deploy_rook.sh).

Also update ssh-hardening collection reference (dev-sec.ssh-hardening ->
devsec.hardening) in config.example/group_vars/all.yml.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Douglas Holt <dholt@nvidia.com>
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR completes the kubespray v2.30 group naming migration started in PR #1336 by updating remaining references in configuration examples, helper scripts, and comments.

Changes:

  • Renamed inventory group references from old kubespray v2.27 naming (kube-master → kube_control_plane, kube-node → kube_node, k8s-cluster → k8s_cluster)
  • Updated SSH hardening collection reference in comment (dev-sec.ssh-hardening → devsec.hardening)

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
scripts/k8s/deploy_rook.sh Updated ansible group reference from k8s-cluster to k8s_cluster in delete_rook function
scripts/k8s/debug.sh Updated comment and ansible group references from kube-node to kube_node throughout debug script
config.example/playbooks/example.yml Updated example playbook host declaration from kube-node to kube_node
config.example/group_vars/k8s_cluster.yml Updated Jinja2 template group references from kube-master to kube_control_plane and k8s-cluster to k8s_cluster
config.example/group_vars/all.yml Updated comments from dev-sec.ssh-hardening to devsec.hardening and k8s-cluster to k8s_cluster

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@michael-balint michael-balint merged commit 97051de into NVIDIA:master Feb 20, 2026
20 checks passed
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.

2 participants