appuio / component-openshift4-nodes

Commodore Component: OpenShift 4 Machine Management
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Only render GCP-specific fields when cloud is GCP #42

Closed anothertobi closed 2 years ago

anothertobi commented 2 years ago

The GCP-specific fields are not supported by ProviderSpecs like awsproviderconfig.openshift.io/v1beta1 or vsphereprovider.openshift.io/v1beta1. Rendering them into the ProviderSpec by default makes the MachineSet part of this component incompatible with any other ProviderSpec than gcpprovider.openshift.io/v1beta1.

Fixes #15

Checklist