rancher2.CatalogV2
Explore with Pulumi AI
Provides a Rancher Catalog v2 resource. This can be used to create cluster helm catalogs for Rancher v2 environments and retrieve their information. Catalog v2 resource is available at Rancher v2.5.x and above.
Create CatalogV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CatalogV2(name: string, args: CatalogV2Args, opts?: CustomResourceOptions);
@overload
def CatalogV2(resource_name: str,
args: CatalogV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def CatalogV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
git_repo: Optional[str] = None,
exponential_backoff_max_wait: Optional[int] = None,
insecure: Optional[bool] = None,
exponential_backoff_max_retries: Optional[int] = None,
insecure_plain_http: Optional[bool] = None,
exponential_backoff_min_wait: Optional[int] = None,
git_branch: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
enabled: Optional[bool] = None,
ca_bundle: Optional[str] = None,
annotations: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
secret_name: Optional[str] = None,
secret_namespace: Optional[str] = None,
service_account: Optional[str] = None,
service_account_namespace: Optional[str] = None,
url: Optional[str] = None)
func NewCatalogV2(ctx *Context, name string, args CatalogV2Args, opts ...ResourceOption) (*CatalogV2, error)
public CatalogV2(string name, CatalogV2Args args, CustomResourceOptions? opts = null)
public CatalogV2(String name, CatalogV2Args args)
public CatalogV2(String name, CatalogV2Args args, CustomResourceOptions options)
type: rancher2:CatalogV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CatalogV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CatalogV2Args
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CatalogV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CatalogV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CatalogV2Args
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var catalogV2Resource = new Rancher2.CatalogV2("catalogV2Resource", new()
{
ClusterId = "string",
GitRepo = "string",
ExponentialBackoffMaxWait = 0,
Insecure = false,
ExponentialBackoffMaxRetries = 0,
InsecurePlainHttp = false,
ExponentialBackoffMinWait = 0,
GitBranch = "string",
Labels =
{
{ "string", "string" },
},
Enabled = false,
CaBundle = "string",
Annotations =
{
{ "string", "string" },
},
Name = "string",
SecretName = "string",
SecretNamespace = "string",
ServiceAccount = "string",
ServiceAccountNamespace = "string",
Url = "string",
});
example, err := rancher2.NewCatalogV2(ctx, "catalogV2Resource", &rancher2.CatalogV2Args{
ClusterId: pulumi.String("string"),
GitRepo: pulumi.String("string"),
ExponentialBackoffMaxWait: pulumi.Int(0),
Insecure: pulumi.Bool(false),
ExponentialBackoffMaxRetries: pulumi.Int(0),
InsecurePlainHttp: pulumi.Bool(false),
ExponentialBackoffMinWait: pulumi.Int(0),
GitBranch: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
CaBundle: pulumi.String("string"),
Annotations: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
SecretName: pulumi.String("string"),
SecretNamespace: pulumi.String("string"),
ServiceAccount: pulumi.String("string"),
ServiceAccountNamespace: pulumi.String("string"),
Url: pulumi.String("string"),
})
var catalogV2Resource = new CatalogV2("catalogV2Resource", CatalogV2Args.builder()
.clusterId("string")
.gitRepo("string")
.exponentialBackoffMaxWait(0)
.insecure(false)
.exponentialBackoffMaxRetries(0)
.insecurePlainHttp(false)
.exponentialBackoffMinWait(0)
.gitBranch("string")
.labels(Map.of("string", "string"))
.enabled(false)
.caBundle("string")
.annotations(Map.of("string", "string"))
.name("string")
.secretName("string")
.secretNamespace("string")
.serviceAccount("string")
.serviceAccountNamespace("string")
.url("string")
.build());
catalog_v2_resource = rancher2.CatalogV2("catalogV2Resource",
cluster_id="string",
git_repo="string",
exponential_backoff_max_wait=0,
insecure=False,
exponential_backoff_max_retries=0,
insecure_plain_http=False,
exponential_backoff_min_wait=0,
git_branch="string",
labels={
"string": "string",
},
enabled=False,
ca_bundle="string",
annotations={
"string": "string",
},
name="string",
secret_name="string",
secret_namespace="string",
service_account="string",
service_account_namespace="string",
url="string")
const catalogV2Resource = new rancher2.CatalogV2("catalogV2Resource", {
clusterId: "string",
gitRepo: "string",
exponentialBackoffMaxWait: 0,
insecure: false,
exponentialBackoffMaxRetries: 0,
insecurePlainHttp: false,
exponentialBackoffMinWait: 0,
gitBranch: "string",
labels: {
string: "string",
},
enabled: false,
caBundle: "string",
annotations: {
string: "string",
},
name: "string",
secretName: "string",
secretNamespace: "string",
serviceAccount: "string",
serviceAccountNamespace: "string",
url: "string",
});
type: rancher2:CatalogV2
properties:
annotations:
string: string
caBundle: string
clusterId: string
enabled: false
exponentialBackoffMaxRetries: 0
exponentialBackoffMaxWait: 0
exponentialBackoffMinWait: 0
gitBranch: string
gitRepo: string
insecure: false
insecurePlainHttp: false
labels:
string: string
name: string
secretName: string
secretNamespace: string
serviceAccount: string
serviceAccountNamespace: string
url: string
CatalogV2 Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CatalogV2 resource accepts the following input properties:
- Cluster
Id string - The cluster id of the catalog V2 (string)
- Annotations Dictionary<string, string>
- Annotations for the catalog v2 (map)
- Ca
Bundle string - CA certificate in base64-encoded DER format which will be used to validate the repo's certificate (string)
- Enabled bool
- If disabled the repo clone will not be updated or allowed to be installed from. Default:
true
(bool) - Exponential
Backoff intMax Retries - Maximum number of retries before returning error
- Exponential
Backoff intMax Wait - Maximum amount of seconds to wait before retrying
- Exponential
Backoff intMin Wait - Minimum amount of seconds to wait before retrying
- Git
Branch string - Git Repository branch containing Helm chart definitions. Default
master
(string) - Git
Repo string - The url of the catalog v2 repo. Conflicts with
url
(string) - Insecure bool
- Use insecure HTTPS to download the repo's index. Default:
false
(bool) - Insecure
Plain boolHttp - Only valid for OCI URL's. Allows insecure connections to registries without enforcing TLS checks
- Labels Dictionary<string, string>
- Labels for the catalog v2 (map)
- Name string
- The name of the catalog v2 (string)
- Secret
Name string - K8s secret name to be used to connect to the repo (string)
- Secret
Namespace string - K8s secret namespace (string)
- Service
Account string - K8s service account used to deploy charts instead of the end users credentials (string)
- Service
Account stringNamespace - The username to access the catalog if needed (string)
- Url string
- URL to an index generated by Helm. Conflicts with
git_repo
(string)
- Cluster
Id string - The cluster id of the catalog V2 (string)
- Annotations map[string]string
- Annotations for the catalog v2 (map)
- Ca
Bundle string - CA certificate in base64-encoded DER format which will be used to validate the repo's certificate (string)
- Enabled bool
- If disabled the repo clone will not be updated or allowed to be installed from. Default:
true
(bool) - Exponential
Backoff intMax Retries - Maximum number of retries before returning error
- Exponential
Backoff intMax Wait - Maximum amount of seconds to wait before retrying
- Exponential
Backoff intMin Wait - Minimum amount of seconds to wait before retrying
- Git
Branch string - Git Repository branch containing Helm chart definitions. Default
master
(string) - Git
Repo string - The url of the catalog v2 repo. Conflicts with
url
(string) - Insecure bool
- Use insecure HTTPS to download the repo's index. Default:
false
(bool) - Insecure
Plain boolHttp - Only valid for OCI URL's. Allows insecure connections to registries without enforcing TLS checks
- Labels map[string]string
- Labels for the catalog v2 (map)
- Name string
- The name of the catalog v2 (string)
- Secret
Name string - K8s secret name to be used to connect to the repo (string)
- Secret
Namespace string - K8s secret namespace (string)
- Service
Account string - K8s service account used to deploy charts instead of the end users credentials (string)
- Service
Account stringNamespace - The username to access the catalog if needed (string)
- Url string
- URL to an index generated by Helm. Conflicts with
git_repo
(string)
- cluster
Id String - The cluster id of the catalog V2 (string)
- annotations Map<String,String>
- Annotations for the catalog v2 (map)
- ca
Bundle String - CA certificate in base64-encoded DER format which will be used to validate the repo's certificate (string)
- enabled Boolean
- If disabled the repo clone will not be updated or allowed to be installed from. Default:
true
(bool) - exponential
Backoff IntegerMax Retries - Maximum number of retries before returning error
- exponential
Backoff IntegerMax Wait - Maximum amount of seconds to wait before retrying
- exponential
Backoff IntegerMin Wait - Minimum amount of seconds to wait before retrying
- git
Branch String - Git Repository branch containing Helm chart definitions. Default
master
(string) - git
Repo String - The url of the catalog v2 repo. Conflicts with
url
(string) - insecure Boolean
- Use insecure HTTPS to download the repo's index. Default:
false
(bool) - insecure
Plain BooleanHttp - Only valid for OCI URL's. Allows insecure connections to registries without enforcing TLS checks
- labels Map<String,String>
- Labels for the catalog v2 (map)
- name String
- The name of the catalog v2 (string)
- secret
Name String - K8s secret name to be used to connect to the repo (string)
- secret
Namespace String - K8s secret namespace (string)
- service
Account String - K8s service account used to deploy charts instead of the end users credentials (string)
- service
Account StringNamespace - The username to access the catalog if needed (string)
- url String
- URL to an index generated by Helm. Conflicts with
git_repo
(string)
- cluster
Id string - The cluster id of the catalog V2 (string)
- annotations {[key: string]: string}
- Annotations for the catalog v2 (map)
- ca
Bundle string - CA certificate in base64-encoded DER format which will be used to validate the repo's certificate (string)
- enabled boolean
- If disabled the repo clone will not be updated or allowed to be installed from. Default:
true
(bool) - exponential
Backoff numberMax Retries - Maximum number of retries before returning error
- exponential
Backoff numberMax Wait - Maximum amount of seconds to wait before retrying
- exponential
Backoff numberMin Wait - Minimum amount of seconds to wait before retrying
- git
Branch string - Git Repository branch containing Helm chart definitions. Default
master
(string) - git
Repo string - The url of the catalog v2 repo. Conflicts with
url
(string) - insecure boolean
- Use insecure HTTPS to download the repo's index. Default:
false
(bool) - insecure
Plain booleanHttp - Only valid for OCI URL's. Allows insecure connections to registries without enforcing TLS checks
- labels {[key: string]: string}
- Labels for the catalog v2 (map)
- name string
- The name of the catalog v2 (string)
- secret
Name string - K8s secret name to be used to connect to the repo (string)
- secret
Namespace string - K8s secret namespace (string)
- service
Account string - K8s service account used to deploy charts instead of the end users credentials (string)
- service
Account stringNamespace - The username to access the catalog if needed (string)
- url string
- URL to an index generated by Helm. Conflicts with
git_repo
(string)
- cluster_
id str - The cluster id of the catalog V2 (string)
- annotations Mapping[str, str]
- Annotations for the catalog v2 (map)
- ca_
bundle str - CA certificate in base64-encoded DER format which will be used to validate the repo's certificate (string)
- enabled bool
- If disabled the repo clone will not be updated or allowed to be installed from. Default:
true
(bool) - exponential_
backoff_ intmax_ retries - Maximum number of retries before returning error
- exponential_
backoff_ intmax_ wait - Maximum amount of seconds to wait before retrying
- exponential_
backoff_ intmin_ wait - Minimum amount of seconds to wait before retrying
- git_
branch str - Git Repository branch containing Helm chart definitions. Default
master
(string) - git_
repo str - The url of the catalog v2 repo. Conflicts with
url
(string) - insecure bool
- Use insecure HTTPS to download the repo's index. Default:
false
(bool) - insecure_
plain_ boolhttp - Only valid for OCI URL's. Allows insecure connections to registries without enforcing TLS checks
- labels Mapping[str, str]
- Labels for the catalog v2 (map)
- name str
- The name of the catalog v2 (string)
- secret_
name str - K8s secret name to be used to connect to the repo (string)
- secret_
namespace str - K8s secret namespace (string)
- service_
account str - K8s service account used to deploy charts instead of the end users credentials (string)
- service_
account_ strnamespace - The username to access the catalog if needed (string)
- url str
- URL to an index generated by Helm. Conflicts with
git_repo
(string)
- cluster
Id String - The cluster id of the catalog V2 (string)
- annotations Map<String>
- Annotations for the catalog v2 (map)
- ca
Bundle String - CA certificate in base64-encoded DER format which will be used to validate the repo's certificate (string)
- enabled Boolean
- If disabled the repo clone will not be updated or allowed to be installed from. Default:
true
(bool) - exponential
Backoff NumberMax Retries - Maximum number of retries before returning error
- exponential
Backoff NumberMax Wait - Maximum amount of seconds to wait before retrying
- exponential
Backoff NumberMin Wait - Minimum amount of seconds to wait before retrying
- git
Branch String - Git Repository branch containing Helm chart definitions. Default
master
(string) - git
Repo String - The url of the catalog v2 repo. Conflicts with
url
(string) - insecure Boolean
- Use insecure HTTPS to download the repo's index. Default:
false
(bool) - insecure
Plain BooleanHttp - Only valid for OCI URL's. Allows insecure connections to registries without enforcing TLS checks
- labels Map<String>
- Labels for the catalog v2 (map)
- name String
- The name of the catalog v2 (string)
- secret
Name String - K8s secret name to be used to connect to the repo (string)
- secret
Namespace String - K8s secret namespace (string)
- service
Account String - K8s service account used to deploy charts instead of the end users credentials (string)
- service
Account StringNamespace - The username to access the catalog if needed (string)
- url String
- URL to an index generated by Helm. Conflicts with
git_repo
(string)
Outputs
All input properties are implicitly available as output properties. Additionally, the CatalogV2 resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Version string - (Computed) The k8s resource version (string)
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Version string - (Computed) The k8s resource version (string)
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Version String - (Computed) The k8s resource version (string)
- id string
- The provider-assigned unique ID for this managed resource.
- resource
Version string - (Computed) The k8s resource version (string)
- id str
- The provider-assigned unique ID for this managed resource.
- resource_
version str - (Computed) The k8s resource version (string)
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Version String - (Computed) The k8s resource version (string)
Look up Existing CatalogV2 Resource
Get an existing CatalogV2 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CatalogV2State, opts?: CustomResourceOptions): CatalogV2
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
annotations: Optional[Mapping[str, str]] = None,
ca_bundle: Optional[str] = None,
cluster_id: Optional[str] = None,
enabled: Optional[bool] = None,
exponential_backoff_max_retries: Optional[int] = None,
exponential_backoff_max_wait: Optional[int] = None,
exponential_backoff_min_wait: Optional[int] = None,
git_branch: Optional[str] = None,
git_repo: Optional[str] = None,
insecure: Optional[bool] = None,
insecure_plain_http: Optional[bool] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
resource_version: Optional[str] = None,
secret_name: Optional[str] = None,
secret_namespace: Optional[str] = None,
service_account: Optional[str] = None,
service_account_namespace: Optional[str] = None,
url: Optional[str] = None) -> CatalogV2
func GetCatalogV2(ctx *Context, name string, id IDInput, state *CatalogV2State, opts ...ResourceOption) (*CatalogV2, error)
public static CatalogV2 Get(string name, Input<string> id, CatalogV2State? state, CustomResourceOptions? opts = null)
public static CatalogV2 get(String name, Output<String> id, CatalogV2State state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Annotations Dictionary<string, string>
- Annotations for the catalog v2 (map)
- Ca
Bundle string - CA certificate in base64-encoded DER format which will be used to validate the repo's certificate (string)
- Cluster
Id string - The cluster id of the catalog V2 (string)
- Enabled bool
- If disabled the repo clone will not be updated or allowed to be installed from. Default:
true
(bool) - Exponential
Backoff intMax Retries - Maximum number of retries before returning error
- Exponential
Backoff intMax Wait - Maximum amount of seconds to wait before retrying
- Exponential
Backoff intMin Wait - Minimum amount of seconds to wait before retrying
- Git
Branch string - Git Repository branch containing Helm chart definitions. Default
master
(string) - Git
Repo string - The url of the catalog v2 repo. Conflicts with
url
(string) - Insecure bool
- Use insecure HTTPS to download the repo's index. Default:
false
(bool) - Insecure
Plain boolHttp - Only valid for OCI URL's. Allows insecure connections to registries without enforcing TLS checks
- Labels Dictionary<string, string>
- Labels for the catalog v2 (map)
- Name string
- The name of the catalog v2 (string)
- Resource
Version string - (Computed) The k8s resource version (string)
- Secret
Name string - K8s secret name to be used to connect to the repo (string)
- Secret
Namespace string - K8s secret namespace (string)
- Service
Account string - K8s service account used to deploy charts instead of the end users credentials (string)
- Service
Account stringNamespace - The username to access the catalog if needed (string)
- Url string
- URL to an index generated by Helm. Conflicts with
git_repo
(string)
- Annotations map[string]string
- Annotations for the catalog v2 (map)
- Ca
Bundle string - CA certificate in base64-encoded DER format which will be used to validate the repo's certificate (string)
- Cluster
Id string - The cluster id of the catalog V2 (string)
- Enabled bool
- If disabled the repo clone will not be updated or allowed to be installed from. Default:
true
(bool) - Exponential
Backoff intMax Retries - Maximum number of retries before returning error
- Exponential
Backoff intMax Wait - Maximum amount of seconds to wait before retrying
- Exponential
Backoff intMin Wait - Minimum amount of seconds to wait before retrying
- Git
Branch string - Git Repository branch containing Helm chart definitions. Default
master
(string) - Git
Repo string - The url of the catalog v2 repo. Conflicts with
url
(string) - Insecure bool
- Use insecure HTTPS to download the repo's index. Default:
false
(bool) - Insecure
Plain boolHttp - Only valid for OCI URL's. Allows insecure connections to registries without enforcing TLS checks
- Labels map[string]string
- Labels for the catalog v2 (map)
- Name string
- The name of the catalog v2 (string)
- Resource
Version string - (Computed) The k8s resource version (string)
- Secret
Name string - K8s secret name to be used to connect to the repo (string)
- Secret
Namespace string - K8s secret namespace (string)
- Service
Account string - K8s service account used to deploy charts instead of the end users credentials (string)
- Service
Account stringNamespace - The username to access the catalog if needed (string)
- Url string
- URL to an index generated by Helm. Conflicts with
git_repo
(string)
- annotations Map<String,String>
- Annotations for the catalog v2 (map)
- ca
Bundle String - CA certificate in base64-encoded DER format which will be used to validate the repo's certificate (string)
- cluster
Id String - The cluster id of the catalog V2 (string)
- enabled Boolean
- If disabled the repo clone will not be updated or allowed to be installed from. Default:
true
(bool) - exponential
Backoff IntegerMax Retries - Maximum number of retries before returning error
- exponential
Backoff IntegerMax Wait - Maximum amount of seconds to wait before retrying
- exponential
Backoff IntegerMin Wait - Minimum amount of seconds to wait before retrying
- git
Branch String - Git Repository branch containing Helm chart definitions. Default
master
(string) - git
Repo String - The url of the catalog v2 repo. Conflicts with
url
(string) - insecure Boolean
- Use insecure HTTPS to download the repo's index. Default:
false
(bool) - insecure
Plain BooleanHttp - Only valid for OCI URL's. Allows insecure connections to registries without enforcing TLS checks
- labels Map<String,String>
- Labels for the catalog v2 (map)
- name String
- The name of the catalog v2 (string)
- resource
Version String - (Computed) The k8s resource version (string)
- secret
Name String - K8s secret name to be used to connect to the repo (string)
- secret
Namespace String - K8s secret namespace (string)
- service
Account String - K8s service account used to deploy charts instead of the end users credentials (string)
- service
Account StringNamespace - The username to access the catalog if needed (string)
- url String
- URL to an index generated by Helm. Conflicts with
git_repo
(string)
- annotations {[key: string]: string}
- Annotations for the catalog v2 (map)
- ca
Bundle string - CA certificate in base64-encoded DER format which will be used to validate the repo's certificate (string)
- cluster
Id string - The cluster id of the catalog V2 (string)
- enabled boolean
- If disabled the repo clone will not be updated or allowed to be installed from. Default:
true
(bool) - exponential
Backoff numberMax Retries - Maximum number of retries before returning error
- exponential
Backoff numberMax Wait - Maximum amount of seconds to wait before retrying
- exponential
Backoff numberMin Wait - Minimum amount of seconds to wait before retrying
- git
Branch string - Git Repository branch containing Helm chart definitions. Default
master
(string) - git
Repo string - The url of the catalog v2 repo. Conflicts with
url
(string) - insecure boolean
- Use insecure HTTPS to download the repo's index. Default:
false
(bool) - insecure
Plain booleanHttp - Only valid for OCI URL's. Allows insecure connections to registries without enforcing TLS checks
- labels {[key: string]: string}
- Labels for the catalog v2 (map)
- name string
- The name of the catalog v2 (string)
- resource
Version string - (Computed) The k8s resource version (string)
- secret
Name string - K8s secret name to be used to connect to the repo (string)
- secret
Namespace string - K8s secret namespace (string)
- service
Account string - K8s service account used to deploy charts instead of the end users credentials (string)
- service
Account stringNamespace - The username to access the catalog if needed (string)
- url string
- URL to an index generated by Helm. Conflicts with
git_repo
(string)
- annotations Mapping[str, str]
- Annotations for the catalog v2 (map)
- ca_
bundle str - CA certificate in base64-encoded DER format which will be used to validate the repo's certificate (string)
- cluster_
id str - The cluster id of the catalog V2 (string)
- enabled bool
- If disabled the repo clone will not be updated or allowed to be installed from. Default:
true
(bool) - exponential_
backoff_ intmax_ retries - Maximum number of retries before returning error
- exponential_
backoff_ intmax_ wait - Maximum amount of seconds to wait before retrying
- exponential_
backoff_ intmin_ wait - Minimum amount of seconds to wait before retrying
- git_
branch str - Git Repository branch containing Helm chart definitions. Default
master
(string) - git_
repo str - The url of the catalog v2 repo. Conflicts with
url
(string) - insecure bool
- Use insecure HTTPS to download the repo's index. Default:
false
(bool) - insecure_
plain_ boolhttp - Only valid for OCI URL's. Allows insecure connections to registries without enforcing TLS checks
- labels Mapping[str, str]
- Labels for the catalog v2 (map)
- name str
- The name of the catalog v2 (string)
- resource_
version str - (Computed) The k8s resource version (string)
- secret_
name str - K8s secret name to be used to connect to the repo (string)
- secret_
namespace str - K8s secret namespace (string)
- service_
account str - K8s service account used to deploy charts instead of the end users credentials (string)
- service_
account_ strnamespace - The username to access the catalog if needed (string)
- url str
- URL to an index generated by Helm. Conflicts with
git_repo
(string)
- annotations Map<String>
- Annotations for the catalog v2 (map)
- ca
Bundle String - CA certificate in base64-encoded DER format which will be used to validate the repo's certificate (string)
- cluster
Id String - The cluster id of the catalog V2 (string)
- enabled Boolean
- If disabled the repo clone will not be updated or allowed to be installed from. Default:
true
(bool) - exponential
Backoff NumberMax Retries - Maximum number of retries before returning error
- exponential
Backoff NumberMax Wait - Maximum amount of seconds to wait before retrying
- exponential
Backoff NumberMin Wait - Minimum amount of seconds to wait before retrying
- git
Branch String - Git Repository branch containing Helm chart definitions. Default
master
(string) - git
Repo String - The url of the catalog v2 repo. Conflicts with
url
(string) - insecure Boolean
- Use insecure HTTPS to download the repo's index. Default:
false
(bool) - insecure
Plain BooleanHttp - Only valid for OCI URL's. Allows insecure connections to registries without enforcing TLS checks
- labels Map<String>
- Labels for the catalog v2 (map)
- name String
- The name of the catalog v2 (string)
- resource
Version String - (Computed) The k8s resource version (string)
- secret
Name String - K8s secret name to be used to connect to the repo (string)
- secret
Namespace String - K8s secret namespace (string)
- service
Account String - K8s service account used to deploy charts instead of the end users credentials (string)
- service
Account StringNamespace - The username to access the catalog if needed (string)
- url String
- URL to an index generated by Helm. Conflicts with
git_repo
(string)
Import
V2 catalogs can be imported using the Rancher cluster ID and Catalog V2 name.
$ pulumi import rancher2:index/catalogV2:CatalogV2 foo <CLUSTER_ID>.<CATALOG_V2_NAME>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Rancher2 pulumi/pulumi-rancher2
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rancher2
Terraform Provider.