weaveworks / weave-gitops-enterprise

This repo provides the enterprise level features for the weave-gitops product, including CAPI cluster creation and team workspaces.
https://docs.gitops.weave.works/
Apache License 2.0
160 stars 29 forks source link

[Azure marketplace] Allow user to choose UI password in installation wizard #3124

Closed foot closed 1 year ago

foot commented 1 year ago

From the meeting Darryl noted:

To set the cluster_user_auth, we should take the input as a password field from the configuration form and use that to set the admin password. Madhav/MSFT will also see if he can find an example to send us as well.

Madhav followed up with

For passing cluster-user-auth secret you could use PasswordBox UI element - Azure Managed Applications | Microsoft Learn as required field in UI Definition. Microsoft.Common.PasswordBox image and securestring in ArmTemplate Data types in templates - Azure Resource Manager | Microsoft Learn image Passing this password variable into ConfigurationProtectedSettings{}, so that it will be set in helmchart values securely.

Notes

Is this an okay way forward? It sounds like we'd adapt the azure helm chart to take an optional plaintext secret, if provided then we generate the cluster-user-auth secret too..

Possible Tasks

LappleApple commented 1 year ago

This is a Microsoft request and part of the "Weave GitOps with Flux add-on in AKS" initiative.

Notion has instructions for getting an Azure cluster/demo env.