Skip to content

Support for bearer token and other options in Helm client #5159

Closed

Description

@JTG2020

Output of helm version:
2.12
Output of kubectl version:
1.12
Cloud Provider/Platform (AKS, GKE, Minikube etc.): On Prem

I am opening this issue as suggested by @jdolitsky -[here] (helm/community#58).
Helm should support all or most options that kubectl supports with respect to command line. Currently we could not use helm in our organization in spite of its great features because it just works on the existence of kubeconfig files for authentication. We are using multiple Kubernetes clusters and deployments happening through centralize deployment tool which has pool of servers with kubectl and helm installed. As it is centralized pool of servers, we don;t want to have any kubeconfig files on servers, instead we are using bearer token provided by OIDC for authentication. In additional we are passing necessary parameters such as master url, namespace etc to kubectl at runtime to execute deployments.
The bearer token is masked from display as shown in below example -
kubectl --server=https://xyz.net:8443 --namespace=x-team1 --insecure-skip-tls-verify=true --token **** apply --filename=my-deployment.yaml
Note that "=" between parameter and value works with space as well e.g.
kubectl --server https://xyz.net:8443 --namespace x-team1 --insecure-skip-tls-verify true --token **** apply --filename my-deployment.yaml
With Helm we can not use any of these options and hence can not use helm.
I am hoping that as tiler is being removed from architecture, helm cli should also support options same as kubectl to perform deployments by passing parameters at run time as oppose to static kubeconfig file.
If you need any more information, please let me know. I can also help with testing if needed.

Again more details on issue can be found here in community issues

Activity

  1. bacongobbler commented on May 14, 2020

    @bacongobbler
    Member

    closing as inactive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions