Open mk2134226 opened 1 month ago
Thanks for opening this issue @mk2134226 , I've opened an issue internally and I'll update this issue when we have a fix.
A fix for this was merged into main and will be included in the next monthly release
@henryrecker-pingidentity Thanks , is there any simple way to add annotation only to service accounts ? rather to all resources ?
Currently there isn't a way built-in to the chart to do this. You can do this with a kustomize post renderer (similar to https://github.com/pingidentity/pingidentity-devops-getting-started/blob/master/30-helm/read-only-filesystem/kustomize/kustomization.yaml) to set the desired annotation.
@henryrecker-pingidentity This limitation also affects services. For instance, I need to add a traefik servertransport annotation to the service resources created by the helm chart but can only do so by adding the annotation globally to every resource. While this doesn't immediately cause an issue, it is very confusing and causes stateful set update issues if the annotation ever changes (The annotation is added to the persistent volume templates).
Is it possible to modify the helm chart to allow annotations and labels for resources that do not currently support sourcing values from the values.yaml?
Unfortunately the kustomize workaround doesn't easily apply as I am using a gitops tool to render the tempaltes, argocd in this case.
Hi @corybolar , thank you for the feedback. I'll open an internal ticket to track this request and will update you here when it is available.
If i use this
It works
But if i use
Then i get this error
**Error: UPGRADE FAILED: error validating "": error validating data: [apiVersion not set, kind not set] make: * [pingdevops] Error 1
Look like there is some issue with service account templates which are not able to parse annottaions