Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/gateway/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.47
version: 0.2.48

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
1 change: 1 addition & 0 deletions charts/gateway/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ The command removes all the Kubernetes components associated with the chart and
| apisix.customLuaSharedDicts | list | `[]` | Add custom [lua_shared_dict](https://github.com/openresty/lua-nginx-module#toc88) settings, click [here](https://github.com/apache/apisix-helm-chart/blob/master/charts/apisix/values.yaml#L27-L30) to learn the format of a shared dict |
| apisix.customizedConfig | object | `{}` | If apisix.enableCustomizedConfig is true, full customized config.yaml. Please note that other settings about APISIX config will be ignored |
| apisix.deleteURITailSlash | bool | `false` | Delete the '/' at the end of the URI |
| apisix.dnsConfig | object | `{}` | Custom DNS settings for the APISIX pods |
| apisix.enableCustomizedConfig | bool | `false` | Enable full customized config.yaml |
| apisix.enableIPv6 | bool | `true` | Enable nginx IPv6 resolver |
| apisix.enableServerTokens | bool | `true` | Whether the APISIX version number should be shown in Server header |
Expand Down
4 changes: 4 additions & 0 deletions charts/gateway/templates/_pod.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,10 @@ spec:
dnsPolicy: ClusterFirstWithHostNet
{{- end }}
hostNetwork: {{ .Values.apisix.hostNetwork }}
{{- with .Values.apisix.dnsConfig }}
dnsConfig:
{{- toYaml . | nindent 4 }}
{{- end }}
initContainers:
{{- if .Values.etcd.enabled }}
- name: wait-etcd
Expand Down
3 changes: 3 additions & 0 deletions charts/gateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ apisix:
# memory: 128Mi
hostNetwork: false

# -- Custom DNS settings for the APISIX pods
dnsConfig: {}

# -- Node labels for API7 Gateway pod assignment
nodeSelector: {}
# -- List of node taints to tolerate
Expand Down
Loading