Comments (4)
Thinking out loud. It sounds like OP is looking to enable GQL playground for development
builds (substitute for your own environments). Is that correct? I noticed in the Reaction Development platform itself graphql is available for production
builds at the URL https://api.reaction.local/graphql
(substitute for your URL) thereby making the API available to outside consumers. Is that something which servicing this issue could help achieve?
from mailchimp-open-commerce-helm-chart.
So because NODE_ENV = production , the default is that playground is disabled. Playground can be independently controlled via the GRAPHQL_PLAYGROUND_ENABLED var, I would be happy to add that as a chart value. NODE_ENV as a chart value is not typically the done thing, so not sure on that one.
I am however contemplating adding an additional environment variables section to the values, that would allow you to inject your own custom environment variables without modifying the chart.
Thoughts?
from mailchimp-open-commerce-helm-chart.
I am however contemplating adding an additional environment variables section to the values, that would allow you to inject your own custom environment variables without modifying the chart.
I haven't personally tried the Helm Chart yet but it's on my list of TODOs. If it works anything like Compose files, perhaps an override.yml
file of some sort could be used to adjust existing ENV vars only so as not to confuse what's in Reaction proper with the Helm Chart. Otherwise perhaps a prefix (e.g. HELM_
) could be used? In Storefront, there's some specific care needed to ensure server-side env vars aren't leaked into the generated bundles AFIAK—something also to consider.
from mailchimp-open-commerce-helm-chart.
Added support for playground in #14
Closing this issue and will create another for adhoc config.
from mailchimp-open-commerce-helm-chart.
Related Issues (13)
- Typo in api deployment template for mailUrl HOT 1
- Deploying locally on docker-desktop for mac HOT 2
- Implement Environment Variables as Config Map HOT 1
- Investigate Reaction Prometheus Plugin HOT 2
- CONTRIBUTORS File HOT 1
- Websocket errors causing admin to load extremely slowly HOT 9
- Create "Delightful Deployment" Engineering Plan HOT 1
- HTTPS Redirection HOT 1
- Remove 'develop' branch HOT 1
- No ingress controller created with default values HOT 5
- SSL causes cypher mismatch HOT 10
- Include ability to provide postgresql connection string HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mailchimp-open-commerce-helm-chart.