Skip to content
Open
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: 2 additions & 0 deletions charts/apisix-ingress-controller/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ The same for container level, you need to set:
| gatewayProxy.provider.controlPlane.auth.type | string | `"AdminKey"` | |
| gatewayProxy.provider.controlPlane.endpoints | list | `[]` | |
| gatewayProxy.provider.type | string | `"ControlPlane"` | |
| gatewayProxy.publishService | string | `""` | publishService specifies the LoadBalancer-type Service whose external address the controller uses to update the status of Ingress resources. Example: [Namespace]/[APISIX_LoadBalancer_Service]. Applicable to ingress resources. |
| gatewayProxy.statusAddress | string | `""` | statusAddress specifies the external IP addresses that the controller uses to populate the status field of GatewayProxy or Ingress resources for developers to access. statusAddress has higher priority than publishService. |
| labelsOverride | object | `{}` | Override default labels assigned to Apache APISIX ingress controller resource |
| nameOverride | string | `""` | Default values for apisix-ingress-controller. This is a YAML-formatted file. Declare variables to be passed into your templates. |
| podDisruptionBudget | object | `{"enabled":false,"maxUnavailable":1,"minAvailable":"90%"}` | See https://kubernetes.io/docs/tasks/run-application/configure-pdb/ for more details |
Expand Down
6 changes: 6 additions & 0 deletions charts/apisix-ingress-controller/templates/gatewayproxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,10 @@ spec:
auth:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.gatewayProxy.publishService }}
publishService: {{ .Values.gatewayProxy.publishService }}
{{- end }}
{{- if .Values.gatewayProxy.statusAddress }}
statusAddress: {{ .Values.gatewayProxy.statusAddress }}
{{- end }}
{{- end }}
8 changes: 8 additions & 0 deletions charts/apisix-ingress-controller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,14 @@ gatewayProxy:
type: AdminKey
adminKey:
value: "edd1c9f034335f136f87ad84b625c8f1"
# -- publishService specifies the LoadBalancer-type Service whose external address the controller uses to update the
# status of Ingress resources. Example: [Namespace]/[APISIX_LoadBalancer_Service]. Applicable to ingress resources.
publishService: ""
# publishService: apisix-ingress/apisix-gateway

# -- statusAddress specifies the external IP addresses that the controller uses to populate the status field
# of GatewayProxy or Ingress resources for developers to access. statusAddress has higher priority than publishService.
statusAddress: ""

apisix:
adminService:
Expand Down
Loading