The component adds provider-specific fields to the providerSpec [1]. These fields seem to be specific to the GCP provider.
The parameter instanceType is set as value for machineType but neither of those is present in the vSphere provider. The zone for GCP would be placement:availabilityZone for AWS.
Sample config on AWS: [2]
Sample config on GCP: [3]
The component adds provider-specific fields to the
providerSpec
[1]. These fields seem to be specific to the GCP provider. The parameterinstanceType
is set as value for machineType but neither of those is present in the vSphere provider. Thezone
for GCP would beplacement:availabilityZone
for AWS.Sample config on AWS: [2] Sample config on GCP: [3]
[1] https://github.com/appuio/component-openshift4-nodes/blob/master/component/main.jsonnet#L43 [2] https://docs.openshift.com/container-platform/4.6/machine_management/creating_machinesets/creating-machineset-aws.html#machineset-yaml-aws_creating-machineset-aws [3] https://docs.openshift.com/container-platform/4.6/machine_management/creating_machinesets/creating-machineset-gcp.html#machineset-yaml-gcp_creating-machineset-gcp
Steps to Reproduce the Problem
instanceType
parameter for the componentinstanceType
is missingActual Behavior
Fields specific to GCP are added to the ProviderSpec.
Expected Behavior
No provider-specific fields are added to the ProviderSpec.