Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question]: Set Kubernetes Connection programmatically without creating a Service Connection in advance #20485

Open
1 of 4 tasks
priscofarina opened this issue Sep 30, 2024 · 0 comments

Comments

@priscofarina
Copy link

Task name

HelmDeploy@0

Task version

No response

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Ubuntu

Question

Hi guys,
 is it possible to use the task of HelmDeploy@0 without defining a service connection on Azure DevOps?

I am using an openshift environment (CaaS) and I can't define the service connection since the kubeconfig configuration expires after a while.
I have seen that I could update the service connection definite on Azure DevOps using the Azure DevOps Api, but I was wondering if I could perform something different like getting the kubeconfig in a string and setting the content of the kubernetesServiceConnection to the specific parameter containing such content, maybe filled by a previous step of the task.

Is there any advice about that?
Thank you
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant