mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 23:09:41 +02:00
feat(endpoints): enable env vars on kube edge deploy [EE-2542] (#6620)
This commit is contained in:
parent
da9ef7dfcf
commit
7efdae5eee
2 changed files with 19 additions and 19 deletions
|
@ -55,21 +55,19 @@ export function EdgePropertiesForm({
|
|||
</div>
|
||||
</div>
|
||||
|
||||
{values.platform !== 'k8s' && (
|
||||
<FormControl
|
||||
label="Environment variables"
|
||||
tooltip="Comma separated list of environment variables that will be sourced from the host where the agent is deployed."
|
||||
inputId="env-vars-input"
|
||||
>
|
||||
<Input
|
||||
type="text"
|
||||
name="envVars"
|
||||
value={values.envVars}
|
||||
id="env-vars-input"
|
||||
onChange={(e) => setFieldValue(e.target.name, e.target.value)}
|
||||
/>
|
||||
</FormControl>
|
||||
)}
|
||||
<FormControl
|
||||
label="Environment variables"
|
||||
tooltip="Comma separated list of environment variables that will be sourced from the host where the agent is deployed."
|
||||
inputId="env-vars-input"
|
||||
>
|
||||
<Input
|
||||
type="text"
|
||||
name="envVars"
|
||||
value={values.envVars}
|
||||
id="env-vars-input"
|
||||
onChange={(e) => setFieldValue(e.target.name, e.target.value)}
|
||||
/>
|
||||
</FormControl>
|
||||
</form>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue