From f9b6818abcdf079473ba27c38e9f94c73aa1b37c Mon Sep 17 00:00:00 2001 From: Alexei Ledenev Date: Wed, 10 May 2023 12:08:23 +0300 Subject: [PATCH] make kubeconfig non-required for in-cluster --- cmd/main.go | 7 +++---- deploy/deployment.yaml | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/cmd/main.go b/cmd/main.go index 8924eeb..86c7a3d 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -102,10 +102,9 @@ func main() { EnvVars: []string{"CLUSTER_NAME"}, }, &cli.StringFlag{ - Name: "kubeconfig", - Usage: "Path to kubeconfig file", - Required: true, - EnvVars: []string{"KUBECONFIG"}, + Name: "kubeconfig", + Usage: "Path to kubeconfig file", + EnvVars: []string{"KUBECONFIG"}, }, &cli.StringFlag{ Name: "stream-name", diff --git a/deploy/deployment.yaml b/deploy/deployment.yaml index 65473a6..233f067 100644 --- a/deploy/deployment.yaml +++ b/deploy/deployment.yaml @@ -22,7 +22,7 @@ spec: env: - name: CLUSTER_NAME value: gaia-cost - - name: FIREHOSE_STREAM_NAME + - name: STREAM_NAME value: eks-lens imagePullPolicy: Always restartPolicy: Always