From 3a8ed9c2abf2a2f711da6642f1617ef89d1d3119 Mon Sep 17 00:00:00 2001 From: GoshaDozoretz <106976988+gosharo@users.noreply.github.com> Date: Tue, 27 Jun 2023 10:39:58 +0300 Subject: [PATCH] fix: remove argo configuration requierments (#55) 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:""`