Skip to content
Closed
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
10 changes: 10 additions & 0 deletions charts/apisix/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,16 @@ data:
{{- end }}
{{- else }}
apisix: # universal configurations
{{- if .Values.apisix.encryption }}
data_encryption: # Data encryption settings
enable_encrypt_fields: {{ .Values.apisix.encryption.enabled }}
{{- if and .Values.apisix.encryption.keyring (gt (len .Values.apisix.encryption.keyring) 0) }}
keyring:
{{- range $key := .Values.apisix.encryption.keyring }}
- {{ $key | quote }}
{{- end }}
{{- end }}
{{- end }}
{{- if not (eq .Values.apisix.deployment.role "control_plane") }}
node_listen: # APISIX listening port
- {{ .Values.service.http.containerPort }}
Expand Down
9 changes: 9 additions & 0 deletions charts/apisix/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,15 @@ apisix:
ip: "0.0.0.0"
port: 7085

# -- Data encryption settings.
encryption:
# -- Enable or disable the encryption feature.
enabled: true
# -- The keyring used for encryption and decryption of sensitive data.
# leave empty to use the default keyring.
keyring: []
# - "0123456789abcdef"

# -- When configured, APISIX will trust the `X-Forwarded-*` Headers passed in requests from the IP/CIDR in the list.
trustedAddresses:
- 127.0.0.1
Expand Down