2

What is the best way to deploy a Helm chart using C#? Helm 3 is written in go and I could not find a C# wrapper, any advise on that? Thank you.

Florian Boehmak
  • 431
  • 4
  • 20
  • Can you share some details why you need language specific details? I used helm 3 to deploy Java, Nodejs and Python based applications. It is very simple. "helm upgrade --install [deployment] [chartdirectory]" – ARINDAM BANERJEE Jun 04 '20 at 17:54
  • I am automating the workflow of setting up basic components in a new kubernetes namespace. A frontend will trigger the workflow. – Florian Boehmak Jun 05 '20 at 07:42

1 Answers1

3

Helm is written in Go so unless you want to get incredibly fancy your best bet is running it as a subprocess like normal. A medium-fancy solution would be using one of the many Helm operators and then using a C# Kubernetes api client library to set the objects.

coderanger
  • 52,400
  • 4
  • 52
  • 75
  • Thanks for the advice. For now I will just do the variable substitution of kubernetes manifest files in C# and use the kubernetes api client library for deployment. – Florian Boehmak Jun 05 '20 at 07:36