mirror of
https://github.com/portainer/portainer.git
synced 2025-08-03 04:45:21 +02:00
fix git options for kube (#8889)
This commit is contained in:
parent
5d2723f4b9
commit
9970fb3940
5 changed files with 9 additions and 0 deletions
|
@ -22,6 +22,7 @@ import { refFieldValidation } from './RefField/RefField';
|
|||
interface Props {
|
||||
value: GitFormModel;
|
||||
onChange: (value: Partial<GitFormModel>) => void;
|
||||
environmentType?: 'DOCKER' | 'KUBERNETES' | undefined;
|
||||
deployMethod?: 'compose' | 'nomad' | 'manifest';
|
||||
isDockerStandalone?: boolean;
|
||||
isAdditionalFilesFieldVisible?: boolean;
|
||||
|
@ -36,6 +37,7 @@ interface Props {
|
|||
export function GitForm({
|
||||
value,
|
||||
onChange,
|
||||
environmentType = 'DOCKER',
|
||||
deployMethod = 'compose',
|
||||
isDockerStandalone = false,
|
||||
isAdditionalFilesFieldVisible,
|
||||
|
@ -94,6 +96,7 @@ export function GitForm({
|
|||
|
||||
{value.AutoUpdate && (
|
||||
<AutoUpdateFieldset
|
||||
environmentType={environmentType}
|
||||
webhookId={webhookId}
|
||||
baseWebhookUrl={baseWebhookUrl}
|
||||
value={value.AutoUpdate}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue