jompu commented on code in PR #717:
URL: https://github.com/apache/apisix-helm-chart/pull/717#discussion_r1483949635
##########
charts/apisix/values.yaml:
##########
@@ -305,6 +305,24 @@ apisix:
# ref: https://apisix.apache.org/docs/apisix/deployment-modes/
role: "traditional"
+ # -- Standalone rules configuration
+ #
+ # ref: https://apisix.apache.org/docs/apisix/deployment-modes/#standalone
+ standalone:
+ # -- Rules which are set to the default apisix.yaml configmap.
+ # -- if apisix.delpoyment.standalone.existingConfigMap is empty, these
are used.
+ config: |
+ routes:
+ -
+ uri: /hi
+ upstream:
+ nodes:
+ "127.0.0.1:1980": 1
+ type: roundrobin
+ # -- Specifies the name of the ConfigMap that contains the rule
configurations.
+ # The configuration must be set to the key named `apisix.yaml` in the
configmap.
+ existingConfigMap: ""
Review Comment:
It is for this subchart issue:
https://github.com/apache/apisix-helm-chart/issues/705
Though I have not tested if this is really needed for that use case. But I
think there are many reasons that some one would like to use a configmap that
is created outside of this chart. For example related to devops automation,
where the configuration is defined/updated separate to the chart installation.
--
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]