templates: Remove empty platform directories#653
templates: Remove empty platform directories#653openshift-merge-robot merged 1 commit intoopenshift:masterfrom
Conversation
|
sounds reasonable to me /approve |
|
we are totally sure we dont need these? just double checking bc i keep seeing people add them and but have also never seen them used. |
|
(I've always wondered what these were for) |
|
to be held for 4.2 (cc: @runcom) |
|
to be fair didn't see the change in the PR it would be shortsightedness to say MCO will never add things that are for a specific platform. for example
|
Right, and to be clear this doesn't remove that functionality, just makes the platform directories not required. |
So far we have not made any use of per-platform templated MCs. Going forward I don't really expect us to do that much, rather the conditional code ends up in other components. For the operating system, we expect components to look at the `ignition.platform.id` kernel command line argument. For example, coreos/afterburn has Azure specific code and it keys off this. OpenShift components should be looking at the `install-config`, as e.g. the machine-api-operator does. The goal here is simply the templates; specifically this cuts down on the combinatorial explosion of (master,worker) x platform.
66ba1fa to
00dc0b2
Compare
|
Rebased 🏄♂️ |
|
@cgwalters: Why did the half blind man fall in the well? Because he couldn't see that well! DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
Following up to #653 (comment) I reworded the commit message and PR text to explicitly note that we're not removing functionality. But let's clean things up for the common case and only create platform dirs where we really need it. |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cgwalters, runcom 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 Please review the full test history for this PR and help us cut down flakes. |
So far we have not made any use of per-platform templated MCs. Going
forward I don't really expect us to do that much, rather the conditional
code ends up in other components. For the operating system, we
expect components to look at the
ignition.platform.idkernelcommand line argument. For example, coreos/afterburn
has Azure specific code and it keys off this.
OpenShift components should be looking at the
install-config, ase.g. the machine-api-operator does.
The goal here is simply the templates; specifically this
cuts down on the combinatorial explosion of (master,worker) x platform.