charts icon indicating copy to clipboard operation
charts copied to clipboard

[bitnami/apisix] Fix DOCS for Standalone Mode

Open jmorenoc-o opened this issue 7 months ago • 2 comments

Name and Version

bitnami/apisix 4.2.5

What architecture are you using?

amd64

What steps will reproduce the bug?

When using the documentation example values for standalone_mode: https://github.com/bitnami/charts/tree/main/bitnami/apisix#standalone-mode

And execute: helm template .

I have an error.

Are you using any custom parameters or values?

Documented example values for standalone mode https://github.com/bitnami/charts/tree/main/bitnami/apisix#standalone-mode

Values:

controlPlane:
  enabled: false
ingressController:
  enabled: false
etcd:
  enabled: false
dashboard:
  enabled: false
dataPlane:
  extraConfig:
    deployment:
      role_data_plane:
        config_provider: yaml
  extraVolumes:
    - name: routes
      configMap:
        name: apisix-routes
  extraVolumeMounts:
    - name: routes
      mountPath: /usr/local/apisix/conf/apisix.yaml
      subPath: apisix.yaml
extraDeploy:
  - apiVersion: v1
    kind: ConfigMap
    metadata:
      name: apisix-routes
    data:
      apisix.yaml: |-
        routes:
          -
            uri: /hello
            upstream:
                nodes:
                    "127.0.0.1:1980": 1
                type: roundrobin
        #END

What is the expected behavior?

Generate template without errors.

What do you see instead?

Error: template: apisix/charts/apisix/templates/data-plane/dep-ds.yaml:88:12: executing "apisix/charts/apisix/templates/data-plane/dep-ds.yaml" at <include "apisix.renderConfInitContainer" (dict "component" "data-plane" "context" $)>: error calling include: template: apisix/charts/apisix/templates/_helpers.tpl:674:118: executing "apisix.renderConfInitContainer" at <include "apisix.etcd.authEnabled" .>: error calling include: template: apisix/charts/apisix/templates/_helpers.tpl:550:14: executing "apisix.etcd.authEnabled" at <.Values.etcd.enabled>: nil pointer evaluating interface {}.etcd

Additional information

I solve the problem using:

usePasswordFiles: false

Please review and update DOCS or tell me if I am doing something wrong.

jmorenoc-o avatar May 22 '25 12:05 jmorenoc-o

Thank you for bringing this issue to our attention. We appreciate your involvement! If you're interested in contributing a solution, we welcome you to create a pull request. The Bitnami team is excited to review your submission and offer feedback. You can find the contributing guidelines here.

Your contribution will greatly benefit the community. Feel free to reach out if you have any questions or need assistance.

carrodher avatar May 23 '25 10:05 carrodher

and the last message means, stop using bitnami, go away, in simpler words

busyboy77 avatar Jun 05 '25 11:06 busyboy77

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

github-actions[bot] avatar Jun 21 '25 01:06 github-actions[bot]

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.

github-actions[bot] avatar Jun 26 '25 02:06 github-actions[bot]