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

Enhance KubeadmControlPlane in base function to support bare metal #507

Closed
mattmceuen opened this issue Mar 31, 2021 · 4 comments
Closed
Assignees
Labels
2-Manifests Relates to manifest/document set related issues enhancement New feature or request priority/critical Items critical to be implemented, usually by the next release size s
Milestone

Comments

@mattmceuen
Copy link
Contributor

Our bare metal lab definition is currently redefining the contents of the KubeadmControlPlane resource at the site level:
https://review.opendev.org/c/airship/treasuremap/+/772737/25/manifests/site/stl3-site/ephemeral/controlplane/patch_controlplane.yaml

This is not ideal, and will result in the definition being duplicated across various site definitions. Instead we should do one of the following:

  1. If the bare metal reference KubeadmControlPlane contents are fine for the general case (VMs, etc), then perhaps the contents can simply be backported to the base function definition.
  2. If we need to have different content for VM vs bare metal (or for different kinds of bare metal deployments) then we could create different functions -- e.g. function/k8scontrol (for real labs) + function/k8scontrol-vm (for VMs) or something

Either way, the base definition should allow for substitution of the site-specific values like IP addresses, which the k8scontrol function has today.

@mattmceuen mattmceuen added enhancement New feature or request triage Needs evaluation by project members labels Mar 31, 2021
@jezogwza jezogwza added 2-Manifests Relates to manifest/document set related issues priority/critical Items critical to be implemented, usually by the next release and removed triage Needs evaluation by project members labels Apr 7, 2021
@jezogwza jezogwza added this to the v2.1 milestone Apr 7, 2021
@sirajyasin
Copy link
Contributor

I can start working on this issue if no one has started yet. Could someone please assign this to me

@sirajyasin
Copy link
Contributor

The Site specific STL3 PSs referenced in the description is obsolete, and all of the site-level patching was removed in the final reference site PS[0]. I've confirmed with @imarijitbose. Looks like there is not any work on this issue at this point.
[0] https://review.opendev.org/c/airship/treasuremap/+/784619

@mattmceuen , could you please suggest if we can close this issue ?

@mattmceuen
Copy link
Contributor Author

No work to do (it's already done) - closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2-Manifests Relates to manifest/document set related issues enhancement New feature or request priority/critical Items critical to be implemented, usually by the next release size s
Projects
None yet
Development

No branches or pull requests

4 participants