scenario

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Copyright Contributors to the Open Cluster Management project

Index

Constants

View Source
const (
	AppMgrAddonName          = "application-manager"
	PolicyFrameworkAddonName = "governance-policy-framework"
)

Variables

View Source
var (
	AddonDeploymentFiles = map[string]AddonDeploymentFile{
		PolicyFrameworkAddonName: {
			ConfigFiles: []string{
				"addon/policy/addon-controller_clusterrole.yaml",
				"addon/policy/addon-controller_clusterrolebinding.yaml",
				"addon/policy/addon-controller_role.yaml",
				"addon/policy/addon-controller_rolebinding.yaml",
				"addon/policy/addon-controller_serviceaccount.yaml",
				"addon/policy/propagator_clusterrole.yaml",
				"addon/policy/propagator_clusterrolebinding.yaml",
				"addon/policy/propagator_role.yaml",
				"addon/policy/propagator_rolebinding.yaml",
				"addon/policy/propagator_service.yaml",
				"addon/policy/propagator_serviceaccount.yaml",
				"addon/policy/clustermanagementaddon_configpolicy.yaml",
				"addon/policy/clustermanagementaddon_policyframework.yaml",
			},
			CRDFiles: []string{
				"addon/policy/policy.open-cluster-management.io_placementbindings.yaml",
				"addon/policy/policy.open-cluster-management.io_policies.yaml",
				"addon/policy/policy.open-cluster-management.io_policyautomations.yaml",
				"addon/policy/policy.open-cluster-management.io_policysets.yaml",
				"addon/appmgr/crd_placementrule.yaml",
			},
			DeploymentFiles: []string{
				"addon/policy/addon-controller_deployment.yaml",
				"addon/policy/propagator_deployment.yaml",
			},
		},
		AppMgrAddonName: {
			ConfigFiles: []string{
				"addon/appmgr/clustermanagementaddon_appmgr.yaml",
				"addon/appmgr/clusterrole_agent.yaml",
				"addon/appmgr/clusterrole_binding.yaml",
				"addon/appmgr/clusterrole.yaml",
				"addon/appmgr/service_account.yaml",
				"addon/appmgr/service_metrics.yaml",
				"addon/appmgr/service_operator.yaml",
				"addon/appmgr/mutatingwebhookconfiguration.yaml",
			},
			CRDFiles: []string{
				"addon/appmgr/crd_channel.yaml",
				"addon/appmgr/crd_helmrelease.yaml",
				"addon/appmgr/crd_placementrule.yaml",
				"addon/appmgr/crd_subscription.yaml",
				"addon/appmgr/crd_subscriptionstatuses.yaml",
				"addon/appmgr/crd_report.yaml",
				"addon/appmgr/crd_clusterreport.yaml",
			},
			DeploymentFiles: []string{
				"addon/appmgr/deployment_channel.yaml",
				"addon/appmgr/deployment_subscription.yaml",
				"addon/appmgr/deployment_placementrule.yaml",
				"addon/appmgr/deployment_appsubsummary.yaml",
			},
		},
	}
)
View Source
var Files embed.FS

Functions

This section is empty.

Types

type AddonDeploymentFile added in v0.9.0

type AddonDeploymentFile struct {
	ConfigFiles     []string
	DeploymentFiles []string
	CRDFiles        []string
}

type Values added in v0.9.0

type Values struct {
	HubAddons []string
	// Namespace to install
	Namespace string
	// Version to install
	BundleVersion version.VersionBundle
}

Values: The values used in the template

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL