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.33
version: 0.2.34

# 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 @@ -147,6 +147,7 @@ The command removes all the Kubernetes components associated with the chart and
| deployment.certs.certsSecret | string | `""` | secret name used for decoupled mode |
| deployment.certs.mTLSCACert | string | `""` | mTLS CA cert filename in mTLSCACertSecret |
| deployment.certs.mTLSCACertSecret | string | `""` | trusted_ca_cert name in certsSecret |
| deployment.fallback_cp | object | `{}` | use cloud storage as the fallback control plane, should be consistent with the same configuration in control plane side. |
| discovery.enabled | bool | `false` | Enable or disable API7 Gateway integration service discovery |
| discovery.registry | object | `{}` | Registry is the same to the one in APISIX [config-default.yaml](https://github.com/apache/apisix/blob/master/conf/config-default.yaml#L281), and refer to such file for more setting details. also refer to [this documentation for integration service discovery](https://apisix.apache.org/docs/apisix/discovery) |
| dns.resolvers[0] | string | `"127.0.0.1"` | |
Expand Down
8 changes: 8 additions & 0 deletions charts/gateway/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,13 @@ data:
{{- end }}

deployment:
{{- if .Values.deployment.fallback_cp }}
role: data_plane
role_data_plane:
config_provider: yaml
fallback_cp:
{{- toYaml .Values.deployment.fallback_cp | nindent 8 }}
{{- else }}
role: traditional
role_traditional:
config_provider: etcd
Expand Down Expand Up @@ -334,5 +341,6 @@ data:
sni: "{{ .Values.etcd.auth.tls.sni }}"
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
10 changes: 10 additions & 0 deletions charts/gateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,16 @@ rbac:
create: false

deployment:
# -- use cloud storage as the fallback control plane,
# should be consistent with the same configuration in control plane side.
fallback_cp: {}
# aws_s3:
# access_key: "access"
# secret_key: "secret"
# region: "ap-south-1"
# resource_bucket: "to-push-resource-data"
# config_bucket: "to-push-config-data"

# -- certs used for certificates in decoupled mode
certs:
# -- secret name used for decoupled mode
Expand Down
Loading