-
Notifications
You must be signed in to change notification settings - Fork 80
Description
So, this is more of a discussion topic. I am aware there is no easy answer for this.
There is a general pattern of developing Kubernetes operators that generate other objects using Golang templates embedded as strings within a CRD. An example is the 'ExternalSecret' type, which supports pulling values from Azure Keyvault, etc, into K8S Secrets.
The 'ExternalSecret' CRD, for example, allows you to simply put a Golang template into the body of a Spec property, and the operator executes that template against the external secret data, allowing you to format the contents of the external secret.
https://external-secrets.io/v0.4.4/guides-templating/
Since K8s is so go-y, this makes good sense. It fits nicely into the eco system.
However, this presents an issue when using The DotNet operator! We don't have access to Go-lang templates! What to do!