1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-07 14:55:27 +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

@ -8,6 +8,7 @@ export const gitForm: IComponentOptions = {
<react-git-form
value="$ctrl.value"
on-change="$ctrl.handleChange"
environment-type="$ctrl.environmentType"
is-docker-standalone="$ctrl.isDockerStandalone"
deploy-method="$ctrl.deployMethod"
is-additional-files-field-visible="$ctrl.isAdditionalFilesFieldVisible"
@ -22,6 +23,7 @@ export const gitForm: IComponentOptions = {
bindings: {
value: '<',
onChange: '<',
environmentType: '@',
isDockerStandalone: '<',
deployMethod: '@',
baseWebhookUrl: '@',

View file

@ -9,6 +9,7 @@
value="$ctrl.formValues.AutoUpdate"
on-change="($ctrl.onChangeAutoUpdate)"
environment-type="KUBERNETES"
is-force-pull-visible="false"
base-webhook-url="{{ $ctrl.state.baseWebhookUrl }}"
webhook-id="{{ $ctrl.state.webhookId }}"
webhooks-docs="https://docs.portainer.io/user/kubernetes/applications/webhooks"

View file

@ -18,6 +18,7 @@ export const gitFormModule = angular
r2a(withUIRouter(withReactQuery(withCurrentUser(GitForm))), [
'value',
'onChange',
'environmentType',
'isDockerStandalone',
'deployMethod',
'isAdditionalFilesFieldVisible',