Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup Azimuth user metadata #26

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

assumptionsandg
Copy link
Contributor

Setup Azimuth user metadata for user creation

See
azimuth-cloud/azimuth-images#251

azimuth_workstation_username = "{{ cluster_user_username | default('azimuth') }}"
azimuth_workstation_uid = "{{ cluster_user_uid | default('1005') }}"
azimuth_workstation_gid = "{{ cluster_user_gid | default('1005') }}"
azimuth_workstation_is_sudo = "{{ cluster_user_is_sudo | default(true) }}"
Copy link
Contributor

Choose a reason for hiding this comment

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

I am tempted to make this "True" so its going to be like what gets passed from Azimuth into the string value here, but otherwise seems OK.

@@ -131,7 +131,7 @@ resource "openstack_compute_instance_v2" "cluster_server" {
ssh_authorized_keys:
- {{ cluster_deploy_ssh_public_key }}
{% if cluster_user_ssh_public_key is defined and cluster_user_ssh_public_key %}
users:
azimuth_users:
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm, this hard depends on specific image changes, eek... Needs a careful rollout. Probably time to bump the major version when we release this one.

Copy link
Collaborator

@mkjpryor mkjpryor Oct 18, 2024

Choose a reason for hiding this comment

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

I don't think this is an issue - azimuth-ops releases combine a particular playbook version with a particular images version that are known to work together. Just so long as we can upgrade from one to the other.

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.

3 participants