Add cloudcredential as question type

I tried [this example](https://github.com/rancher/cluster-template-examples/blob/dc5c201c5415c430cdf4bcb6af975f9e516e970b/charts/questions.yaml#L13) and found that `cloudcredential` is indeed a valid type. It seems to be a drop-down menu that selects among the user's available Cloud Credentials.
This commit is contained in:
Andreas Lindhé
2023-12-12 19:46:21 +01:00
committed by GitHub
parent b20b29918f
commit 87bfa8c34a
@@ -108,7 +108,7 @@ This reference contains variables that you can use in `questions.yml` nested und
| variable | string | true | Define the variable name specified in the `values.yml` file, using `foo.bar` for nested objects. |
| label | string | true | Define the UI label. |
| description | string | false | Specify the description of the variable.|
| type | string | false | Default to `string` if not specified (current supported types are string, multiline, boolean, int, enum, password, storageclass, hostname, pvc, and secret).|
| type | string | false | Default to `string` if not specified (current supported types are string, multiline, boolean, int, enum, password, storageclass, hostname, pvc, secret and cloudcredential).|
| default | string | false | Specify the default value. Only used if there is no corresponding value in the `values.yml` file. |
| group | string | false | Group questions by input value. |
| options | []string | false | Specify the options when the variable type is `enum`, for example: options:<br/> - "ClusterIP" <br/> - "NodePort" <br/> - "LoadBalancer"|