cancel
Showing results for 
Search instead for 
Did you mean: 
  • 1,119 Views

Import existing helm charts into Go Operator

Jump to solution

Hello Team,

I am trying to build an golang operator to deploy an application. The application was deployed using helm charts. How can use these existing helm charts with my golang operator ? what are the options available

 

Thank You, 

'JSR

 

Labels (2)
2 Solutions

Accepted Solutions
tnishiok
Flight Engineer
Flight Engineer
  • 1,058 Views

Hi @snjonnaljsr,

You may be interested in the Hybrid Helm Operators architecture. It can combines Helm and Golang Operator so that you can add custom logic to the reconcile loop. The library namely 'helm-operator-plugins' is availabler for that purpose.

Regards,
Toshi

View solution in original post

tnishiok
Flight Engineer
Flight Engineer
  • 1,058 Views

Here are the example steps to implement a custom logic for the nginx existing helm chart. It registers a hook function to the reconcile loop to get events of depoyment or status change (e.g. replicas change).

sc1.jpg

sc2.jpg

sc3.jpg

In this example the hook just prints log messages, but you can implement your custom logic whatever you want to achieve.

Regards,
Toshi

 

View solution in original post

2 Replies
tnishiok
Flight Engineer
Flight Engineer
  • 1,059 Views

Hi @snjonnaljsr,

You may be interested in the Hybrid Helm Operators architecture. It can combines Helm and Golang Operator so that you can add custom logic to the reconcile loop. The library namely 'helm-operator-plugins' is availabler for that purpose.

Regards,
Toshi

tnishiok
Flight Engineer
Flight Engineer
  • 1,059 Views

Here are the example steps to implement a custom logic for the nginx existing helm chart. It registers a hook function to the reconcile loop to get events of depoyment or status change (e.g. replicas change).

sc1.jpg

sc2.jpg

sc3.jpg

In this example the hook just prints log messages, but you can implement your custom logic whatever you want to achieve.

Regards,
Toshi

 

Join the discussion
You must log in to join this conversation.