Repository navigation
Add the patch-console cluster profile - #687
Merged
Merged
Conversation
Signed-off-by: Tamal Saha <tamal@appscode.com>
Signed-off-by: Tamal Saha <tamal@appscode.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the
patch-consoleClusterProfile (hub/clusterprofiles/ace/patch-console.yaml, embedded like the otheraceprofiles and listed by b3'sProfileService.ListClusterProfiles). Importing a cluster with it enables everything Patch Console needs:Every prerequisite is listed explicitly because
SanitizeFeatureSetsdoes not expandrequirements(same asdbaas-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.goguards the explicit list.Tested:
go test ./hub/clusterprofiles(race),go test ./hub -run 'TestEdgeLabels|TestParseGVR|Test_toFilename',go run ./cmd/resource-fmtleaves the file unchanged.TestRegisterandTestDiscoveryin./hubneed 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.