Skip to content

bug: a bug cannot deploy service-control.yaml with helm in charts-2.10.0 #2351

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
simondeting opened this issue Feb 12, 2025 · 0 comments
Open

Comments

@simondeting
Copy link

Current Behavior

  • helm pull apisix/apisix --untar # got apisix-2.10.0.tgz
  • helm upgrade --install apisix ./apisix --namespace apisix
no service named apisix-control

Expected Behavior

have a service named apisix-control

Error Logs

No response

Steps to Reproduce

  1. check service, no service named apisix-control
  2. read charts code, find the problem:
  • apisix/tepmlates/service-control.yaml
{{ if (and .Values.apisix.enabled .Values.control.enabled) }}
apiVersion: v1
kind: Service
metadata:
  ...
  • but apisix.enabled not in apisix/values.yaml, it is undefined.
apisix:
  # -- Enable nginx IPv6 resolver
  enableIPv6: true
  enableHTTP2: true
  ...
  1. solve: {{ if (and .Values.apisix.enabled .Values.control.enabled) }} change to {{ if (.Values.control.enabled) }}

Environment

  • APISIX Ingress controller version (3.11.0)
  • Kubernetes cluster version (v1.28.0)
  • OS version if running APISIX Ingress controller in a bare-metal environment (run uname -a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant