Skip to content

Add the patch-console cluster profile - #687

Merged
ArnobKumarSaha merged 2 commits into
masterfrom
patch-console-cluster-profile
Nov 24, 2026
Merged

ArnobKumarSaha merged 2 commits into
masterfrom
patch-console-cluster-profile

Conversation

@tamalsaha

@tamalsaha tamalsaha commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Adds the patch-console ClusterProfile (hub/clusterprofiles/ace/patch-console.yaml, embedded like the other ace profiles and listed by b3's ProfileService.ListClusterProfiles). Importing a cluster with it enables everything Patch Console needs:

Feature set Features
opscenter-core license-proxyserver (kube-ui-server is added by b3, akp-crd-manager by the importer)
opscenter-observability monitoring-operator, grafana-operator
opscenter-security cert-manager, scanner, trivy-operator, patch-console-agent (the agent chart runs kube-bench)
opscenter-policy-management kyverno, kyverno-policies
opscenter-backup kubestash

Every prerequisite is listed explicitly because SanitizeFeatureSets does not expand requirements (same as dbaas-generic): scanner needs license-proxyserver and grafana-operator (needs monitoring-operator), kyverno-policies needs kyverno, kubestash needs cert-manager and license-proxyserver, the agent needs scanner, kyverno and license-proxyserver.

The features themselves come from the installer PR (appscode-cloud/installer#1424), the editor chart from appscode-cloud/ui-wizards#1218. The FeatureSet ResourceEditor (hub/resourceeditors/ui.k8s.appscode.com/v1alpha1/featuresets.yaml) is not touched: it pins the editor chart version, which the release process bumps together with the installer. hub/clusterprofiles/clusterprofiles_test.go guards the explicit list.

Tested: go test ./hub/clusterprofiles (race), go test ./hub -run 'TestEdgeLabels|TestParseGVR|Test_toFilename', go run ./cmd/resource-fmt leaves the file unchanged. TestRegister and TestDiscovery in ./hub need a cluster (KUBECONFIG) and fail without one on master as well.

How it is picked up: installer and b3 vendor kmodules.xyz/resource-metadata (installer go.mod: v0.52.0; this repo is at v0.52.1), so they need a go.mod bump to the release containing this. Nothing else is bumped here.

Signed-off-by: Tamal Saha <tamal@appscode.com>
kodiakhq[bot]
kodiakhq Bot previously approved these changes Nov 21, 2026
Signed-off-by: Tamal Saha <tamal@appscode.com>
@ArnobKumarSaha
ArnobKumarSaha merged commit 8f2f9f6 into master Nov 24, 2026
4 of 8 checks passed
@ArnobKumarSaha
ArnobKumarSaha deleted the patch-console-cluster-profile branch November 24, 2026 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants