1
0
Fork 0
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:
Matt Hook 2023-05-05 09:20:20 +12:00 committed by GitHub
parent 5d2723f4b9
commit 9970fb3940
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 0 deletions

View file

@ -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}