From 5846a8416c6c7046cd1c0187e75a41b7000485f4 Mon Sep 17 00:00:00 2001 From: mgianluc Date: Thu, 9 Jan 2025 09:19:32 +0100 Subject: [PATCH] Add SFTP constants --- api/v1beta1/techsupport_type.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/api/v1beta1/techsupport_type.go b/api/v1beta1/techsupport_type.go index 2cfd2da..c328971 100644 --- a/api/v1beta1/techsupport_type.go +++ b/api/v1beta1/techsupport_type.go @@ -27,6 +27,19 @@ const ( TechsupportFinalizer = "techsupportfinalizer.projectsveltos.io" ) +// SFTP constant +// To have Sveltos upload to an SFTP, create a Secret of type "addons.projectsveltos.io/cluster-profile" +// In the data section set following fields +const ( + SFTPHost = "SFTP_HOST" + SFTPPort = "SFTP_PORT" + SFTPPath = "SFTP_PATH" + SFTPHostKey = "SFTP_HOST_KEY" + SFTPUsername = "STFP_USERNAME" + SFTPPassowrd = "SFTP_PASSWORD" + SFTPCert = "SFTP_CERT" +) + // LogFilter allows to select which logs to collect type Log struct { // Namespace of the pods deployed in the Cluster.