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 · 1 comment
Labels

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)
Copy link

This issue has been marked as stale due to 90 days of inactivity. It will be closed in 30 days if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.

@github-actions github-actions bot added the stale label May 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant