From ce4d3d4c07d8e2fac81f3f5396984db2db382565 Mon Sep 17 00:00:00 2001 From: Arnob kumar saha Date: Wed, 5 Aug 2026 16:10:05 +0600 Subject: [PATCH] Add OfflineLicense to cluster ImportOptions Offline installers can't reach the licensor, so the license of the cluster being imported is supplied by the user in the import request. Signed-off-by: Arnob kumar saha --- apis/cluster/types.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apis/cluster/types.go b/apis/cluster/types.go index 19a1e16ec..25422a129 100644 --- a/apis/cluster/types.go +++ b/apis/cluster/types.go @@ -77,6 +77,9 @@ type ImportOptions struct { BasicInfo BasicInfo `json:"basicInfo,omitempty"` Provider ProviderOptions `json:"provider,omitempty"` Components ComponentOptions `json:"components,omitempty"` + // OfflineLicense is a raw PEM encoded license for the cluster being imported. + // Offline installers can't reach the licensor, so the license is supplied by the user. + OfflineLicense string `json:"offlineLicense,omitempty"` } type ConnectOptions struct {