8000 Registry viewer environment variables not being properly set · Issue #1016 · devfile/api · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Registry viewer environment variables not being properly set #1016
Closed
@michael-valdron

Description

@michael-valdron

Which area this feature is related to?

/kind bug

Which area this bug is related to?

/area registry

What versions of software are you using?

Go project

Operating System and version: RHEL 8.7

Go Pkg Version: 1.17

Node.js project

Operating System and version:

Node.js version: 16

Yarn version: 1.22.19

Project.json:

Bug Summary

Describe the bug:

Currently, the environment variables for the registry viewer are being set under a mounted envfile /app/apps/registry-viewer/.env.local. It should be set under a mounted envfile /app/.env.production, in addition the environment variables needs to be loaded on deployment in the template spec rather than just loaded from the envfile by Next.js.

blocks #1006, #1014

To Reproduce:

Deployment using the current OpenShift template specs and registry operator.

Expected behavior

Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable

Additional context

Any workaround?

None.

Suggestion on how to fix the bug

Environment variables need to be set in both the mounted envfile and in the deployment spec.

Target Date: 02-09-2023

Metadata

Metadata

Labels

area/registryDevfile registry for stacks and infrastructurekind/bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0