import { i18n } from '@kui-shell/core' ; import { HelmRelease , isHelmRelease } from '../models/release' ; const strings = i18n ( 'plugin-kubectl' , 'helm' ) ; export default { when : isHelmRelease , mode : { mode : 'values' , label : strings ( 'Values' ) , content : ( _ , resource ) => { return { contentFrom : `helm get values ${ resource . metadata . name }` , contentType : 'json' as const } ; } } } ;