add the pod delete feature to the kubernetes react plugin (#24534)
* add the pod delete feature to the kubernetes react plugin Signed-off-by: sebalaini <sebastianolaini@gmail.com> * move podDelete into PodDrawer Signed-off-by: sebalaini <sebastianolaini@gmail.com> * remove dialog and use only a button Signed-off-by: sebalaini <sebastianolaini@gmail.com> * move config inside frontend object Signed-off-by: sebalaini <sebastianolaini@gmail.com> * update the k8 configration.md documentation Signed-off-by: sebalaini <sebastianolaini@gmail.com> * add error ui if error Signed-off-by: sebalaini <sebastianolaini@gmail.com> * refactor restart text logic Signed-off-by: sebalaini <sebastianolaini@gmail.com> * fix test var name Signed-off-by: sebalaini <sebastianolaini@gmail.com> * fix doc key Signed-off-by: sebalaini <sebastianolaini@gmail.com> * revert last commit Signed-off-by: sebalaini <sebastianolaini@gmail.com> * add i18n Signed-off-by: sebalaini <sebastianolaini@gmail.com> * Update plugins/kubernetes-react/src/translation.ts Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com> Signed-off-by: Seba <17096352+sebalaini@users.noreply.github.com> * remove buttonText config Signed-off-by: sebalaini <sebastianolaini@gmail.com> * add alpha and doc Signed-off-by: sebalaini <sebastianolaini@gmail.com> * add alpha api report Signed-off-by: sebalaini <sebastianolaini@gmail.com> --------- Signed-off-by: sebalaini <sebastianolaini@gmail.com> Signed-off-by: Seba <17096352+sebalaini@users.noreply.github.com> Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Vendored
+15
@@ -27,5 +27,20 @@ export interface Config {
|
||||
*/
|
||||
enabled?: boolean;
|
||||
};
|
||||
/**
|
||||
* Frontend config
|
||||
*/
|
||||
frontend?: {
|
||||
/**
|
||||
* Pod Delete config
|
||||
*/
|
||||
podDelete?: {
|
||||
/**
|
||||
* Enable `podDelete` UI feature
|
||||
* @visibility frontend
|
||||
*/
|
||||
enabled?: boolean;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user