-
-
Notifications
You must be signed in to change notification settings - Fork 319
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
feat: Add CADDY_EXTRA_DIRECTIVES #660
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea. Maybe just EXTRA_DIRECTIVES
for consistency with GLOBAL_OPTIONS
which doesn't include the CADDY prefix?
valueFrom: | ||
configMapKeyRef: | ||
name: {{ include "mercure.fullname" . }} | ||
key: extra-directives |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The config template must be updated as well isn't it? We also need a new value.
Also, I would use a secret as this env var may contains secret keys and things like this, depending on the modules you use.
WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did it, but it may be confusing with extra-directives
/extraDirectives
, should I change it too?
Actually, it works on my computer, can you have a look please? |
I'm not sure of what the issue is, but the error in the CI is |
Thanks! |
No description provided.