From b7ad2dfae2a312d3fed32ca57d5e4740d7865f7e Mon Sep 17 00:00:00 2001 From: Gosha Date: Fri, 23 Jun 2023 09:26:51 +0300 Subject: [PATCH] fix: remove argo configuration requierments Signed-off-by: Gosha --- pkg/conf/workflow_server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/conf/workflow_server.go b/pkg/conf/workflow_server.go index 876e0b36..285ba4ca 100644 --- a/pkg/conf/workflow_server.go +++ b/pkg/conf/workflow_server.go @@ -6,8 +6,8 @@ import ( ) type WorkflowServerConfig struct { - ArgoToken string `envconfig:"ARGO_WORKFLOWS_TOKEN" required:"true"` - ArgoAddress string `envconfig:"ARGO_WORKFLOWS_ADDRESS" required:"true"` + ArgoToken string `envconfig:"ARGO_WORKFLOWS_TOKEN" required:"false"` + ArgoAddress string `envconfig:"ARGO_WORKFLOWS_ADDRESS" required:"false"` CreateCRD bool `envconfig:"ARGO_WORKFLOWS_CREATE_CRD" default:"true"` Namespace string `envconfig:"ARGO_WORKFLOWS_NAMESPACE" default:"default"` KubeConfig string `envconfig:"KUBE_CONFIG" default:""`