Title | Description |
---|---|
Package Install data source |
Creating the Package Install data source. |
This data source allows you to read created package install on a cluster through Tanzu Mission Control.
To install an available package on a cluster, you must be associated with the .admin role on that cluster.
Use the Catalog page of the Tanzu Mission Control console to install a package from your repository to your Kubernetes cluster.
The Available tab on the Catalog page in the Tanzu Mission Control console shows the packages that are available to be installed, including those that are in the Tanzu Standard package repository and other repositories that you have associated with a cluster.
# Read Tanzu Mission Control package install with attached set as default value.
data "tanzu-mission-control_package_install" "read_package_install" {
name = "test-pakage-install-name" # Required
namespace = "test-namespace-name" # Required
scope {
cluster {
name = "testcluster" # Required
provisioner_name = "attached" # Default: attached
management_cluster_name = "attached" # Default: attached
}
}
}
name
(String) Name of the package install resource.namespace
(String) Name of Namespace where package install will be created.scope
(Block List, Min: 1, Max: 1) Scope for the package install, having one of the valid scopes: cluster. (see below for nested schema)
meta
(Block List, Max: 1) Metadata for the resource (see below for nested schema)
id
(String) The ID of this resource.spec
(List of Object) spec for package install. (see below for nested schema)status
(List of Object) status for package install. (see below for nested schema)
Optional:
cluster
(Block List, Max: 1) The schema for cluster full name (see below for nested schema)
Required:
name
(String) Name of this cluster
Optional:
management_cluster_name
(String) Name of the management clusterprovisioner_name
(String) Provisioner of the cluster
Optional:
annotations
(Map of String) Annotations for the resourcedescription
(String) Description of the resourcelabels
(Map of String) Labels for the resource
Read-Only:
resource_version
(String) Resource version of the resourceuid
(String) UID of the resource
Read-Only:
inline_values
(Map of String)package_ref
(List of Object) (see below for nested schema)role_binding_scope
(String)
Read-Only:
package_metadata_name
(String)version_selection
(List of Object) (see below for nested schema)
Read-Only:
constraints
(String)
Read-Only:
generated_resources
(List of Object) (see below for nested schema)managed
(Boolean)package_install_phase
(String)referred_by
(List of String)resolved_version
(String)
Read-Only:
cluster_role_name
(String)role_binding_name
(String)service_account_name
(String)