Skip to content

feat(aisix): import env vars from a whole Secret or ConfigMap - #437

Open
JensErat wants to merge 1 commit into
api7:mainfrom
JensErat:feat/aisix-env-from-secret
Open

JensErat wants to merge 1 commit into
api7:mainfrom
JensErat:feat/aisix-env-from-secret

Conversation

@JensErat

Copy link
Copy Markdown
Contributor

Add extraEnvVarsSecret and extraEnvVarsCM, rendered as envFrom on the gateway container, so an existing Secret or ConfigMap can supply every environment variable at once instead of listing each key under extraEnvVars. The Secret is rendered after the ConfigMap, so it wins on a repeated key; explicit env entries still take precedence over both.

Kept the naming that is already in place in the gateway chart.

Add extraEnvVarsSecret and extraEnvVarsCM, rendered as envFrom on the
gateway container, so an existing Secret or ConfigMap can supply every
environment variable at once instead of listing each key under
extraEnvVars. The Secret is rendered after the ConfigMap, so it wins on a
repeated key; explicit env entries still take precedence over both.
@coderabbitai

coderabbitai Bot commented Nov 21, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9b43c1d5-a237-48f9-bca6-a276cfc80f26
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

This branch has not been deployed

No deployments
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.

1 participant