Skip to content

feat(apisix): render extraContainers through tpl - #1003

Open
ahmedgabers wants to merge 1 commit into
apache:masterfrom
ahmedgabers:feat/apisix-tpl-extra-containers
Open

ahmedgabers wants to merge 1 commit into
apache:masterfrom
ahmedgabers:feat/apisix-tpl-extra-containers

Conversation

@ahmedgabers

Copy link
Copy Markdown

extraContainers entries are raw container specs, so an image reference inside them cannot be composed from other values the way first-class image fields can. Rendering the list through tpl lets entries carry template expressions (e.g. image: "{{ .Values.someRepository }}:{{ .Values.someTag }}"), matching the common pattern for extra-container passthroughs. Plain specs render unchanged.

Verified with helm template: a templated entry expands correctly, and untemplated values render byte-identical to the current output. Chart version bumped 2.17.0 -> 2.17.1; values doc comment and README row updated.

extraContainers entries are raw container specs, so an image reference
inside them cannot be composed from other values the way first-class
image fields can. Rendering the list through tpl lets entries carry
template expressions (e.g. image: "{{ .Values.someRepository }}:{{ .Values.someTag }}"),
matching the common pattern for extra-container passthroughs. Plain
specs render unchanged.
@ahmedgabers

Copy link
Copy Markdown
Author

Fixes #1005.

@AlinsRan AlinsRan closed this Sep 30, 2026
@AlinsRan AlinsRan reopened this Sep 30, 2026
@AlinsRan AlinsRan closed this Sep 30, 2026
@AlinsRan AlinsRan reopened this Sep 30, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants