Skip to content

Conversation

Fedosin
Copy link
Contributor

@Fedosin Fedosin commented Aug 3, 2023

What this PR does / why we need it:
Currently we do not support installation of providers with custom names for air-gapped environments. It happens because we inject new names in the list of known providers only for those with URL specified, ignoring config maps.
This PR fixes it, so we support both URL and ConfigMap installations with custom names.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #204

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Aug 3, 2023
@Fedosin Fedosin changed the title 🐛 support installing providers with custom names in air-gapped environments 🐛 Support installing providers with custom names in air-gapped environments Aug 3, 2023
@Fedosin Fedosin force-pushed the air_gapped_custom_names branch from 62de74f to 1254273 Compare August 3, 2023 12:47
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Aug 3, 2023
@Fedosin Fedosin force-pushed the air_gapped_custom_names branch from 1254273 to 296aeaa Compare August 3, 2023 13:18
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 3, 2023
@Fedosin Fedosin force-pushed the air_gapped_custom_names branch from 296aeaa to 3d6ed42 Compare August 3, 2023 14:10
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Aug 3, 2023
Currently we do not support installation of providers with custom names
for air-gapped environments. It happens because we inject new names
in the list of known providers only for those with URL specified,
ignoring config maps.
This PR fixes it, so we support both URL and ConfigMap installations
with custom names.
@Fedosin Fedosin force-pushed the air_gapped_custom_names branch from 3d6ed42 to ae6df92 Compare August 3, 2023 14:36
Copy link
Member

@Danil-Grigorev Danil-Grigorev left a comment

Choose a reason for hiding this comment

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

\lgtm

@Danil-Grigorev
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 3, 2023
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 10105e6fe7118be628c0cfd41efdbb3fe3e1554a

Copy link
Contributor

@alexander-demicev alexander-demicev left a comment

Choose a reason for hiding this comment

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

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alexander-demicev

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 4, 2023
@k8s-ci-robot k8s-ci-robot merged commit 2ca73ce into kubernetes-sigs:main Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Infrastructure provider not added to the clusterctl providers list when fetchconfiguration provided by configmap

4 participants