Skip to content

Commit

Permalink
make kubeconfig non-required for in-cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
alexei-led committed May 10, 2023
1 parent 1466604 commit f9b6818
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion deploy/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f9b6818

Please sign in to comment.