Skip to content

Conversation

@booo
Copy link
Member

@booo booo commented Dec 3, 2025

Only deploy ssh keys ment for maintenance by the community if the community attribute is explicitly set. Otherwise an undefined community attribute deploys ssh keys silently and without warning on private installations. This new behavior seems to be inline with other uses of the community attribute in the code.

This change may break standard behavior and requires us to add another commit that adds the community attribute explicitly to all community maintained installations.

Only deploy ssh keys ment for maintenance by the community if the
community attribute is explicitly set. Otherwise an undefined community
attribute deploys ssh keys silently and without warning on private
installations. This new behavior seems to be inline with other uses
of the community attribute in the code.

This change may break standard behavior and requires us to add another
commit that adds the community attribute explicitly to all community
maintained installations.
@booo booo force-pushed the fix/community-ssh-keys branch from 594e5e9 to d2cedd4 Compare December 3, 2025 07:56
merged_var_name: ssh_keys
expected_type: list
when: ssh_keys is undefined
when: ssh_keys is undefined and (community is defined and community|bool == True)
Copy link
Member

@Noki Noki Dec 3, 2025

Choose a reason for hiding this comment

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

This will remove the community keys from locations like segen, lause, perleberger36 and many more and cause us to loose access to these locations. These locations currently have a named maintainer, but are still considered community locations in the sense of having access by having all community keys installed. This is therefore a breaking change and should not be merged like this.

You should introduce a setting community_access: true and also add this to all existing locations that are affected by this change.

Copy link
Member Author

Choose a reason for hiding this comment

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

Adding community_access sounds like a good plan.

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