magnificent-oxygen-87068
05/22/2023, 10:10 AMstocky-account-63046
05/22/2023, 12:35 PMmagnificent-oxygen-87068
05/22/2023, 12:38 PMstocky-account-63046
05/22/2023, 12:40 PMCluster Explorer
section, a Global App
or something different?magnificent-oxygen-87068
05/22/2023, 12:42 PMGlobal App
stocky-account-63046
05/22/2023, 12:45 PMlocal
cluster by dispatching create
/ find
actions in the management
store. There's some more info here, specifically half way down https://rancher.github.io/dashboard/code-base-works/api-resources-and-schemas . For your use case you'd roughly need to
1. dispatch management/create
with the configmap type.
2. populate the object it returns with your required values
3. call await <object>.save()
to persist
4. on subsequent loads you can access it via dispatching a management/find
action
this assumes the user who's signed in to the dashboard has the required rights to save config mapsmagnificent-oxygen-87068
05/22/2023, 12:48 PMstocky-account-63046
05/22/2023, 12:49 PM