mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 05:19:39 +02:00
fix(edgeconfig): add edge config file interpolation info message on edge stack page [BE-11741] (#606)
This commit is contained in:
parent
1b8fbbe7d7
commit
940bf990f9
1 changed files with 15 additions and 0 deletions
|
@ -10,6 +10,7 @@ import { TextTip } from '@@/Tip/TextTip';
|
|||
import { FormControl } from '@@/form-components/FormControl';
|
||||
import { Input, Select } from '@@/form-components/Input';
|
||||
import { useDocsUrl } from '@@/PageHeader/ContextHelp';
|
||||
import { InsightsBox } from '@@/InsightsBox';
|
||||
|
||||
import { RelativePathModel, getPerDevConfigsFilterType } from './types';
|
||||
|
||||
|
@ -135,6 +136,20 @@ export function RelativePathFieldset({
|
|||
|
||||
{value.SupportPerDeviceConfigs && (
|
||||
<>
|
||||
<InsightsBox
|
||||
content={
|
||||
<p>
|
||||
Files named <code>${PORTAINER_EDGE_ID}.env</code>{' '}
|
||||
and/or <code>${PORTAINER_EDGE_GROUP}.env</code>{' '}
|
||||
contained by the config folder will be loaded for compose
|
||||
file interpolation.
|
||||
</p>
|
||||
}
|
||||
header="GitOps Edge Configurations"
|
||||
insightCloseId="edge-config-interpolation-info"
|
||||
className="mb-3"
|
||||
/>
|
||||
|
||||
<div className="form-group">
|
||||
<div className="col-sm-12">
|
||||
<TextTip color="blue">{pathTipSwarm}</TextTip>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue