ionos-cloud / terraform-provider-ionoscloud

The IonosCloud Terraform provider gives the ability to deploy and configure resources using the IonosCloud APIs.
Mozilla Public License 2.0
34 stars 23 forks source link

K8s NodePool labels and annotations are missing. #31

Closed dreamblack86 closed 3 years ago

dreamblack86 commented 3 years ago

Description

We need the ability to mark our K8s nodes with labels. This is already possible via the IONOS Cloud API v6, but this Terraform provider has not implemented this in itself. Will this be implemented in the future?

Expected behavior

Details of the Kubernetes Node Pool via IONOS-Cloud API Example Value Model

{
  "metadata": {},
  "properties": {
    "name": "k8s-node-pool",
    "labels": {
      "additionalProp1": "string",
      "additionalProp2": "string",
      "additionalProp3": "string"
    },
    "annotations": {
      "additionalProp1": "string",
      "additionalProp2": "string",
      "additionalProp3": "string"
    }
}

Environment

Terraform version:

0.14.3

Provider version:

6.0.0-alpha.2

OS:

NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"

References

https://editor.swagger.io/?url=https://api.ionos.com/cloudapi/v6/swagger.json

dreamblack86 commented 3 years ago

Hi @LiviusP, Is there a reason why it is not supported in Terraform?

mflorin commented 3 years ago

Hello @dreamblack86 , we're currently depending on an API issue to be solved in order to roll out our terraform implementation. I'll keep you posted when the provider will become available.

mflorin commented 3 years ago

Hello @dreamblack86 - k8s node pool labels and annotations are now available starting with v6.0.0-beta.9.