ikatlinsky opened a new issue, #586:
URL: https://github.com/apache/apisix-helm-chart/issues/586
**Problem**
Currently, apisix allows to use only plain text values for apisix pod
annotation. There can be cases when some template value should be rendered, for
example:
```yaml
podAnnotations:
checksum/plugins-config: "{{ tpl (toYaml .Values.apisix.customPlugins) . |
sha256sum }}"
```
**Proposal**
Update apisix pod template to allow tpl usage for annotations:
```yaml
metadata:
annotations:
checksum/config: {{ include (print $.Template.BasePath
"/configmap.yaml") . | sha256sum }}
{{- with .Values.apisix.podAnnotations }}
{{ tpl (toYaml .) $ | nindent 4}}
{{- end }}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]