feat(kong): allow using templates when specifying controller.proxy.nameOverride
#914
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
When using the
ingress
chartwe have to specify the proxy name override
charts/charts/ingress/values.yaml
Line 7 in 824d022
in order to get controller's
CONTROLLER_PUBLISH_SERVICE
set properly.Currently the override is set to
kong-gateway-proxy
which works only when the release name (set by the user) iskong
. When a different release name is chosen users have to know what to change and how to change it, e.g. when using a release namekong123
controller.proxy.nameOverride
has to be set tokong123-gateway-proxy
.Without this change installing the
ingress
chart usingkong123
release name yields the following controller env variables:With this change:
without the user specifying the override themselves.
Release
kong/kong
chart 2.30.0.