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
4 changes: 4 additions & 0 deletions charts/gateway/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,10 @@ The command removes all the Kubernetes components associated with the chart and
| serviceMonitor.name | string | `""` | name of the serviceMonitor, by default, it is the same as the apisix fullname |
| serviceMonitor.namespace | string | `""` | namespace where the serviceMonitor is deployed, by default, it is the same as the namespace of the apisix |
| serviceMonitor.path | string | `"/apisix/prometheus/metrics"` | path of the metrics endpoint |
| soapProxy.enabled | bool | `false` | Enable or disable the SOAP proxy, this component is disabled by default, when use soap-proxy plugin in API7, you need to enable this component. |
| soapProxy.image.pullPolicy | string | `"IfNotPresent"` | SOAP proxy image pull policy |
| soapProxy.image.repository | string | `"api7/soap-proxy"` | SOAP proxy image repository |
| soapProxy.image.tag | string | `"1.0.0"` | SOAP proxy image tag |
| updateStrategy | object | `{}` | |
| vault.enabled | bool | `false` | Enable or disable the vault integration |
| vault.host | string | `""` | The host address where the vault server is running. |
Expand Down
33 changes: 31 additions & 2 deletions charts/gateway/templates/_pod.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,15 @@ spec:
- name: http-{{ .port | toString }}
containerPort: {{ .port }}
protocol: TCP
{{- end }}
{{- end }}
- name: tls
containerPort: {{ .Values.gateway.tls.containerPort }}
protocol: TCP
{{- range .Values.gateway.tls.additionalContainerPorts }}
- name: tls-{{ .port | toString }}
containerPort: {{ .port }}
protocol: TCP
{{- end }}
{{- end }}
{{- if .Values.admin.enabled }}
- name: admin
containerPort: {{ .Values.admin.port }}
Expand Down Expand Up @@ -165,6 +165,35 @@ spec:
{{- end }}
resources:
{{- toYaml .Values.apisix.resources | nindent 8 }}
{{- if .Values.soapProxy.enabled }}
- name: soap-proxy
image: {{ .Values.soapProxy.image.repository }}:{{ .Values.soapProxy.image.tag }}
imagePullPolicy: {{ .Values.soapProxy.image.pullPolicy }}
ports:
- containerPort: 5000
name: http
protocol: TCP
readinessProbe:
failureThreshold: 6
initialDelaySeconds: 5
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 1
httpGet:
path: /_healthz
port: http
scheme: HTTP
livenessProbe:
failureThreshold: 6
initialDelaySeconds: 5
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 1
httpGet:
path: /_healthz
port: http
scheme: HTTP
{{- end }}
{{- if .Values.apisix.hostNetwork }}
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
Expand Down
12 changes: 12 additions & 0 deletions charts/gateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -564,3 +564,15 @@ vault:
token: ""
# -- Prefix allows you to better enforcement of policies.
prefix: ""

soapProxy:
# -- Enable or disable the SOAP proxy, this component is disabled by default,
# when use soap-proxy plugin in API7, you need to enable this component.
enabled: false
image:
# -- SOAP proxy image repository
repository: api7/soap-proxy
# -- SOAP proxy image tag
tag: 1.0.0
# -- SOAP proxy image pull policy
pullPolicy: IfNotPresent
Loading