[18-stable] Fix user_data to be in line with cloud-init - #455
Conversation
According to the official documentation[1], `ssh_authorized_keys` is a list, not a string. The `list` key under `chpasswd` is also deprecated in cloud-init[2] in favor of the `users` list. Switch to the supported form to avoid deprecation warnings and future breakage. [1] https://cloudinit.readthedocs.io/en/latest/reference/examples.html#configure-instance-s-ssh-keys [2] https://github.com/canonical/cloud-init/blob/main/cloudinit/config/cc_set_passwords.py jira: OSPRH-35290 Co-Authored-By: @pablintino <pabrodri@redhat.com> Co-Authored-By: rabi <ramishra@redhat.com> Signed-off-by: rabi <ramishra@redhat.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: openshift-cherrypick-robot, rabi The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
d3e77c0
into
openstack-k8s-operators:18-stable
This is an automated cherry-pick of #164
/assign rabi