diff --git a/src/openapi/cluster.yaml b/src/openapi/cluster.yaml index 8668f68c..487b26f7 100644 --- a/src/openapi/cluster.yaml +++ b/src/openapi/cluster.yaml @@ -31,6 +31,16 @@ Cluster: default: otomi provider: $ref: 'definitions.yaml#/provider' + linode: + additionalProperties: false + properties: + tier: + type: string + description: Linode Kubernetes Engine tier (standard LKE or enterprise LKE-E) + default: standard + enum: + - standard + - enterprise defaultStorageClass: title: Default storage class type: string diff --git a/src/openapi/settingsinfo.yaml b/src/openapi/settingsinfo.yaml index e9d8af35..a926e973 100644 --- a/src/openapi/settingsinfo.yaml +++ b/src/openapi/settingsinfo.yaml @@ -16,6 +16,16 @@ SettingsInfo: description: URL to the Kubernetes API. Used to generate the KUBECONFIG for download, for direct access to the cluster. provider: $ref: 'definitions.yaml#/provider' + linode: + additionalProperties: false + properties: + tier: + type: string + description: Linode Kubernetes Engine tier (standard LKE or enterprise LKE-E) + default: standard + enum: + - standard + - enterprise dns: properties: zones: diff --git a/src/otomi-stack.ts b/src/otomi-stack.ts index 10917da2..4e6641b2 100644 --- a/src/otomi-stack.ts +++ b/src/otomi-stack.ts @@ -400,7 +400,7 @@ export default class OtomiStack { getSettingsInfo(): SettingsInfo { return { - cluster: pick(this.repoService.getCluster(), ['name', 'domainSuffix', 'apiServer', 'provider']), + cluster: pick(this.repoService.getCluster(), ['name', 'domainSuffix', 'apiServer', 'provider', 'linode']), dns: pick(this.repoService.getDns(), ['zones']), otomi: pick(this.repoService.getOtomi(), ['hasExternalDNS', 'hasExternalIDP', 'isPreInstalled', 'aiEnabled']), smtp: pick(this.repoService.getSmtp(), ['smarthost']),