You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "ikatlinsky (via GitHub)" <gi...@apache.org> on 2023/07/26 06:10:11 UTC
[GitHub] [apisix-helm-chart] ikatlinsky opened a new issue, #586: feat: allow to use templates as values for apisix pod annotations
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: notifications-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-helm-chart] ikatlinsky closed issue #586: feat: allow to use templates as values for apisix pod annotations
Posted by "ikatlinsky (via GitHub)" <gi...@apache.org>.
ikatlinsky closed issue #586: feat: allow to use templates as values for apisix pod annotations
URL: https://github.com/apache/apisix-helm-chart/issues/586
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-helm-chart] ikatlinsky commented on issue #586: feat: allow to use templates as values for apisix pod annotations
Posted by "ikatlinsky (via GitHub)" <gi...@apache.org>.
ikatlinsky commented on issue #586:
URL: https://github.com/apache/apisix-helm-chart/issues/586#issuecomment-1717649577
closing as changes where merged and released in chart version 1.6.1
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org