codex-storage / cs-codex-dist-tests

Distributed System Tests for Nim-Codex
3 stars 3 forks source link

Option to set kubeConfigFile #8

Closed veaceslavdoina closed 1 year ago

veaceslavdoina commented 1 year ago

During Manual run inside Kubernetes via Job #7, we used custom app config and specified

                    kubeConfigFile: "/opt/kubeconfig.yaml",

for custom kubeconfig, to access Kubernetes cluster.

And we may consider the following

  1. A CLI option or environment variable to set a custom kubeconfig file
  2. It may be usefully to specify a context, in case when kubeconfig contains more than one - mostly for local use cases
  3. Handle KUBECONFIG as a native variable - Set the KUBECONFIG environment variable
veaceslavdoina commented 1 year ago

Now we have an environment variable KUBECONFIG in bc4035e723d7256fa891f5ec806088ae233a1bf0.