This is an automated email from the ASF dual-hosted git repository.

nic-6443 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-helm-chart.git


The following commit(s) were added to refs/heads/master by this push:
     new c44d8c5  fix: apisix control service&ingress fix. (#923)
c44d8c5 is described below

commit c44d8c562aab23e8bffba86709ed356009de6c3e
Author: silence8013 <[email protected]>
AuthorDate: Wed Sep 30 15:13:14 2026 +0800

    fix: apisix control service&ingress fix. (#923)
    
    Co-authored-by: jiyufeng048 <[email protected]>
---
 charts/apisix/templates/ingress-control.yaml | 2 +-
 charts/apisix/templates/service-control.yaml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/charts/apisix/templates/ingress-control.yaml 
b/charts/apisix/templates/ingress-control.yaml
index a53c7f6..0c26004 100644
--- a/charts/apisix/templates/ingress-control.yaml
+++ b/charts/apisix/templates/ingress-control.yaml
@@ -16,7 +16,7 @@
 
 {{- if (and .Values.control.enabled .Values.control.ingress.enabled) -}}
 {{- $fullName := include "apisix.fullname" . -}}
-{{- $svcPort := .Values.control.servicePort -}}
+{{- $svcPort := .Values.control.service.servicePort -}}
 {{- if and .Values.control.ingress.className (not (semverCompare ">=1.18-0" 
.Capabilities.KubeVersion.GitVersion)) }}
   {{- if not (hasKey .Values.control.ingress.annotations 
"kubernetes.io/ingress.class") }}
   {{- $_ := set .Values.control.ingress.annotations 
"kubernetes.io/ingress.class" .Values.control.ingress.className}}
diff --git a/charts/apisix/templates/service-control.yaml 
b/charts/apisix/templates/service-control.yaml
index 0519aed..68628b8 100644
--- a/charts/apisix/templates/service-control.yaml
+++ b/charts/apisix/templates/service-control.yaml
@@ -13,7 +13,7 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
-{{ if (and .Values.apisix.enabled .Values.control.enabled) }}
+{{ if .Values.control.enabled }}
 apiVersion: v1
 kind: Service
 metadata:

Reply via email to