This message was deleted.
# extensions
a
This message was deleted.
b
Hi @cuddly-van-73431 If you want it completely obfuscated, using a secret is the best way to go. You can create a CRD to your liking and store information like the secret ID, which you can then use as a “link” to that screen imagine the flow: • no CRD or CRD but no secret ID, that initial extension screen takes you to the
create a secret
interface • if there’s a CRD, with a secret ID that is valid, that initial screen content switches for the ui of your extension It’s an idea, not 100% sure if it’s all going to work, but it’s an avenue I would pursue 🤔 Check the patterns for creating a CRD + storing a service token in this extension: https://github.com/StackVista/rancher-extension-stackstate it may be of use 😉
👍 1
careful that to consume an external API you need to proxy the requests… That can be achieved with a pattern also found in this extension I shared around: https://github.com/StackVista/rancher-extension-stackstate/blob/main/pkg/observability/modules/suseObservability.ts#L230-L275 creating a node driver, allows you to whitelist a domain 😉 Clone the repo, search for that function and check the context of usage
w
Has there been any activity/plans to introduce the ability to manage other general settings related to extensions, via the Rancher UI or other common Rancher components?