feat(libstack): expose env vars with PORTAINER_ prefix [BE-11661] (#687)

This commit is contained in:
Devon Steenberg
2025-05-12 11:18:04 +12:00
committed by GitHub
parent 9fdc535d6b
commit 1abdf42f99
3 changed files with 232 additions and 0 deletions

View File

@@ -87,6 +87,11 @@ export function EdgeScriptSettingsFieldset({
/>
</FormControl>
<TextTip color="orange" className="mb-2 icon-orange">
For security purposes, only environment variables prefixed with
&apos;PORTAINER_&apos; will be accessible.
</TextTip>
<div className="form-group">
<div className="col-sm-12">
<SwitchField