1. Packages
  2. Ibm Provider
  3. API Docs
  4. ContainerAddons
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.ContainerAddons

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Enable, update or disable a single add-on or a set of add-ons. For more information, see Cluster addons.

    Example Usage

    In the following example, you can configure a add-ons:

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const addons = new ibm.ContainerAddons("addons", {
        cluster: ibm_container_vpc_cluster.cluster.name,
        addons: [
            {
                name: "istio",
                version: "1.7",
            },
            {
                name: "kube-terminal",
                version: "1.0.0",
            },
            {
                name: "alb-oauth-proxy",
                version: "1.0.0",
            },
            {
                name: "debug-tool",
                version: "2.0.0",
            },
            {
                name: "knative",
                version: "0.17.0",
            },
            {
                name: "static-route",
                version: "1.0.0",
            },
            {
                name: "vpc-block-csi-driver",
                version: "2.0.3",
            },
            {
                name: "cluster-autoscaler",
                version: "1.0.1",
            },
            {
                name: "openshift-data-foundation",
                version: "4.12.0",
                parametersJson: `\x09\x09{
    \x09\x09\x09"osdSize":"200Gi",
    \x09\x09\x09"numOfOsd":"2",
    \x09\x09\x09"osdStorageClassName":"ibmc-vpc-block-metro-10iops-tier",
    \x09\x09\x09"odfDeploy":"true"
    \x09\x09}
    `,
            },
        ],
    }, {
        dependsOn: [ibm_container_vpc_cluster.cluster],
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    addons = ibm.ContainerAddons("addons",
        cluster=ibm_container_vpc_cluster["cluster"]["name"],
        addons=[
            {
                "name": "istio",
                "version": "1.7",
            },
            {
                "name": "kube-terminal",
                "version": "1.0.0",
            },
            {
                "name": "alb-oauth-proxy",
                "version": "1.0.0",
            },
            {
                "name": "debug-tool",
                "version": "2.0.0",
            },
            {
                "name": "knative",
                "version": "0.17.0",
            },
            {
                "name": "static-route",
                "version": "1.0.0",
            },
            {
                "name": "vpc-block-csi-driver",
                "version": "2.0.3",
            },
            {
                "name": "cluster-autoscaler",
                "version": "1.0.1",
            },
            {
                "name": "openshift-data-foundation",
                "version": "4.12.0",
                "parameters_json": """\x09\x09{
    \x09\x09\x09"osdSize":"200Gi",
    \x09\x09\x09"numOfOsd":"2",
    \x09\x09\x09"osdStorageClassName":"ibmc-vpc-block-metro-10iops-tier",
    \x09\x09\x09"odfDeploy":"true"
    \x09\x09}
    """,
            },
        ],
        opts = pulumi.ResourceOptions(depends_on=[ibm_container_vpc_cluster["cluster"]]))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.NewContainerAddons(ctx, "addons", &ibm.ContainerAddonsArgs{
    			Cluster: pulumi.Any(ibm_container_vpc_cluster.Cluster.Name),
    			Addons: ibm.ContainerAddonsAddonArray{
    				&ibm.ContainerAddonsAddonArgs{
    					Name:    pulumi.String("istio"),
    					Version: pulumi.String("1.7"),
    				},
    				&ibm.ContainerAddonsAddonArgs{
    					Name:    pulumi.String("kube-terminal"),
    					Version: pulumi.String("1.0.0"),
    				},
    				&ibm.ContainerAddonsAddonArgs{
    					Name:    pulumi.String("alb-oauth-proxy"),
    					Version: pulumi.String("1.0.0"),
    				},
    				&ibm.ContainerAddonsAddonArgs{
    					Name:    pulumi.String("debug-tool"),
    					Version: pulumi.String("2.0.0"),
    				},
    				&ibm.ContainerAddonsAddonArgs{
    					Name:    pulumi.String("knative"),
    					Version: pulumi.String("0.17.0"),
    				},
    				&ibm.ContainerAddonsAddonArgs{
    					Name:    pulumi.String("static-route"),
    					Version: pulumi.String("1.0.0"),
    				},
    				&ibm.ContainerAddonsAddonArgs{
    					Name:    pulumi.String("vpc-block-csi-driver"),
    					Version: pulumi.String("2.0.3"),
    				},
    				&ibm.ContainerAddonsAddonArgs{
    					Name:    pulumi.String("cluster-autoscaler"),
    					Version: pulumi.String("1.0.1"),
    				},
    				&ibm.ContainerAddonsAddonArgs{
    					Name:    pulumi.String("openshift-data-foundation"),
    					Version: pulumi.String("4.12.0"),
    					ParametersJson: pulumi.String(`		{
    			"osdSize":"200Gi",
    			"numOfOsd":"2",
    			"osdStorageClassName":"ibmc-vpc-block-metro-10iops-tier",
    			"odfDeploy":"true"
    		}
    `),
    				},
    			},
    		}, pulumi.DependsOn([]pulumi.Resource{
    			ibm_container_vpc_cluster.Cluster,
    		}))
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var addons = new Ibm.ContainerAddons("addons", new()
        {
            Cluster = ibm_container_vpc_cluster.Cluster.Name,
            Addons = new[]
            {
                new Ibm.Inputs.ContainerAddonsAddonArgs
                {
                    Name = "istio",
                    Version = "1.7",
                },
                new Ibm.Inputs.ContainerAddonsAddonArgs
                {
                    Name = "kube-terminal",
                    Version = "1.0.0",
                },
                new Ibm.Inputs.ContainerAddonsAddonArgs
                {
                    Name = "alb-oauth-proxy",
                    Version = "1.0.0",
                },
                new Ibm.Inputs.ContainerAddonsAddonArgs
                {
                    Name = "debug-tool",
                    Version = "2.0.0",
                },
                new Ibm.Inputs.ContainerAddonsAddonArgs
                {
                    Name = "knative",
                    Version = "0.17.0",
                },
                new Ibm.Inputs.ContainerAddonsAddonArgs
                {
                    Name = "static-route",
                    Version = "1.0.0",
                },
                new Ibm.Inputs.ContainerAddonsAddonArgs
                {
                    Name = "vpc-block-csi-driver",
                    Version = "2.0.3",
                },
                new Ibm.Inputs.ContainerAddonsAddonArgs
                {
                    Name = "cluster-autoscaler",
                    Version = "1.0.1",
                },
                new Ibm.Inputs.ContainerAddonsAddonArgs
                {
                    Name = "openshift-data-foundation",
                    Version = "4.12.0",
                    ParametersJson = @"		{
    			""osdSize"":""200Gi"",
    			""numOfOsd"":""2"",
    			""osdStorageClassName"":""ibmc-vpc-block-metro-10iops-tier"",
    			""odfDeploy"":""true""
    		}
    ",
                },
            },
        }, new CustomResourceOptions
        {
            DependsOn =
            {
                ibm_container_vpc_cluster.Cluster,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.ContainerAddons;
    import com.pulumi.ibm.ContainerAddonsArgs;
    import com.pulumi.ibm.inputs.ContainerAddonsAddonArgs;
    import com.pulumi.resources.CustomResourceOptions;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var addons = new ContainerAddons("addons", ContainerAddonsArgs.builder()
                .cluster(ibm_container_vpc_cluster.cluster().name())
                .addons(            
                    ContainerAddonsAddonArgs.builder()
                        .name("istio")
                        .version("1.7")
                        .build(),
                    ContainerAddonsAddonArgs.builder()
                        .name("kube-terminal")
                        .version("1.0.0")
                        .build(),
                    ContainerAddonsAddonArgs.builder()
                        .name("alb-oauth-proxy")
                        .version("1.0.0")
                        .build(),
                    ContainerAddonsAddonArgs.builder()
                        .name("debug-tool")
                        .version("2.0.0")
                        .build(),
                    ContainerAddonsAddonArgs.builder()
                        .name("knative")
                        .version("0.17.0")
                        .build(),
                    ContainerAddonsAddonArgs.builder()
                        .name("static-route")
                        .version("1.0.0")
                        .build(),
                    ContainerAddonsAddonArgs.builder()
                        .name("vpc-block-csi-driver")
                        .version("2.0.3")
                        .build(),
                    ContainerAddonsAddonArgs.builder()
                        .name("cluster-autoscaler")
                        .version("1.0.1")
                        .build(),
                    ContainerAddonsAddonArgs.builder()
                        .name("openshift-data-foundation")
                        .version("4.12.0")
                        .parametersJson("""
    		{
    			"osdSize":"200Gi",
    			"numOfOsd":"2",
    			"osdStorageClassName":"ibmc-vpc-block-metro-10iops-tier",
    			"odfDeploy":"true"
    		}
                        """)
                        .build())
                .build(), CustomResourceOptions.builder()
                    .dependsOn(ibm_container_vpc_cluster.cluster())
                    .build());
    
        }
    }
    
    resources:
      addons:
        type: ibm:ContainerAddons
        properties:
          cluster: ${ibm_container_vpc_cluster.cluster.name}
          addons:
            - name: istio
              version: '1.7'
            - name: kube-terminal
              version: 1.0.0
            - name: alb-oauth-proxy
              version: 1.0.0
            - name: debug-tool
              version: 2.0.0
            - name: knative
              version: 0.17.0
            - name: static-route
              version: 1.0.0
            - name: vpc-block-csi-driver
              version: 2.0.3
            - name: cluster-autoscaler
              version: 1.0.1
            - name: openshift-data-foundation
              version: 4.12.0
              parametersJson: |
                		{
                			"osdSize":"200Gi",
                			"numOfOsd":"2",
                			"osdStorageClassName":"ibmc-vpc-block-metro-10iops-tier",
                			"odfDeploy":"true"
                		}            
        options:
          dependsOn:
            - ${ibm_container_vpc_cluster.cluster}
    

    ( Note: you should use depends_on = <cluster> because addons cannot be enabled until the cluster is deployed. See wait_till )

    Create ContainerAddons Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ContainerAddons(name: string, args: ContainerAddonsArgs, opts?: CustomResourceOptions);
    @overload
    def ContainerAddons(resource_name: str,
                        args: ContainerAddonsArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def ContainerAddons(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        addons: Optional[Sequence[ContainerAddonsAddonArgs]] = None,
                        cluster: Optional[str] = None,
                        container_addons_id: Optional[str] = None,
                        manage_all_addons: Optional[bool] = None,
                        resource_group_id: Optional[str] = None,
                        timeouts: Optional[ContainerAddonsTimeoutsArgs] = None)
    func NewContainerAddons(ctx *Context, name string, args ContainerAddonsArgs, opts ...ResourceOption) (*ContainerAddons, error)
    public ContainerAddons(string name, ContainerAddonsArgs args, CustomResourceOptions? opts = null)
    public ContainerAddons(String name, ContainerAddonsArgs args)
    public ContainerAddons(String name, ContainerAddonsArgs args, CustomResourceOptions options)
    
    type: ibm:ContainerAddons
    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 ContainerAddonsArgs
    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 ContainerAddonsArgs
    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 ContainerAddonsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ContainerAddonsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ContainerAddonsArgs
    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 containerAddonsResource = new Ibm.ContainerAddons("containerAddonsResource", new()
    {
        Addons = new[]
        {
            new Ibm.Inputs.ContainerAddonsAddonArgs
            {
                Name = "string",
                HealthStatus = "string",
                HealthState = "string",
                AllowedUpgradeVersions = new[]
                {
                    "string",
                },
                MinKubeVersion = "string",
                MinOcpVersion = "string",
                Deprecated = false,
                Options = "string",
                ParametersJson = "string",
                SupportedKubeRange = "string",
                TargetVersion = "string",
                Version = "string",
                VlanSpanningRequired = false,
            },
        },
        Cluster = "string",
        ContainerAddonsId = "string",
        ManageAllAddons = false,
        ResourceGroupId = "string",
        Timeouts = new Ibm.Inputs.ContainerAddonsTimeoutsArgs
        {
            Create = "string",
            Update = "string",
        },
    });
    
    example, err := ibm.NewContainerAddons(ctx, "containerAddonsResource", &ibm.ContainerAddonsArgs{
    	Addons: ibm.ContainerAddonsAddonArray{
    		&ibm.ContainerAddonsAddonArgs{
    			Name:         pulumi.String("string"),
    			HealthStatus: pulumi.String("string"),
    			HealthState:  pulumi.String("string"),
    			AllowedUpgradeVersions: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			MinKubeVersion:       pulumi.String("string"),
    			MinOcpVersion:        pulumi.String("string"),
    			Deprecated:           pulumi.Bool(false),
    			Options:              pulumi.String("string"),
    			ParametersJson:       pulumi.String("string"),
    			SupportedKubeRange:   pulumi.String("string"),
    			TargetVersion:        pulumi.String("string"),
    			Version:              pulumi.String("string"),
    			VlanSpanningRequired: pulumi.Bool(false),
    		},
    	},
    	Cluster:           pulumi.String("string"),
    	ContainerAddonsId: pulumi.String("string"),
    	ManageAllAddons:   pulumi.Bool(false),
    	ResourceGroupId:   pulumi.String("string"),
    	Timeouts: &ibm.ContainerAddonsTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var containerAddonsResource = new ContainerAddons("containerAddonsResource", ContainerAddonsArgs.builder()
        .addons(ContainerAddonsAddonArgs.builder()
            .name("string")
            .healthStatus("string")
            .healthState("string")
            .allowedUpgradeVersions("string")
            .minKubeVersion("string")
            .minOcpVersion("string")
            .deprecated(false)
            .options("string")
            .parametersJson("string")
            .supportedKubeRange("string")
            .targetVersion("string")
            .version("string")
            .vlanSpanningRequired(false)
            .build())
        .cluster("string")
        .containerAddonsId("string")
        .manageAllAddons(false)
        .resourceGroupId("string")
        .timeouts(ContainerAddonsTimeoutsArgs.builder()
            .create("string")
            .update("string")
            .build())
        .build());
    
    container_addons_resource = ibm.ContainerAddons("containerAddonsResource",
        addons=[{
            "name": "string",
            "health_status": "string",
            "health_state": "string",
            "allowed_upgrade_versions": ["string"],
            "min_kube_version": "string",
            "min_ocp_version": "string",
            "deprecated": False,
            "options": "string",
            "parameters_json": "string",
            "supported_kube_range": "string",
            "target_version": "string",
            "version": "string",
            "vlan_spanning_required": False,
        }],
        cluster="string",
        container_addons_id="string",
        manage_all_addons=False,
        resource_group_id="string",
        timeouts={
            "create": "string",
            "update": "string",
        })
    
    const containerAddonsResource = new ibm.ContainerAddons("containerAddonsResource", {
        addons: [{
            name: "string",
            healthStatus: "string",
            healthState: "string",
            allowedUpgradeVersions: ["string"],
            minKubeVersion: "string",
            minOcpVersion: "string",
            deprecated: false,
            options: "string",
            parametersJson: "string",
            supportedKubeRange: "string",
            targetVersion: "string",
            version: "string",
            vlanSpanningRequired: false,
        }],
        cluster: "string",
        containerAddonsId: "string",
        manageAllAddons: false,
        resourceGroupId: "string",
        timeouts: {
            create: "string",
            update: "string",
        },
    });
    
    type: ibm:ContainerAddons
    properties:
        addons:
            - allowedUpgradeVersions:
                - string
              deprecated: false
              healthState: string
              healthStatus: string
              minKubeVersion: string
              minOcpVersion: string
              name: string
              options: string
              parametersJson: string
              supportedKubeRange: string
              targetVersion: string
              version: string
              vlanSpanningRequired: false
        cluster: string
        containerAddonsId: string
        manageAllAddons: false
        resourceGroupId: string
        timeouts:
            create: string
            update: string
    

    ContainerAddons 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 ContainerAddons resource accepts the following input properties:

    Addons List<ContainerAddonsAddon>

    Set of add-ons that needs to be enabled.

    Nested scheme for addons:

    Cluster string
    The name or ID of the cluster.
    ContainerAddonsId string
    (String) The ID of an add-ons.
    ManageAllAddons bool
    ResourceGroupId string
    The ID of the resource group. You can retrieve the value from data source ibm_resource_group. If not provided defaults to default resource group.
    Timeouts ContainerAddonsTimeouts
    Addons []ContainerAddonsAddonArgs

    Set of add-ons that needs to be enabled.

    Nested scheme for addons:

    Cluster string
    The name or ID of the cluster.
    ContainerAddonsId string
    (String) The ID of an add-ons.
    ManageAllAddons bool
    ResourceGroupId string
    The ID of the resource group. You can retrieve the value from data source ibm_resource_group. If not provided defaults to default resource group.
    Timeouts ContainerAddonsTimeoutsArgs
    addons List<ContainerAddonsAddon>

    Set of add-ons that needs to be enabled.

    Nested scheme for addons:

    cluster String
    The name or ID of the cluster.
    containerAddonsId String
    (String) The ID of an add-ons.
    manageAllAddons Boolean
    resourceGroupId String
    The ID of the resource group. You can retrieve the value from data source ibm_resource_group. If not provided defaults to default resource group.
    timeouts ContainerAddonsTimeouts
    addons ContainerAddonsAddon[]

    Set of add-ons that needs to be enabled.

    Nested scheme for addons:

    cluster string
    The name or ID of the cluster.
    containerAddonsId string
    (String) The ID of an add-ons.
    manageAllAddons boolean
    resourceGroupId string
    The ID of the resource group. You can retrieve the value from data source ibm_resource_group. If not provided defaults to default resource group.
    timeouts ContainerAddonsTimeouts
    addons Sequence[ContainerAddonsAddonArgs]

    Set of add-ons that needs to be enabled.

    Nested scheme for addons:

    cluster str
    The name or ID of the cluster.
    container_addons_id str
    (String) The ID of an add-ons.
    manage_all_addons bool
    resource_group_id str
    The ID of the resource group. You can retrieve the value from data source ibm_resource_group. If not provided defaults to default resource group.
    timeouts ContainerAddonsTimeoutsArgs
    addons List<Property Map>

    Set of add-ons that needs to be enabled.

    Nested scheme for addons:

    cluster String
    The name or ID of the cluster.
    containerAddonsId String
    (String) The ID of an add-ons.
    manageAllAddons Boolean
    resourceGroupId String
    The ID of the resource group. You can retrieve the value from data source ibm_resource_group. If not provided defaults to default resource group.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ContainerAddons resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    ManagedAddons List<string>
    (List(String)) Used to keep track of the add-on names when manage_all_addons is set to false.
    Id string
    The provider-assigned unique ID for this managed resource.
    ManagedAddons []string
    (List(String)) Used to keep track of the add-on names when manage_all_addons is set to false.
    id String
    The provider-assigned unique ID for this managed resource.
    managedAddons List<String>
    (List(String)) Used to keep track of the add-on names when manage_all_addons is set to false.
    id string
    The provider-assigned unique ID for this managed resource.
    managedAddons string[]
    (List(String)) Used to keep track of the add-on names when manage_all_addons is set to false.
    id str
    The provider-assigned unique ID for this managed resource.
    managed_addons Sequence[str]
    (List(String)) Used to keep track of the add-on names when manage_all_addons is set to false.
    id String
    The provider-assigned unique ID for this managed resource.
    managedAddons List<String>
    (List(String)) Used to keep track of the add-on names when manage_all_addons is set to false.

    Look up Existing ContainerAddons Resource

    Get an existing ContainerAddons 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?: ContainerAddonsState, opts?: CustomResourceOptions): ContainerAddons
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            addons: Optional[Sequence[ContainerAddonsAddonArgs]] = None,
            cluster: Optional[str] = None,
            container_addons_id: Optional[str] = None,
            manage_all_addons: Optional[bool] = None,
            managed_addons: Optional[Sequence[str]] = None,
            resource_group_id: Optional[str] = None,
            timeouts: Optional[ContainerAddonsTimeoutsArgs] = None) -> ContainerAddons
    func GetContainerAddons(ctx *Context, name string, id IDInput, state *ContainerAddonsState, opts ...ResourceOption) (*ContainerAddons, error)
    public static ContainerAddons Get(string name, Input<string> id, ContainerAddonsState? state, CustomResourceOptions? opts = null)
    public static ContainerAddons get(String name, Output<String> id, ContainerAddonsState state, CustomResourceOptions options)
    resources:  _:    type: ibm:ContainerAddons    get:      id: ${id}
    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.
    The following state arguments are supported:
    Addons List<ContainerAddonsAddon>

    Set of add-ons that needs to be enabled.

    Nested scheme for addons:

    Cluster string
    The name or ID of the cluster.
    ContainerAddonsId string
    (String) The ID of an add-ons.
    ManageAllAddons bool
    ManagedAddons List<string>
    (List(String)) Used to keep track of the add-on names when manage_all_addons is set to false.
    ResourceGroupId string
    The ID of the resource group. You can retrieve the value from data source ibm_resource_group. If not provided defaults to default resource group.
    Timeouts ContainerAddonsTimeouts
    Addons []ContainerAddonsAddonArgs

    Set of add-ons that needs to be enabled.

    Nested scheme for addons:

    Cluster string
    The name or ID of the cluster.
    ContainerAddonsId string
    (String) The ID of an add-ons.
    ManageAllAddons bool
    ManagedAddons []string
    (List(String)) Used to keep track of the add-on names when manage_all_addons is set to false.
    ResourceGroupId string
    The ID of the resource group. You can retrieve the value from data source ibm_resource_group. If not provided defaults to default resource group.
    Timeouts ContainerAddonsTimeoutsArgs
    addons List<ContainerAddonsAddon>

    Set of add-ons that needs to be enabled.

    Nested scheme for addons:

    cluster String
    The name or ID of the cluster.
    containerAddonsId String
    (String) The ID of an add-ons.
    manageAllAddons Boolean
    managedAddons List<String>
    (List(String)) Used to keep track of the add-on names when manage_all_addons is set to false.
    resourceGroupId String
    The ID of the resource group. You can retrieve the value from data source ibm_resource_group. If not provided defaults to default resource group.
    timeouts ContainerAddonsTimeouts
    addons ContainerAddonsAddon[]

    Set of add-ons that needs to be enabled.

    Nested scheme for addons:

    cluster string
    The name or ID of the cluster.
    containerAddonsId string
    (String) The ID of an add-ons.
    manageAllAddons boolean
    managedAddons string[]
    (List(String)) Used to keep track of the add-on names when manage_all_addons is set to false.
    resourceGroupId string
    The ID of the resource group. You can retrieve the value from data source ibm_resource_group. If not provided defaults to default resource group.
    timeouts ContainerAddonsTimeouts
    addons Sequence[ContainerAddonsAddonArgs]

    Set of add-ons that needs to be enabled.

    Nested scheme for addons:

    cluster str
    The name or ID of the cluster.
    container_addons_id str
    (String) The ID of an add-ons.
    manage_all_addons bool
    managed_addons Sequence[str]
    (List(String)) Used to keep track of the add-on names when manage_all_addons is set to false.
    resource_group_id str
    The ID of the resource group. You can retrieve the value from data source ibm_resource_group. If not provided defaults to default resource group.
    timeouts ContainerAddonsTimeoutsArgs
    addons List<Property Map>

    Set of add-ons that needs to be enabled.

    Nested scheme for addons:

    cluster String
    The name or ID of the cluster.
    containerAddonsId String
    (String) The ID of an add-ons.
    manageAllAddons Boolean
    managedAddons List<String>
    (List(String)) Used to keep track of the add-on names when manage_all_addons is set to false.
    resourceGroupId String
    The ID of the resource group. You can retrieve the value from data source ibm_resource_group. If not provided defaults to default resource group.
    timeouts Property Map

    Supporting Types

    ContainerAddonsAddon, ContainerAddonsAddonArgs

    Name string
    The add-on name such as istio. Supported add-ons are kube-terminal, alb-oauth-proxy, debug-tool, istio, knative, static-route,vpc-block-csi-driver, openshift-data-foundation.

    AllowedUpgradeVersions List<string>
    (String) The versions that the add-on is upgraded to.
    Deprecated bool
    (String) Determines if the add-on version is deprecated.
    HealthState string
    (String) The health state of an add-on, such as critical or pending.
    HealthStatus string
    (String) The health status of an add-on, provides a description of the state in the form of error message.
    MinKubeVersion string
    (String) The minimum Kubernetes version of the add-on.
    MinOcpVersion string
    (String) The minimum OpenShift version of the add-on.
    Options string
    (String) The add-on options
    ParametersJson string
    Add-On parameters to pass in a JSON string format.
    SupportedKubeRange string
    (String) The supported Kubernetes version range of the add-on.
    TargetVersion string
    (String) The add-on target version.
    Version string
    The addon version, omit the version if you wish to use the default version.
    VlanSpanningRequired bool
    (String) The VLAN spanning required for multi-zone clusters.
    Name string
    The add-on name such as istio. Supported add-ons are kube-terminal, alb-oauth-proxy, debug-tool, istio, knative, static-route,vpc-block-csi-driver, openshift-data-foundation.

    AllowedUpgradeVersions []string
    (String) The versions that the add-on is upgraded to.
    Deprecated bool
    (String) Determines if the add-on version is deprecated.
    HealthState string
    (String) The health state of an add-on, such as critical or pending.
    HealthStatus string
    (String) The health status of an add-on, provides a description of the state in the form of error message.
    MinKubeVersion string
    (String) The minimum Kubernetes version of the add-on.
    MinOcpVersion string
    (String) The minimum OpenShift version of the add-on.
    Options string
    (String) The add-on options
    ParametersJson string
    Add-On parameters to pass in a JSON string format.
    SupportedKubeRange string
    (String) The supported Kubernetes version range of the add-on.
    TargetVersion string
    (String) The add-on target version.
    Version string
    The addon version, omit the version if you wish to use the default version.
    VlanSpanningRequired bool
    (String) The VLAN spanning required for multi-zone clusters.
    name String
    The add-on name such as istio. Supported add-ons are kube-terminal, alb-oauth-proxy, debug-tool, istio, knative, static-route,vpc-block-csi-driver, openshift-data-foundation.

    allowedUpgradeVersions List<String>
    (String) The versions that the add-on is upgraded to.
    deprecated Boolean
    (String) Determines if the add-on version is deprecated.
    healthState String
    (String) The health state of an add-on, such as critical or pending.
    healthStatus String
    (String) The health status of an add-on, provides a description of the state in the form of error message.
    minKubeVersion String
    (String) The minimum Kubernetes version of the add-on.
    minOcpVersion String
    (String) The minimum OpenShift version of the add-on.
    options String
    (String) The add-on options
    parametersJson String
    Add-On parameters to pass in a JSON string format.
    supportedKubeRange String
    (String) The supported Kubernetes version range of the add-on.
    targetVersion String
    (String) The add-on target version.
    version String
    The addon version, omit the version if you wish to use the default version.
    vlanSpanningRequired Boolean
    (String) The VLAN spanning required for multi-zone clusters.
    name string
    The add-on name such as istio. Supported add-ons are kube-terminal, alb-oauth-proxy, debug-tool, istio, knative, static-route,vpc-block-csi-driver, openshift-data-foundation.

    allowedUpgradeVersions string[]
    (String) The versions that the add-on is upgraded to.
    deprecated boolean
    (String) Determines if the add-on version is deprecated.
    healthState string
    (String) The health state of an add-on, such as critical or pending.
    healthStatus string
    (String) The health status of an add-on, provides a description of the state in the form of error message.
    minKubeVersion string
    (String) The minimum Kubernetes version of the add-on.
    minOcpVersion string
    (String) The minimum OpenShift version of the add-on.
    options string
    (String) The add-on options
    parametersJson string
    Add-On parameters to pass in a JSON string format.
    supportedKubeRange string
    (String) The supported Kubernetes version range of the add-on.
    targetVersion string
    (String) The add-on target version.
    version string
    The addon version, omit the version if you wish to use the default version.
    vlanSpanningRequired boolean
    (String) The VLAN spanning required for multi-zone clusters.
    name str
    The add-on name such as istio. Supported add-ons are kube-terminal, alb-oauth-proxy, debug-tool, istio, knative, static-route,vpc-block-csi-driver, openshift-data-foundation.

    allowed_upgrade_versions Sequence[str]
    (String) The versions that the add-on is upgraded to.
    deprecated bool
    (String) Determines if the add-on version is deprecated.
    health_state str
    (String) The health state of an add-on, such as critical or pending.
    health_status str
    (String) The health status of an add-on, provides a description of the state in the form of error message.
    min_kube_version str
    (String) The minimum Kubernetes version of the add-on.
    min_ocp_version str
    (String) The minimum OpenShift version of the add-on.
    options str
    (String) The add-on options
    parameters_json str
    Add-On parameters to pass in a JSON string format.
    supported_kube_range str
    (String) The supported Kubernetes version range of the add-on.
    target_version str
    (String) The add-on target version.
    version str
    The addon version, omit the version if you wish to use the default version.
    vlan_spanning_required bool
    (String) The VLAN spanning required for multi-zone clusters.
    name String
    The add-on name such as istio. Supported add-ons are kube-terminal, alb-oauth-proxy, debug-tool, istio, knative, static-route,vpc-block-csi-driver, openshift-data-foundation.

    allowedUpgradeVersions List<String>
    (String) The versions that the add-on is upgraded to.
    deprecated Boolean
    (String) Determines if the add-on version is deprecated.
    healthState String
    (String) The health state of an add-on, such as critical or pending.
    healthStatus String
    (String) The health status of an add-on, provides a description of the state in the form of error message.
    minKubeVersion String
    (String) The minimum Kubernetes version of the add-on.
    minOcpVersion String
    (String) The minimum OpenShift version of the add-on.
    options String
    (String) The add-on options
    parametersJson String
    Add-On parameters to pass in a JSON string format.
    supportedKubeRange String
    (String) The supported Kubernetes version range of the add-on.
    targetVersion String
    (String) The add-on target version.
    version String
    The addon version, omit the version if you wish to use the default version.
    vlanSpanningRequired Boolean
    (String) The VLAN spanning required for multi-zone clusters.

    ContainerAddonsTimeouts, ContainerAddonsTimeoutsArgs

    Create string
    Update string
    Create string
    Update string
    create String
    update String
    create string
    update string
    create str
    update str
    create String
    update String

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud