1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00

feat(kubernetes): add rolling restart button teaser [EE-4510] (#8126)

* rolling restart teaser button

* add be only rolling restart

* move position of button
This commit is contained in:
Matt Hook 2022-12-12 14:30:05 +13:00 committed by GitHub
parent a1528475ba
commit 2188005b48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 75 additions and 41 deletions

View file

@ -4,7 +4,7 @@ import { r2a } from '@/react-tools/react2angular';
import { withCurrentUser } from '@/react-tools/withCurrentUser';
import { withReactQuery } from '@/react-tools/withReactQuery';
import { withUIRouter } from '@/react-tools/withUIRouter';
import { YAMLReplace } from '@/kubernetes/react/views/yamlReplace';
import { BEOnlyButton } from '@/kubernetes/react/views/beOnlyButton';
import { IngressesDatatableView } from '@/react/kubernetes/ingresses/IngressDatatable';
import { CreateIngressView } from '@/react/kubernetes/ingresses/CreateIngressView';
@ -22,8 +22,13 @@ export const viewsModule = angular
r2a(withUIRouter(withReactQuery(withCurrentUser(CreateIngressView))), [])
)
.component(
'yamlReplace',
r2a(withUIRouter(withReactQuery(withCurrentUser(YAMLReplace))), [
'beOnlyButton',
r2a(withUIRouter(withReactQuery(withCurrentUser(BEOnlyButton))), [
'featureId',
'heading',
'message',
'buttonText',
'className',
'icon',
])
).name;