From 2870c9111e2d3d6e816b9513b6eeeb33108730f3 Mon Sep 17 00:00:00 2001 From: Santhosh Date: Wed, 14 Dec 2022 14:27:45 +0530 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20add=20env=20and=20cacerts=20attribu?= =?UTF-8?q?tes=20to=20clusterplugin.cluster=20object=20(#556)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add env and cacerts attributes to clusterplugin.cluster object Signed-off-by: Santhosh Signed-off-by: Santhosh --- sdk/clusterplugin/config.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sdk/clusterplugin/config.go b/sdk/clusterplugin/config.go index 9a5fb2f..ce05bd5 100644 --- a/sdk/clusterplugin/config.go +++ b/sdk/clusterplugin/config.go @@ -50,6 +50,12 @@ type Cluster struct { // Options are arbitrary values the sdk may be interested in. These values are not validated by Kairos and are simply forwarded to the sdk. Options string `yaml:"config,omitempty" json:"config,omitempty"` + + // Env contains the list of environment variables to be set on the cluster + Env map[string]string `yaml:"env,omitempty" json:"env,omitempty"` + + // CACerts list of trust certificates. + CACerts []string `yaml:"ca_certs,omitempty" json:"ca_certs,omitempty"` } type Config struct {