From 3c9671216c254cec168256ad7441d02a1ad1f86e Mon Sep 17 00:00:00 2001 From: Graham Dumpleton Date: Thu, 13 Jul 2023 13:14:31 -0600 Subject: [PATCH] Back port fix for not passing cookie session values when deploying using CLI. --- client-programs/pkg/cmd/admin_cluster_create_cmd.go | 1 + client-programs/pkg/cmd/admin_platform_config_cmd.go | 1 + client-programs/pkg/cmd/admin_platform_delete_cmd.go | 1 + client-programs/pkg/cmd/admin_platform_deploy_cmd.go | 1 + 4 files changed, 4 insertions(+) diff --git a/client-programs/pkg/cmd/admin_cluster_create_cmd.go b/client-programs/pkg/cmd/admin_cluster_create_cmd.go index 1aba69d1..db7e9db2 100644 --- a/client-programs/pkg/cmd/admin_cluster_create_cmd.go +++ b/client-programs/pkg/cmd/admin_cluster_create_cmd.go @@ -183,6 +183,7 @@ func (o *AdminClusterCreateOptions) Run() error { ClusterSecurity: fullConfig.ClusterSecurity, ClusterRuntime: fullConfig.ClusterRuntime, ClusterIngress: fullConfig.ClusterIngress, + SessionCookies: fullConfig.SessionCookies, ClusterStorage: fullConfig.ClusterStorage, ClusterSecrets: fullConfig.ClusterSecrets, TrainingPortal: fullConfig.TrainingPortal, diff --git a/client-programs/pkg/cmd/admin_platform_config_cmd.go b/client-programs/pkg/cmd/admin_platform_config_cmd.go index 359d5ef2..bfd7239b 100644 --- a/client-programs/pkg/cmd/admin_platform_config_cmd.go +++ b/client-programs/pkg/cmd/admin_platform_config_cmd.go @@ -140,6 +140,7 @@ func (o *AdminPlatformConfigUpdateOptions) Run() error { ClusterSecurity: fullConfig.ClusterSecurity, ClusterRuntime: fullConfig.ClusterRuntime, ClusterIngress: fullConfig.ClusterIngress, + SessionCookies: fullConfig.SessionCookies, ClusterStorage: fullConfig.ClusterStorage, ClusterSecrets: fullConfig.ClusterSecrets, TrainingPortal: fullConfig.TrainingPortal, diff --git a/client-programs/pkg/cmd/admin_platform_delete_cmd.go b/client-programs/pkg/cmd/admin_platform_delete_cmd.go index b5292e6a..a846699c 100644 --- a/client-programs/pkg/cmd/admin_platform_delete_cmd.go +++ b/client-programs/pkg/cmd/admin_platform_delete_cmd.go @@ -28,6 +28,7 @@ func (o *AdminPlatformDeleteOptions) Run() error { ClusterSecurity: fullConfig.ClusterSecurity, ClusterRuntime: fullConfig.ClusterRuntime, ClusterIngress: fullConfig.ClusterIngress, + SessionCookies: fullConfig.SessionCookies, ClusterStorage: fullConfig.ClusterStorage, ClusterSecrets: fullConfig.ClusterSecrets, TrainingPortal: fullConfig.TrainingPortal, diff --git a/client-programs/pkg/cmd/admin_platform_deploy_cmd.go b/client-programs/pkg/cmd/admin_platform_deploy_cmd.go index 2d2effa9..26ede5fd 100644 --- a/client-programs/pkg/cmd/admin_platform_deploy_cmd.go +++ b/client-programs/pkg/cmd/admin_platform_deploy_cmd.go @@ -52,6 +52,7 @@ func (o *AdminPlatformDeployOptions) Run() error { ClusterSecurity: fullConfig.ClusterSecurity, ClusterRuntime: fullConfig.ClusterRuntime, ClusterIngress: fullConfig.ClusterIngress, + SessionCookies: fullConfig.SessionCookies, ClusterStorage: fullConfig.ClusterStorage, ClusterSecrets: fullConfig.ClusterSecrets, TrainingPortal: fullConfig.TrainingPortal,