Skip to content

Conversation

@jompu
Copy link

@jompu jompu commented Feb 2, 2024

Related to issue: #705

Allow to set standalone configuration with chart values or by using existing ConfigMap.

@merriadoc
Copy link

This pull request will be wonderfull ! :-)

@jompu jompu requested a review from exxbrain February 16, 2024 06:40
@kedare
Copy link

kedare commented Feb 22, 2024

Something that could be interesting to add, we should name the configmap dynamically with the name of the relase (like most others k8s objects I think right now)

As of today we cannot have multiple releases of apisix in a single namespace because of this (conflict on the fixed apisix.yaml configmap name)

… values and added option to set the rules configuration with an existing configmap.
@jompu jompu force-pushed the more-standalone-config-options branch from d37c54b to 142baa3 Compare June 17, 2024 10:08
@jompu jompu changed the base branch from dev to master June 17, 2024 10:08
@jompu
Copy link
Author

jompu commented Jun 17, 2024

The 2.x development has changed from dev to master since I created this, so I have updated the branch to match latest master. And this pull request to merge into master.

@jompu
Copy link
Author

jompu commented Jun 17, 2024

@Gallardot Maybe you can help to get this forward also.

The chart is not usable in standalone mode without this.

@bruhsb
Copy link

bruhsb commented Sep 4, 2024

hey folks o/

I'm facing the same issue, I needed to use strategicMergePatches in helmfile to rewrite the volume apisix-admin to use standalone mode with a custom configmap T_T

Can I do something to help this PR to move forward? :) @Gallardot

@ranjanashish
Copy link

@Gallardot @exxbrain Can one of you help move this forward please?

As others have noted, in its current state, this Helm chart is unusable for standalone mode. This is particularly surprising because even the FAQs has details on how to deploy APISIX in standalone mode. And yes, the command used in the FAQ will deploy APISIX in standalone mode but won't let you configure routes or anything - essentially it will deploy a dummy APISIX that is not usable.

@j4rj4r
Copy link

j4rj4r commented Dec 13, 2024

Hello !

This pull request is essential for ensuring a fully functional and easily deployable standalone mode.
As it stands, the current Helm chart configuration isn’t practical for automation or GitOps.

thanks,

@jompu
Copy link
Author

jompu commented Jan 17, 2025

I have moved to use Bitnami's APISIX helm chart, which is much more versatile and allows also standalone configuration.

EDIT: Bitnami chart is not an option anymore.

@TheShubhendra
Copy link

I am facing the same issue. As a quick work around after deploying the apisix, I am updating the apisix.yaml ConfigMap from another yaml file

@paalgyula
Copy link

@exxbrain what is the status on your review? It would be really helpful for us too!

@alekc
Copy link

alekc commented Aug 25, 2025

Still relevant.

Meanwhile my workaround with helmfile

  - name: apisix
    namespace: apisix
    chart: apisix/apisix
    version: 2.11.5
    strategicMergePatches:
      - apiVersion: v1
        kind: ConfigMap
        metadata:
          name: apisix.yaml
        data:
          apisix.yaml: |-
            {{- .Values.apisix.apisix.standaloneConfig | toYaml | nindent 12 }}
            #END
      - apiVersion: apps/v1
        kind: Deployment
        metadata:
          name: apisix
          namespace: apisix
        spec:
          template:
            metadata:
              annotations:
                checksum/config: {{ .Values.apisix.apisix.standaloneConfig | toYaml | sha256sum }}

              # END
    values:
      - {{- .Values | get "apisix" (dict) | toYaml | nindent 8}}

@yelga
Copy link

yelga commented Oct 15, 2025

@exxbrain @espizo Would it be possible to move forward with the review?
As seen in the comments on this PR, this feature would be appreciated by many.

@jompu
Copy link
Author

jompu commented Oct 20, 2025

@exxbrain @espizo Would it be possible to move forward with the review? As seen in the comments on this PR, this feature would be appreciated by many.

Especially because Bitnami chart is not alternative option anymore.

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

Successfully merging this pull request may close these issues.