Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add env path to frontend index file #255

Merged
merged 5 commits into from
Jun 8, 2023

Conversation

mamy-CS
Copy link
Collaborator

@mamy-CS mamy-CS commented Jun 7, 2023

Fixing the issue #256

Signed-off-by: Mohammed Abdi <mohammma@usc.edu>
Signed-off-by: Mohammed Abdi <mohammma@usc.edu>
Signed-off-by: Mohammed Abdi <mohammma@usc.edu>
Signed-off-by: Mohammed Abdi <mohammma@usc.edu>
@mrsabath
Copy link
Collaborator

mrsabath commented Jun 8, 2023

Switching to use ./build/tmp/env.js
This requires a read-write access to /usr/src/app/build/tmp directory.

Setup the frontend container with:

    volumeMounts:
      - mountPath: /usr/src/app/build/tmp
         name: env
   volumes:
     - emptyDir: {}
        name: env   

Copy link
Collaborator

@mrsabath mrsabath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Signed-off-by: Mohammed Abdi <mohammma@usc.edu>
@mamy-CS mamy-CS merged commit ef9bb5b into main Jun 8, 2023
@mrsabath mrsabath changed the title Adding env path to frontend index file Add env path to frontend index file Jun 8, 2023
@mrsabath
Copy link
Collaborator

mrsabath commented Jun 8, 2023

This PR un-blocks the helm-chart PR spiffe/helm-charts#328

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.

2 participants