Sign inSign up

damour/helm

By damour

•Updated about 8 years ago

helm & kubectl configured with environment variables or mounted volume

Image
0

10K+

damour/helm repository overview

⁠Usage

With environment variables:

➜ docker run -e KUBECFG_SERVER=https://hostname:port -e KUBECFG_CERTIFICATE_AUTHORITY_DATA={base64crt} --rm -it damour/kubectl kubectl get nodes

Mounted volume with config:

➜ ls -l /src/kube_config
ca.crt  config  gitlab-ci.crt  gitlab-ci.key

➜ docker run -v /src/kube_config:/root/.kube --rm -it damour/kubectl kubectl get nodes

⁠Environment Variables

These environment variables can be used to configure the deployment.

⁠Cluster

KUBECFG_SERVER

Address of the Kubernetes API Server (https://hostname:port⁠)

KUBECFG_API_VERSION

Preferred api version for communicating with the kubernetes cluster (v1, v2, etc)

KUBECFG_INSECURE_SKIP_TLS_VERIFY

Disable requirement that connections must pass TLS verification

KUBECFG_CERTIFICATE_AUTHORITY

Path to a cert file for the certificate authority.

KUBECFG_CERTIFICATE_AUTHORITY_DATA

Certificate data

⁠User

KUBECFG_CLIENT_CERTIFICATE

Path to a client cert file for TLS

KUBECFG_CLIENT_CERTIFICATE_DATA

TLS client cert data

KUBECFG_CLIENT_KEY

Path to a client key file for TLS.

KUBECFG_CLIENT_KEY_DATA

Key data

KUBECFG_TOKEN

Bearer token for cluster auth

KUBECFG_USERNAME

Username for basic auth

KUBECFG_PASSWORD

Password for basic auth

Tag summary

Content type

Image

Digest

Size

24.1 MB

Last updated

about 8 years ago

docker pull damour/helm