Skip to content

Commit

Permalink
feat: inject frontend context config map into pod spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyperkid123 committed Nov 14, 2024
1 parent 7a90a42 commit cb5d7d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bonfire/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,9 @@ def process_clowd_env(target_ns, quay_user, env_name, template_path, local=True)

params = dict()
params["ENV_NAME"] = env_name
# The config map generated by FEO is in ephemeral named after the env
# There are some future ideas to make this more flexible, but in order to make the new FEO work in ephemeral, we need the name of the frontend config map to be available in the pod spec
params["FRONTEND_CONTEXT_NAME"] = env_name
if quay_user:
quay_user = quay_user.replace("_", "-")
params["PULL_SECRET_NAME"] = f"{quay_user}-pull-secret"
Expand Down

0 comments on commit cb5d7d3

Please sign in to comment.