We have an AWS EKS Kubernetes cluster with two factor authentication for all the kubectl commands.
- Is there a way of deploying an app into this cluster using a pod deployed inside the cluster?
- Can I deploy using helm charts or by specifying service account instead of kubeconfig file?
- Can I specify a service account(use the one that is assigned to the pod with kubectl) for all actions of kubectl?
All this is meant to bypass two-factor authentication for the continuous deployment via Jenkins, by deploying jenkins agent into the cluster and using it for deployments. Thanks.