1. Packages
  2. Azure Classic
  3. API Docs
  4. arckubernetes
  5. FluxConfiguration

We recommend using Azure Native.

Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi

azure.arckubernetes.FluxConfiguration

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi

    Manages an Arc Kubernetes Flux Configuration.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    import * as std from "@pulumi/std";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "example-resources",
        location: "West Europe",
    });
    const exampleCluster = new azure.arckubernetes.Cluster("example", {
        name: "example-akcc",
        resourceGroupName: example.name,
        location: "West Europe",
        agentPublicKeyCertificate: std.filebase64({
            input: "testdata/public.cer",
        }).then(invoke => invoke.result),
        identity: {
            type: "SystemAssigned",
        },
        tags: {
            ENV: "Test",
        },
    });
    const exampleClusterExtension = new azure.arckubernetes.ClusterExtension("example", {
        name: "example-ext",
        clusterId: test.id,
        extensionType: "microsoft.flux",
    });
    const exampleFluxConfiguration = new azure.arckubernetes.FluxConfiguration("example", {
        name: "example-fc",
        clusterId: test.id,
        namespace: "flux",
        gitRepository: {
            url: "https://github.com/Azure/arc-k8s-demo",
            referenceType: "branch",
            referenceValue: "main",
        },
        kustomizations: [{
            name: "kustomization-1",
        }],
    }, {
        dependsOn: [exampleClusterExtension],
    });
    
    import pulumi
    import pulumi_azure as azure
    import pulumi_std as std
    
    example = azure.core.ResourceGroup("example",
        name="example-resources",
        location="West Europe")
    example_cluster = azure.arckubernetes.Cluster("example",
        name="example-akcc",
        resource_group_name=example.name,
        location="West Europe",
        agent_public_key_certificate=std.filebase64(input="testdata/public.cer").result,
        identity={
            "type": "SystemAssigned",
        },
        tags={
            "ENV": "Test",
        })
    example_cluster_extension = azure.arckubernetes.ClusterExtension("example",
        name="example-ext",
        cluster_id=test["id"],
        extension_type="microsoft.flux")
    example_flux_configuration = azure.arckubernetes.FluxConfiguration("example",
        name="example-fc",
        cluster_id=test["id"],
        namespace="flux",
        git_repository={
            "url": "https://github.com/Azure/arc-k8s-demo",
            "reference_type": "branch",
            "reference_value": "main",
        },
        kustomizations=[{
            "name": "kustomization-1",
        }],
        opts = pulumi.ResourceOptions(depends_on=[example_cluster_extension]))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/arckubernetes"
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
    	"github.com/pulumi/pulumi-std/sdk/go/std"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example-resources"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		invokeFilebase64, err := std.Filebase64(ctx, &std.Filebase64Args{
    			Input: "testdata/public.cer",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = arckubernetes.NewCluster(ctx, "example", &arckubernetes.ClusterArgs{
    			Name:                      pulumi.String("example-akcc"),
    			ResourceGroupName:         example.Name,
    			Location:                  pulumi.String("West Europe"),
    			AgentPublicKeyCertificate: pulumi.String(invokeFilebase64.Result),
    			Identity: &arckubernetes.ClusterIdentityArgs{
    				Type: pulumi.String("SystemAssigned"),
    			},
    			Tags: pulumi.StringMap{
    				"ENV": pulumi.String("Test"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		exampleClusterExtension, err := arckubernetes.NewClusterExtension(ctx, "example", &arckubernetes.ClusterExtensionArgs{
    			Name:          pulumi.String("example-ext"),
    			ClusterId:     pulumi.Any(test.Id),
    			ExtensionType: pulumi.String("microsoft.flux"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = arckubernetes.NewFluxConfiguration(ctx, "example", &arckubernetes.FluxConfigurationArgs{
    			Name:      pulumi.String("example-fc"),
    			ClusterId: pulumi.Any(test.Id),
    			Namespace: pulumi.String("flux"),
    			GitRepository: &arckubernetes.FluxConfigurationGitRepositoryArgs{
    				Url:            pulumi.String("https://github.com/Azure/arc-k8s-demo"),
    				ReferenceType:  pulumi.String("branch"),
    				ReferenceValue: pulumi.String("main"),
    			},
    			Kustomizations: arckubernetes.FluxConfigurationKustomizationArray{
    				&arckubernetes.FluxConfigurationKustomizationArgs{
    					Name: pulumi.String("kustomization-1"),
    				},
    			},
    		}, pulumi.DependsOn([]pulumi.Resource{
    			exampleClusterExtension,
    		}))
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    using Std = Pulumi.Std;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-resources",
            Location = "West Europe",
        });
    
        var exampleCluster = new Azure.ArcKubernetes.Cluster("example", new()
        {
            Name = "example-akcc",
            ResourceGroupName = example.Name,
            Location = "West Europe",
            AgentPublicKeyCertificate = Std.Filebase64.Invoke(new()
            {
                Input = "testdata/public.cer",
            }).Apply(invoke => invoke.Result),
            Identity = new Azure.ArcKubernetes.Inputs.ClusterIdentityArgs
            {
                Type = "SystemAssigned",
            },
            Tags = 
            {
                { "ENV", "Test" },
            },
        });
    
        var exampleClusterExtension = new Azure.ArcKubernetes.ClusterExtension("example", new()
        {
            Name = "example-ext",
            ClusterId = test.Id,
            ExtensionType = "microsoft.flux",
        });
    
        var exampleFluxConfiguration = new Azure.ArcKubernetes.FluxConfiguration("example", new()
        {
            Name = "example-fc",
            ClusterId = test.Id,
            Namespace = "flux",
            GitRepository = new Azure.ArcKubernetes.Inputs.FluxConfigurationGitRepositoryArgs
            {
                Url = "https://github.com/Azure/arc-k8s-demo",
                ReferenceType = "branch",
                ReferenceValue = "main",
            },
            Kustomizations = new[]
            {
                new Azure.ArcKubernetes.Inputs.FluxConfigurationKustomizationArgs
                {
                    Name = "kustomization-1",
                },
            },
        }, new CustomResourceOptions
        {
            DependsOn =
            {
                exampleClusterExtension,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.arckubernetes.Cluster;
    import com.pulumi.azure.arckubernetes.ClusterArgs;
    import com.pulumi.azure.arckubernetes.inputs.ClusterIdentityArgs;
    import com.pulumi.azure.arckubernetes.ClusterExtension;
    import com.pulumi.azure.arckubernetes.ClusterExtensionArgs;
    import com.pulumi.azure.arckubernetes.FluxConfiguration;
    import com.pulumi.azure.arckubernetes.FluxConfigurationArgs;
    import com.pulumi.azure.arckubernetes.inputs.FluxConfigurationGitRepositoryArgs;
    import com.pulumi.azure.arckubernetes.inputs.FluxConfigurationKustomizationArgs;
    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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
                .name("example-resources")
                .location("West Europe")
                .build());
    
            var exampleCluster = new Cluster("exampleCluster", ClusterArgs.builder()
                .name("example-akcc")
                .resourceGroupName(example.name())
                .location("West Europe")
                .agentPublicKeyCertificate(StdFunctions.filebase64(Filebase64Args.builder()
                    .input("testdata/public.cer")
                    .build()).result())
                .identity(ClusterIdentityArgs.builder()
                    .type("SystemAssigned")
                    .build())
                .tags(Map.of("ENV", "Test"))
                .build());
    
            var exampleClusterExtension = new ClusterExtension("exampleClusterExtension", ClusterExtensionArgs.builder()
                .name("example-ext")
                .clusterId(test.id())
                .extensionType("microsoft.flux")
                .build());
    
            var exampleFluxConfiguration = new FluxConfiguration("exampleFluxConfiguration", FluxConfigurationArgs.builder()
                .name("example-fc")
                .clusterId(test.id())
                .namespace("flux")
                .gitRepository(FluxConfigurationGitRepositoryArgs.builder()
                    .url("https://github.com/Azure/arc-k8s-demo")
                    .referenceType("branch")
                    .referenceValue("main")
                    .build())
                .kustomizations(FluxConfigurationKustomizationArgs.builder()
                    .name("kustomization-1")
                    .build())
                .build(), CustomResourceOptions.builder()
                    .dependsOn(exampleClusterExtension)
                    .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-resources
          location: West Europe
      exampleCluster:
        type: azure:arckubernetes:Cluster
        name: example
        properties:
          name: example-akcc
          resourceGroupName: ${example.name}
          location: West Europe
          agentPublicKeyCertificate:
            fn::invoke:
              Function: std:filebase64
              Arguments:
                input: testdata/public.cer
              Return: result
          identity:
            type: SystemAssigned
          tags:
            ENV: Test
      exampleClusterExtension:
        type: azure:arckubernetes:ClusterExtension
        name: example
        properties:
          name: example-ext
          clusterId: ${test.id}
          extensionType: microsoft.flux
      exampleFluxConfiguration:
        type: azure:arckubernetes:FluxConfiguration
        name: example
        properties:
          name: example-fc
          clusterId: ${test.id}
          namespace: flux
          gitRepository:
            url: https://github.com/Azure/arc-k8s-demo
            referenceType: branch
            referenceValue: main
          kustomizations:
            - name: kustomization-1
        options:
          dependson:
            - ${exampleClusterExtension}
    

    Create FluxConfiguration Resource

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

    Constructor syntax

    new FluxConfiguration(name: string, args: FluxConfigurationArgs, opts?: CustomResourceOptions);
    @overload
    def FluxConfiguration(resource_name: str,
                          args: FluxConfigurationArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def FluxConfiguration(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          cluster_id: Optional[str] = None,
                          kustomizations: Optional[Sequence[FluxConfigurationKustomizationArgs]] = None,
                          namespace: Optional[str] = None,
                          blob_storage: Optional[FluxConfigurationBlobStorageArgs] = None,
                          bucket: Optional[FluxConfigurationBucketArgs] = None,
                          continuous_reconciliation_enabled: Optional[bool] = None,
                          git_repository: Optional[FluxConfigurationGitRepositoryArgs] = None,
                          name: Optional[str] = None,
                          scope: Optional[str] = None)
    func NewFluxConfiguration(ctx *Context, name string, args FluxConfigurationArgs, opts ...ResourceOption) (*FluxConfiguration, error)
    public FluxConfiguration(string name, FluxConfigurationArgs args, CustomResourceOptions? opts = null)
    public FluxConfiguration(String name, FluxConfigurationArgs args)
    public FluxConfiguration(String name, FluxConfigurationArgs args, CustomResourceOptions options)
    
    type: azure:arckubernetes:FluxConfiguration
    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 FluxConfigurationArgs
    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 FluxConfigurationArgs
    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 FluxConfigurationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FluxConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FluxConfigurationArgs
    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 fluxConfigurationResource = new Azure.ArcKubernetes.FluxConfiguration("fluxConfigurationResource", new()
    {
        ClusterId = "string",
        Kustomizations = new[]
        {
            new Azure.ArcKubernetes.Inputs.FluxConfigurationKustomizationArgs
            {
                Name = "string",
                DependsOns = new[]
                {
                    "string",
                },
                GarbageCollectionEnabled = false,
                Path = "string",
                RecreatingEnabled = false,
                RetryIntervalInSeconds = 0,
                SyncIntervalInSeconds = 0,
                TimeoutInSeconds = 0,
            },
        },
        Namespace = "string",
        BlobStorage = new Azure.ArcKubernetes.Inputs.FluxConfigurationBlobStorageArgs
        {
            ContainerId = "string",
            AccountKey = "string",
            LocalAuthReference = "string",
            SasToken = "string",
            ServicePrincipal = new Azure.ArcKubernetes.Inputs.FluxConfigurationBlobStorageServicePrincipalArgs
            {
                ClientId = "string",
                TenantId = "string",
                ClientCertificateBase64 = "string",
                ClientCertificatePassword = "string",
                ClientCertificateSendChain = false,
                ClientSecret = "string",
            },
            SyncIntervalInSeconds = 0,
            TimeoutInSeconds = 0,
        },
        Bucket = new Azure.ArcKubernetes.Inputs.FluxConfigurationBucketArgs
        {
            BucketName = "string",
            Url = "string",
            AccessKey = "string",
            LocalAuthReference = "string",
            SecretKeyBase64 = "string",
            SyncIntervalInSeconds = 0,
            TimeoutInSeconds = 0,
            TlsEnabled = false,
        },
        ContinuousReconciliationEnabled = false,
        GitRepository = new Azure.ArcKubernetes.Inputs.FluxConfigurationGitRepositoryArgs
        {
            ReferenceType = "string",
            ReferenceValue = "string",
            Url = "string",
            HttpsCaCertBase64 = "string",
            HttpsKeyBase64 = "string",
            HttpsUser = "string",
            LocalAuthReference = "string",
            SshKnownHostsBase64 = "string",
            SshPrivateKeyBase64 = "string",
            SyncIntervalInSeconds = 0,
            TimeoutInSeconds = 0,
        },
        Name = "string",
        Scope = "string",
    });
    
    example, err := arckubernetes.NewFluxConfiguration(ctx, "fluxConfigurationResource", &arckubernetes.FluxConfigurationArgs{
    	ClusterId: pulumi.String("string"),
    	Kustomizations: arckubernetes.FluxConfigurationKustomizationArray{
    		&arckubernetes.FluxConfigurationKustomizationArgs{
    			Name: pulumi.String("string"),
    			DependsOns: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			GarbageCollectionEnabled: pulumi.Bool(false),
    			Path:                     pulumi.String("string"),
    			RecreatingEnabled:        pulumi.Bool(false),
    			RetryIntervalInSeconds:   pulumi.Int(0),
    			SyncIntervalInSeconds:    pulumi.Int(0),
    			TimeoutInSeconds:         pulumi.Int(0),
    		},
    	},
    	Namespace: pulumi.String("string"),
    	BlobStorage: &arckubernetes.FluxConfigurationBlobStorageArgs{
    		ContainerId:        pulumi.String("string"),
    		AccountKey:         pulumi.String("string"),
    		LocalAuthReference: pulumi.String("string"),
    		SasToken:           pulumi.String("string"),
    		ServicePrincipal: &arckubernetes.FluxConfigurationBlobStorageServicePrincipalArgs{
    			ClientId:                   pulumi.String("string"),
    			TenantId:                   pulumi.String("string"),
    			ClientCertificateBase64:    pulumi.String("string"),
    			ClientCertificatePassword:  pulumi.String("string"),
    			ClientCertificateSendChain: pulumi.Bool(false),
    			ClientSecret:               pulumi.String("string"),
    		},
    		SyncIntervalInSeconds: pulumi.Int(0),
    		TimeoutInSeconds:      pulumi.Int(0),
    	},
    	Bucket: &arckubernetes.FluxConfigurationBucketArgs{
    		BucketName:            pulumi.String("string"),
    		Url:                   pulumi.String("string"),
    		AccessKey:             pulumi.String("string"),
    		LocalAuthReference:    pulumi.String("string"),
    		SecretKeyBase64:       pulumi.String("string"),
    		SyncIntervalInSeconds: pulumi.Int(0),
    		TimeoutInSeconds:      pulumi.Int(0),
    		TlsEnabled:            pulumi.Bool(false),
    	},
    	ContinuousReconciliationEnabled: pulumi.Bool(false),
    	GitRepository: &arckubernetes.FluxConfigurationGitRepositoryArgs{
    		ReferenceType:         pulumi.String("string"),
    		ReferenceValue:        pulumi.String("string"),
    		Url:                   pulumi.String("string"),
    		HttpsCaCertBase64:     pulumi.String("string"),
    		HttpsKeyBase64:        pulumi.String("string"),
    		HttpsUser:             pulumi.String("string"),
    		LocalAuthReference:    pulumi.String("string"),
    		SshKnownHostsBase64:   pulumi.String("string"),
    		SshPrivateKeyBase64:   pulumi.String("string"),
    		SyncIntervalInSeconds: pulumi.Int(0),
    		TimeoutInSeconds:      pulumi.Int(0),
    	},
    	Name:  pulumi.String("string"),
    	Scope: pulumi.String("string"),
    })
    
    var fluxConfigurationResource = new FluxConfiguration("fluxConfigurationResource", FluxConfigurationArgs.builder()
        .clusterId("string")
        .kustomizations(FluxConfigurationKustomizationArgs.builder()
            .name("string")
            .dependsOns("string")
            .garbageCollectionEnabled(false)
            .path("string")
            .recreatingEnabled(false)
            .retryIntervalInSeconds(0)
            .syncIntervalInSeconds(0)
            .timeoutInSeconds(0)
            .build())
        .namespace("string")
        .blobStorage(FluxConfigurationBlobStorageArgs.builder()
            .containerId("string")
            .accountKey("string")
            .localAuthReference("string")
            .sasToken("string")
            .servicePrincipal(FluxConfigurationBlobStorageServicePrincipalArgs.builder()
                .clientId("string")
                .tenantId("string")
                .clientCertificateBase64("string")
                .clientCertificatePassword("string")
                .clientCertificateSendChain(false)
                .clientSecret("string")
                .build())
            .syncIntervalInSeconds(0)
            .timeoutInSeconds(0)
            .build())
        .bucket(FluxConfigurationBucketArgs.builder()
            .bucketName("string")
            .url("string")
            .accessKey("string")
            .localAuthReference("string")
            .secretKeyBase64("string")
            .syncIntervalInSeconds(0)
            .timeoutInSeconds(0)
            .tlsEnabled(false)
            .build())
        .continuousReconciliationEnabled(false)
        .gitRepository(FluxConfigurationGitRepositoryArgs.builder()
            .referenceType("string")
            .referenceValue("string")
            .url("string")
            .httpsCaCertBase64("string")
            .httpsKeyBase64("string")
            .httpsUser("string")
            .localAuthReference("string")
            .sshKnownHostsBase64("string")
            .sshPrivateKeyBase64("string")
            .syncIntervalInSeconds(0)
            .timeoutInSeconds(0)
            .build())
        .name("string")
        .scope("string")
        .build());
    
    flux_configuration_resource = azure.arckubernetes.FluxConfiguration("fluxConfigurationResource",
        cluster_id="string",
        kustomizations=[{
            "name": "string",
            "depends_ons": ["string"],
            "garbage_collection_enabled": False,
            "path": "string",
            "recreating_enabled": False,
            "retry_interval_in_seconds": 0,
            "sync_interval_in_seconds": 0,
            "timeout_in_seconds": 0,
        }],
        namespace="string",
        blob_storage={
            "container_id": "string",
            "account_key": "string",
            "local_auth_reference": "string",
            "sas_token": "string",
            "service_principal": {
                "client_id": "string",
                "tenant_id": "string",
                "client_certificate_base64": "string",
                "client_certificate_password": "string",
                "client_certificate_send_chain": False,
                "client_secret": "string",
            },
            "sync_interval_in_seconds": 0,
            "timeout_in_seconds": 0,
        },
        bucket={
            "bucket_name": "string",
            "url": "string",
            "access_key": "string",
            "local_auth_reference": "string",
            "secret_key_base64": "string",
            "sync_interval_in_seconds": 0,
            "timeout_in_seconds": 0,
            "tls_enabled": False,
        },
        continuous_reconciliation_enabled=False,
        git_repository={
            "reference_type": "string",
            "reference_value": "string",
            "url": "string",
            "https_ca_cert_base64": "string",
            "https_key_base64": "string",
            "https_user": "string",
            "local_auth_reference": "string",
            "ssh_known_hosts_base64": "string",
            "ssh_private_key_base64": "string",
            "sync_interval_in_seconds": 0,
            "timeout_in_seconds": 0,
        },
        name="string",
        scope="string")
    
    const fluxConfigurationResource = new azure.arckubernetes.FluxConfiguration("fluxConfigurationResource", {
        clusterId: "string",
        kustomizations: [{
            name: "string",
            dependsOns: ["string"],
            garbageCollectionEnabled: false,
            path: "string",
            recreatingEnabled: false,
            retryIntervalInSeconds: 0,
            syncIntervalInSeconds: 0,
            timeoutInSeconds: 0,
        }],
        namespace: "string",
        blobStorage: {
            containerId: "string",
            accountKey: "string",
            localAuthReference: "string",
            sasToken: "string",
            servicePrincipal: {
                clientId: "string",
                tenantId: "string",
                clientCertificateBase64: "string",
                clientCertificatePassword: "string",
                clientCertificateSendChain: false,
                clientSecret: "string",
            },
            syncIntervalInSeconds: 0,
            timeoutInSeconds: 0,
        },
        bucket: {
            bucketName: "string",
            url: "string",
            accessKey: "string",
            localAuthReference: "string",
            secretKeyBase64: "string",
            syncIntervalInSeconds: 0,
            timeoutInSeconds: 0,
            tlsEnabled: false,
        },
        continuousReconciliationEnabled: false,
        gitRepository: {
            referenceType: "string",
            referenceValue: "string",
            url: "string",
            httpsCaCertBase64: "string",
            httpsKeyBase64: "string",
            httpsUser: "string",
            localAuthReference: "string",
            sshKnownHostsBase64: "string",
            sshPrivateKeyBase64: "string",
            syncIntervalInSeconds: 0,
            timeoutInSeconds: 0,
        },
        name: "string",
        scope: "string",
    });
    
    type: azure:arckubernetes:FluxConfiguration
    properties:
        blobStorage:
            accountKey: string
            containerId: string
            localAuthReference: string
            sasToken: string
            servicePrincipal:
                clientCertificateBase64: string
                clientCertificatePassword: string
                clientCertificateSendChain: false
                clientId: string
                clientSecret: string
                tenantId: string
            syncIntervalInSeconds: 0
            timeoutInSeconds: 0
        bucket:
            accessKey: string
            bucketName: string
            localAuthReference: string
            secretKeyBase64: string
            syncIntervalInSeconds: 0
            timeoutInSeconds: 0
            tlsEnabled: false
            url: string
        clusterId: string
        continuousReconciliationEnabled: false
        gitRepository:
            httpsCaCertBase64: string
            httpsKeyBase64: string
            httpsUser: string
            localAuthReference: string
            referenceType: string
            referenceValue: string
            sshKnownHostsBase64: string
            sshPrivateKeyBase64: string
            syncIntervalInSeconds: 0
            timeoutInSeconds: 0
            url: string
        kustomizations:
            - dependsOns:
                - string
              garbageCollectionEnabled: false
              name: string
              path: string
              recreatingEnabled: false
              retryIntervalInSeconds: 0
              syncIntervalInSeconds: 0
              timeoutInSeconds: 0
        name: string
        namespace: string
        scope: string
    

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

    ClusterId string
    Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
    Kustomizations List<FluxConfigurationKustomization>
    A kustomizations block as defined below.
    Namespace string
    Specifies the namespace to which this configuration is installed to. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    BlobStorage FluxConfigurationBlobStorage
    An blob_storage block as defined below.
    Bucket FluxConfigurationBucket
    A bucket block as defined below.
    ContinuousReconciliationEnabled bool
    Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to true.
    GitRepository FluxConfigurationGitRepository
    A git_repository block as defined below.
    Name string
    Specifies the name which should be used for this Arc Kubernetes Flux Configuration. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    Scope string
    Specifies the scope at which the operator will be installed. Possible values are cluster and namespace. Defaults to namespace. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    ClusterId string
    Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
    Kustomizations []FluxConfigurationKustomizationArgs
    A kustomizations block as defined below.
    Namespace string
    Specifies the namespace to which this configuration is installed to. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    BlobStorage FluxConfigurationBlobStorageArgs
    An blob_storage block as defined below.
    Bucket FluxConfigurationBucketArgs
    A bucket block as defined below.
    ContinuousReconciliationEnabled bool
    Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to true.
    GitRepository FluxConfigurationGitRepositoryArgs
    A git_repository block as defined below.
    Name string
    Specifies the name which should be used for this Arc Kubernetes Flux Configuration. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    Scope string
    Specifies the scope at which the operator will be installed. Possible values are cluster and namespace. Defaults to namespace. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    clusterId String
    Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
    kustomizations List<FluxConfigurationKustomization>
    A kustomizations block as defined below.
    namespace String
    Specifies the namespace to which this configuration is installed to. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    blobStorage FluxConfigurationBlobStorage
    An blob_storage block as defined below.
    bucket FluxConfigurationBucket
    A bucket block as defined below.
    continuousReconciliationEnabled Boolean
    Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to true.
    gitRepository FluxConfigurationGitRepository
    A git_repository block as defined below.
    name String
    Specifies the name which should be used for this Arc Kubernetes Flux Configuration. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    scope String
    Specifies the scope at which the operator will be installed. Possible values are cluster and namespace. Defaults to namespace. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    clusterId string
    Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
    kustomizations FluxConfigurationKustomization[]
    A kustomizations block as defined below.
    namespace string
    Specifies the namespace to which this configuration is installed to. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    blobStorage FluxConfigurationBlobStorage
    An blob_storage block as defined below.
    bucket FluxConfigurationBucket
    A bucket block as defined below.
    continuousReconciliationEnabled boolean
    Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to true.
    gitRepository FluxConfigurationGitRepository
    A git_repository block as defined below.
    name string
    Specifies the name which should be used for this Arc Kubernetes Flux Configuration. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    scope string
    Specifies the scope at which the operator will be installed. Possible values are cluster and namespace. Defaults to namespace. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    cluster_id str
    Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
    kustomizations Sequence[FluxConfigurationKustomizationArgs]
    A kustomizations block as defined below.
    namespace str
    Specifies the namespace to which this configuration is installed to. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    blob_storage FluxConfigurationBlobStorageArgs
    An blob_storage block as defined below.
    bucket FluxConfigurationBucketArgs
    A bucket block as defined below.
    continuous_reconciliation_enabled bool
    Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to true.
    git_repository FluxConfigurationGitRepositoryArgs
    A git_repository block as defined below.
    name str
    Specifies the name which should be used for this Arc Kubernetes Flux Configuration. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    scope str
    Specifies the scope at which the operator will be installed. Possible values are cluster and namespace. Defaults to namespace. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    clusterId String
    Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
    kustomizations List<Property Map>
    A kustomizations block as defined below.
    namespace String
    Specifies the namespace to which this configuration is installed to. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    blobStorage Property Map
    An blob_storage block as defined below.
    bucket Property Map
    A bucket block as defined below.
    continuousReconciliationEnabled Boolean
    Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to true.
    gitRepository Property Map
    A git_repository block as defined below.
    name String
    Specifies the name which should be used for this Arc Kubernetes Flux Configuration. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    scope String
    Specifies the scope at which the operator will be installed. Possible values are cluster and namespace. Defaults to namespace. Changing this forces a new Arc Kubernetes Flux Configuration to be created.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing FluxConfiguration Resource

    Get an existing FluxConfiguration 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?: FluxConfigurationState, opts?: CustomResourceOptions): FluxConfiguration
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            blob_storage: Optional[FluxConfigurationBlobStorageArgs] = None,
            bucket: Optional[FluxConfigurationBucketArgs] = None,
            cluster_id: Optional[str] = None,
            continuous_reconciliation_enabled: Optional[bool] = None,
            git_repository: Optional[FluxConfigurationGitRepositoryArgs] = None,
            kustomizations: Optional[Sequence[FluxConfigurationKustomizationArgs]] = None,
            name: Optional[str] = None,
            namespace: Optional[str] = None,
            scope: Optional[str] = None) -> FluxConfiguration
    func GetFluxConfiguration(ctx *Context, name string, id IDInput, state *FluxConfigurationState, opts ...ResourceOption) (*FluxConfiguration, error)
    public static FluxConfiguration Get(string name, Input<string> id, FluxConfigurationState? state, CustomResourceOptions? opts = null)
    public static FluxConfiguration get(String name, Output<String> id, FluxConfigurationState 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.
    The following state arguments are supported:
    BlobStorage FluxConfigurationBlobStorage
    An blob_storage block as defined below.
    Bucket FluxConfigurationBucket
    A bucket block as defined below.
    ClusterId string
    Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
    ContinuousReconciliationEnabled bool
    Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to true.
    GitRepository FluxConfigurationGitRepository
    A git_repository block as defined below.
    Kustomizations List<FluxConfigurationKustomization>
    A kustomizations block as defined below.
    Name string
    Specifies the name which should be used for this Arc Kubernetes Flux Configuration. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    Namespace string
    Specifies the namespace to which this configuration is installed to. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    Scope string
    Specifies the scope at which the operator will be installed. Possible values are cluster and namespace. Defaults to namespace. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    BlobStorage FluxConfigurationBlobStorageArgs
    An blob_storage block as defined below.
    Bucket FluxConfigurationBucketArgs
    A bucket block as defined below.
    ClusterId string
    Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
    ContinuousReconciliationEnabled bool
    Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to true.
    GitRepository FluxConfigurationGitRepositoryArgs
    A git_repository block as defined below.
    Kustomizations []FluxConfigurationKustomizationArgs
    A kustomizations block as defined below.
    Name string
    Specifies the name which should be used for this Arc Kubernetes Flux Configuration. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    Namespace string
    Specifies the namespace to which this configuration is installed to. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    Scope string
    Specifies the scope at which the operator will be installed. Possible values are cluster and namespace. Defaults to namespace. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    blobStorage FluxConfigurationBlobStorage
    An blob_storage block as defined below.
    bucket FluxConfigurationBucket
    A bucket block as defined below.
    clusterId String
    Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
    continuousReconciliationEnabled Boolean
    Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to true.
    gitRepository FluxConfigurationGitRepository
    A git_repository block as defined below.
    kustomizations List<FluxConfigurationKustomization>
    A kustomizations block as defined below.
    name String
    Specifies the name which should be used for this Arc Kubernetes Flux Configuration. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    namespace String
    Specifies the namespace to which this configuration is installed to. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    scope String
    Specifies the scope at which the operator will be installed. Possible values are cluster and namespace. Defaults to namespace. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    blobStorage FluxConfigurationBlobStorage
    An blob_storage block as defined below.
    bucket FluxConfigurationBucket
    A bucket block as defined below.
    clusterId string
    Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
    continuousReconciliationEnabled boolean
    Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to true.
    gitRepository FluxConfigurationGitRepository
    A git_repository block as defined below.
    kustomizations FluxConfigurationKustomization[]
    A kustomizations block as defined below.
    name string
    Specifies the name which should be used for this Arc Kubernetes Flux Configuration. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    namespace string
    Specifies the namespace to which this configuration is installed to. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    scope string
    Specifies the scope at which the operator will be installed. Possible values are cluster and namespace. Defaults to namespace. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    blob_storage FluxConfigurationBlobStorageArgs
    An blob_storage block as defined below.
    bucket FluxConfigurationBucketArgs
    A bucket block as defined below.
    cluster_id str
    Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
    continuous_reconciliation_enabled bool
    Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to true.
    git_repository FluxConfigurationGitRepositoryArgs
    A git_repository block as defined below.
    kustomizations Sequence[FluxConfigurationKustomizationArgs]
    A kustomizations block as defined below.
    name str
    Specifies the name which should be used for this Arc Kubernetes Flux Configuration. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    namespace str
    Specifies the namespace to which this configuration is installed to. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    scope str
    Specifies the scope at which the operator will be installed. Possible values are cluster and namespace. Defaults to namespace. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    blobStorage Property Map
    An blob_storage block as defined below.
    bucket Property Map
    A bucket block as defined below.
    clusterId String
    Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
    continuousReconciliationEnabled Boolean
    Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to true.
    gitRepository Property Map
    A git_repository block as defined below.
    kustomizations List<Property Map>
    A kustomizations block as defined below.
    name String
    Specifies the name which should be used for this Arc Kubernetes Flux Configuration. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    namespace String
    Specifies the namespace to which this configuration is installed to. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
    scope String
    Specifies the scope at which the operator will be installed. Possible values are cluster and namespace. Defaults to namespace. Changing this forces a new Arc Kubernetes Flux Configuration to be created.

    Supporting Types

    FluxConfigurationBlobStorage, FluxConfigurationBlobStorageArgs

    ContainerId string
    Specifies the Azure Blob container ID.
    AccountKey string
    Specifies the account key (shared key) to access the storage account.
    LocalAuthReference string
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets.
    SasToken string
    Specifies the shared access token to access the storage container.
    ServicePrincipal FluxConfigurationBlobStorageServicePrincipal
    A service_principal block as defined below.
    SyncIntervalInSeconds int
    Specifies the interval at which to re-reconcile the cluster Azure Blob source with the remote.
    TimeoutInSeconds int
    Specifies the maximum time to attempt to reconcile the cluster Azure Blob source with the remote.
    ContainerId string
    Specifies the Azure Blob container ID.
    AccountKey string
    Specifies the account key (shared key) to access the storage account.
    LocalAuthReference string
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets.
    SasToken string
    Specifies the shared access token to access the storage container.
    ServicePrincipal FluxConfigurationBlobStorageServicePrincipal
    A service_principal block as defined below.
    SyncIntervalInSeconds int
    Specifies the interval at which to re-reconcile the cluster Azure Blob source with the remote.
    TimeoutInSeconds int
    Specifies the maximum time to attempt to reconcile the cluster Azure Blob source with the remote.
    containerId String
    Specifies the Azure Blob container ID.
    accountKey String
    Specifies the account key (shared key) to access the storage account.
    localAuthReference String
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets.
    sasToken String
    Specifies the shared access token to access the storage container.
    servicePrincipal FluxConfigurationBlobStorageServicePrincipal
    A service_principal block as defined below.
    syncIntervalInSeconds Integer
    Specifies the interval at which to re-reconcile the cluster Azure Blob source with the remote.
    timeoutInSeconds Integer
    Specifies the maximum time to attempt to reconcile the cluster Azure Blob source with the remote.
    containerId string
    Specifies the Azure Blob container ID.
    accountKey string
    Specifies the account key (shared key) to access the storage account.
    localAuthReference string
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets.
    sasToken string
    Specifies the shared access token to access the storage container.
    servicePrincipal FluxConfigurationBlobStorageServicePrincipal
    A service_principal block as defined below.
    syncIntervalInSeconds number
    Specifies the interval at which to re-reconcile the cluster Azure Blob source with the remote.
    timeoutInSeconds number
    Specifies the maximum time to attempt to reconcile the cluster Azure Blob source with the remote.
    container_id str
    Specifies the Azure Blob container ID.
    account_key str
    Specifies the account key (shared key) to access the storage account.
    local_auth_reference str
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets.
    sas_token str
    Specifies the shared access token to access the storage container.
    service_principal FluxConfigurationBlobStorageServicePrincipal
    A service_principal block as defined below.
    sync_interval_in_seconds int
    Specifies the interval at which to re-reconcile the cluster Azure Blob source with the remote.
    timeout_in_seconds int
    Specifies the maximum time to attempt to reconcile the cluster Azure Blob source with the remote.
    containerId String
    Specifies the Azure Blob container ID.
    accountKey String
    Specifies the account key (shared key) to access the storage account.
    localAuthReference String
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets.
    sasToken String
    Specifies the shared access token to access the storage container.
    servicePrincipal Property Map
    A service_principal block as defined below.
    syncIntervalInSeconds Number
    Specifies the interval at which to re-reconcile the cluster Azure Blob source with the remote.
    timeoutInSeconds Number
    Specifies the maximum time to attempt to reconcile the cluster Azure Blob source with the remote.

    FluxConfigurationBlobStorageServicePrincipal, FluxConfigurationBlobStorageServicePrincipalArgs

    ClientId string
    Specifies the client ID for authenticating a Service Principal.
    TenantId string
    Specifies the tenant ID for authenticating a Service Principal.
    ClientCertificateBase64 string
    Base64-encoded certificate used to authenticate a Service Principal .
    ClientCertificatePassword string
    Specifies the password for the certificate used to authenticate a Service Principal .
    ClientCertificateSendChain bool
    Specifies whether to include x5c header in client claims when acquiring a token to enable subject name / issuer based authentication for the client certificate.
    ClientSecret string
    Specifies the client secret for authenticating a Service Principal.
    ClientId string
    Specifies the client ID for authenticating a Service Principal.
    TenantId string
    Specifies the tenant ID for authenticating a Service Principal.
    ClientCertificateBase64 string
    Base64-encoded certificate used to authenticate a Service Principal .
    ClientCertificatePassword string
    Specifies the password for the certificate used to authenticate a Service Principal .
    ClientCertificateSendChain bool
    Specifies whether to include x5c header in client claims when acquiring a token to enable subject name / issuer based authentication for the client certificate.
    ClientSecret string
    Specifies the client secret for authenticating a Service Principal.
    clientId String
    Specifies the client ID for authenticating a Service Principal.
    tenantId String
    Specifies the tenant ID for authenticating a Service Principal.
    clientCertificateBase64 String
    Base64-encoded certificate used to authenticate a Service Principal .
    clientCertificatePassword String
    Specifies the password for the certificate used to authenticate a Service Principal .
    clientCertificateSendChain Boolean
    Specifies whether to include x5c header in client claims when acquiring a token to enable subject name / issuer based authentication for the client certificate.
    clientSecret String
    Specifies the client secret for authenticating a Service Principal.
    clientId string
    Specifies the client ID for authenticating a Service Principal.
    tenantId string
    Specifies the tenant ID for authenticating a Service Principal.
    clientCertificateBase64 string
    Base64-encoded certificate used to authenticate a Service Principal .
    clientCertificatePassword string
    Specifies the password for the certificate used to authenticate a Service Principal .
    clientCertificateSendChain boolean
    Specifies whether to include x5c header in client claims when acquiring a token to enable subject name / issuer based authentication for the client certificate.
    clientSecret string
    Specifies the client secret for authenticating a Service Principal.
    client_id str
    Specifies the client ID for authenticating a Service Principal.
    tenant_id str
    Specifies the tenant ID for authenticating a Service Principal.
    client_certificate_base64 str
    Base64-encoded certificate used to authenticate a Service Principal .
    client_certificate_password str
    Specifies the password for the certificate used to authenticate a Service Principal .
    client_certificate_send_chain bool
    Specifies whether to include x5c header in client claims when acquiring a token to enable subject name / issuer based authentication for the client certificate.
    client_secret str
    Specifies the client secret for authenticating a Service Principal.
    clientId String
    Specifies the client ID for authenticating a Service Principal.
    tenantId String
    Specifies the tenant ID for authenticating a Service Principal.
    clientCertificateBase64 String
    Base64-encoded certificate used to authenticate a Service Principal .
    clientCertificatePassword String
    Specifies the password for the certificate used to authenticate a Service Principal .
    clientCertificateSendChain Boolean
    Specifies whether to include x5c header in client claims when acquiring a token to enable subject name / issuer based authentication for the client certificate.
    clientSecret String
    Specifies the client secret for authenticating a Service Principal.

    FluxConfigurationBucket, FluxConfigurationBucketArgs

    BucketName string
    Specifies the bucket name to sync from the url endpoint for the flux configuration.
    Url string
    Specifies the URL to sync for the flux configuration S3 bucket. It must start with http:// or https://.
    AccessKey string
    Specifies the plaintext access key used to securely access the S3 bucket.
    LocalAuthReference string
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets.
    SecretKeyBase64 string
    Specifies the Base64-encoded secret key used to authenticate with the bucket source.
    SyncIntervalInSeconds int
    Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to 600.
    TimeoutInSeconds int
    Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to 600.
    TlsEnabled bool
    Specify whether to communicate with a bucket using TLS is enabled. Defaults to true.
    BucketName string
    Specifies the bucket name to sync from the url endpoint for the flux configuration.
    Url string
    Specifies the URL to sync for the flux configuration S3 bucket. It must start with http:// or https://.
    AccessKey string
    Specifies the plaintext access key used to securely access the S3 bucket.
    LocalAuthReference string
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets.
    SecretKeyBase64 string
    Specifies the Base64-encoded secret key used to authenticate with the bucket source.
    SyncIntervalInSeconds int
    Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to 600.
    TimeoutInSeconds int
    Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to 600.
    TlsEnabled bool
    Specify whether to communicate with a bucket using TLS is enabled. Defaults to true.
    bucketName String
    Specifies the bucket name to sync from the url endpoint for the flux configuration.
    url String
    Specifies the URL to sync for the flux configuration S3 bucket. It must start with http:// or https://.
    accessKey String
    Specifies the plaintext access key used to securely access the S3 bucket.
    localAuthReference String
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets.
    secretKeyBase64 String
    Specifies the Base64-encoded secret key used to authenticate with the bucket source.
    syncIntervalInSeconds Integer
    Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to 600.
    timeoutInSeconds Integer
    Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to 600.
    tlsEnabled Boolean
    Specify whether to communicate with a bucket using TLS is enabled. Defaults to true.
    bucketName string
    Specifies the bucket name to sync from the url endpoint for the flux configuration.
    url string
    Specifies the URL to sync for the flux configuration S3 bucket. It must start with http:// or https://.
    accessKey string
    Specifies the plaintext access key used to securely access the S3 bucket.
    localAuthReference string
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets.
    secretKeyBase64 string
    Specifies the Base64-encoded secret key used to authenticate with the bucket source.
    syncIntervalInSeconds number
    Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to 600.
    timeoutInSeconds number
    Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to 600.
    tlsEnabled boolean
    Specify whether to communicate with a bucket using TLS is enabled. Defaults to true.
    bucket_name str
    Specifies the bucket name to sync from the url endpoint for the flux configuration.
    url str
    Specifies the URL to sync for the flux configuration S3 bucket. It must start with http:// or https://.
    access_key str
    Specifies the plaintext access key used to securely access the S3 bucket.
    local_auth_reference str
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets.
    secret_key_base64 str
    Specifies the Base64-encoded secret key used to authenticate with the bucket source.
    sync_interval_in_seconds int
    Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to 600.
    timeout_in_seconds int
    Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to 600.
    tls_enabled bool
    Specify whether to communicate with a bucket using TLS is enabled. Defaults to true.
    bucketName String
    Specifies the bucket name to sync from the url endpoint for the flux configuration.
    url String
    Specifies the URL to sync for the flux configuration S3 bucket. It must start with http:// or https://.
    accessKey String
    Specifies the plaintext access key used to securely access the S3 bucket.
    localAuthReference String
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets.
    secretKeyBase64 String
    Specifies the Base64-encoded secret key used to authenticate with the bucket source.
    syncIntervalInSeconds Number
    Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to 600.
    timeoutInSeconds Number
    Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to 600.
    tlsEnabled Boolean
    Specify whether to communicate with a bucket using TLS is enabled. Defaults to true.

    FluxConfigurationGitRepository, FluxConfigurationGitRepositoryArgs

    ReferenceType string
    Specifies the source reference type for the GitRepository object. Possible values are branch, commit, semver and tag.
    ReferenceValue string
    Specifies the source reference value for the GitRepository object.
    Url string
    Specifies the URL to sync for the flux configuration git repository. It must start with http://, https://, git@ or ssh://.
    HttpsCaCertBase64 string
    Specifies the Base64-encoded HTTPS certificate authority contents used to access git private git repositories over HTTPS.
    HttpsKeyBase64 string
    Specifies the Base64-encoded HTTPS personal access token or password that will be used to access the repository.
    HttpsUser string
    Specifies the plaintext HTTPS username used to access private git repositories over HTTPS.
    LocalAuthReference string
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. It must be between 1 and 63 characters. It can contain only lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number.
    SshKnownHostsBase64 string
    Specifies the Base64-encoded known_hosts value containing public SSH keys required to access private git repositories over SSH.
    SshPrivateKeyBase64 string
    Specifies the Base64-encoded SSH private key in PEM format.
    SyncIntervalInSeconds int
    Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to 600.
    TimeoutInSeconds int
    Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to 600.
    ReferenceType string
    Specifies the source reference type for the GitRepository object. Possible values are branch, commit, semver and tag.
    ReferenceValue string
    Specifies the source reference value for the GitRepository object.
    Url string
    Specifies the URL to sync for the flux configuration git repository. It must start with http://, https://, git@ or ssh://.
    HttpsCaCertBase64 string
    Specifies the Base64-encoded HTTPS certificate authority contents used to access git private git repositories over HTTPS.
    HttpsKeyBase64 string
    Specifies the Base64-encoded HTTPS personal access token or password that will be used to access the repository.
    HttpsUser string
    Specifies the plaintext HTTPS username used to access private git repositories over HTTPS.
    LocalAuthReference string
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. It must be between 1 and 63 characters. It can contain only lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number.
    SshKnownHostsBase64 string
    Specifies the Base64-encoded known_hosts value containing public SSH keys required to access private git repositories over SSH.
    SshPrivateKeyBase64 string
    Specifies the Base64-encoded SSH private key in PEM format.
    SyncIntervalInSeconds int
    Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to 600.
    TimeoutInSeconds int
    Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to 600.
    referenceType String
    Specifies the source reference type for the GitRepository object. Possible values are branch, commit, semver and tag.
    referenceValue String
    Specifies the source reference value for the GitRepository object.
    url String
    Specifies the URL to sync for the flux configuration git repository. It must start with http://, https://, git@ or ssh://.
    httpsCaCertBase64 String
    Specifies the Base64-encoded HTTPS certificate authority contents used to access git private git repositories over HTTPS.
    httpsKeyBase64 String
    Specifies the Base64-encoded HTTPS personal access token or password that will be used to access the repository.
    httpsUser String
    Specifies the plaintext HTTPS username used to access private git repositories over HTTPS.
    localAuthReference String
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. It must be between 1 and 63 characters. It can contain only lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number.
    sshKnownHostsBase64 String
    Specifies the Base64-encoded known_hosts value containing public SSH keys required to access private git repositories over SSH.
    sshPrivateKeyBase64 String
    Specifies the Base64-encoded SSH private key in PEM format.
    syncIntervalInSeconds Integer
    Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to 600.
    timeoutInSeconds Integer
    Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to 600.
    referenceType string
    Specifies the source reference type for the GitRepository object. Possible values are branch, commit, semver and tag.
    referenceValue string
    Specifies the source reference value for the GitRepository object.
    url string
    Specifies the URL to sync for the flux configuration git repository. It must start with http://, https://, git@ or ssh://.
    httpsCaCertBase64 string
    Specifies the Base64-encoded HTTPS certificate authority contents used to access git private git repositories over HTTPS.
    httpsKeyBase64 string
    Specifies the Base64-encoded HTTPS personal access token or password that will be used to access the repository.
    httpsUser string
    Specifies the plaintext HTTPS username used to access private git repositories over HTTPS.
    localAuthReference string
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. It must be between 1 and 63 characters. It can contain only lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number.
    sshKnownHostsBase64 string
    Specifies the Base64-encoded known_hosts value containing public SSH keys required to access private git repositories over SSH.
    sshPrivateKeyBase64 string
    Specifies the Base64-encoded SSH private key in PEM format.
    syncIntervalInSeconds number
    Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to 600.
    timeoutInSeconds number
    Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to 600.
    reference_type str
    Specifies the source reference type for the GitRepository object. Possible values are branch, commit, semver and tag.
    reference_value str
    Specifies the source reference value for the GitRepository object.
    url str
    Specifies the URL to sync for the flux configuration git repository. It must start with http://, https://, git@ or ssh://.
    https_ca_cert_base64 str
    Specifies the Base64-encoded HTTPS certificate authority contents used to access git private git repositories over HTTPS.
    https_key_base64 str
    Specifies the Base64-encoded HTTPS personal access token or password that will be used to access the repository.
    https_user str
    Specifies the plaintext HTTPS username used to access private git repositories over HTTPS.
    local_auth_reference str
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. It must be between 1 and 63 characters. It can contain only lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number.
    ssh_known_hosts_base64 str
    Specifies the Base64-encoded known_hosts value containing public SSH keys required to access private git repositories over SSH.
    ssh_private_key_base64 str
    Specifies the Base64-encoded SSH private key in PEM format.
    sync_interval_in_seconds int
    Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to 600.
    timeout_in_seconds int
    Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to 600.
    referenceType String
    Specifies the source reference type for the GitRepository object. Possible values are branch, commit, semver and tag.
    referenceValue String
    Specifies the source reference value for the GitRepository object.
    url String
    Specifies the URL to sync for the flux configuration git repository. It must start with http://, https://, git@ or ssh://.
    httpsCaCertBase64 String
    Specifies the Base64-encoded HTTPS certificate authority contents used to access git private git repositories over HTTPS.
    httpsKeyBase64 String
    Specifies the Base64-encoded HTTPS personal access token or password that will be used to access the repository.
    httpsUser String
    Specifies the plaintext HTTPS username used to access private git repositories over HTTPS.
    localAuthReference String
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. It must be between 1 and 63 characters. It can contain only lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number.
    sshKnownHostsBase64 String
    Specifies the Base64-encoded known_hosts value containing public SSH keys required to access private git repositories over SSH.
    sshPrivateKeyBase64 String
    Specifies the Base64-encoded SSH private key in PEM format.
    syncIntervalInSeconds Number
    Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to 600.
    timeoutInSeconds Number
    Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to 600.

    FluxConfigurationKustomization, FluxConfigurationKustomizationArgs

    Name string
    Specifies the name of the kustomization.
    DependsOns List<string>
    Specifies other kustomizations that this kustomization depends on. This kustomization will not reconcile until all dependencies have completed their reconciliation.
    GarbageCollectionEnabled bool
    Whether garbage collections of Kubernetes objects created by this kustomization is enabled. Defaults to false.
    Path string
    Specifies the path in the source reference to reconcile on the cluster.
    RecreatingEnabled bool
    Whether re-creating Kubernetes resources on the cluster is enabled when patching fails due to an immutable field change. Defaults to false.
    RetryIntervalInSeconds int
    The interval at which to re-reconcile the kustomization on the cluster in the event of failure on reconciliation. Defaults to 600.
    SyncIntervalInSeconds int
    The interval at which to re-reconcile the kustomization on the cluster. Defaults to 600.
    TimeoutInSeconds int
    The maximum time to attempt to reconcile the kustomization on the cluster. Defaults to 600.
    Name string
    Specifies the name of the kustomization.
    DependsOns []string
    Specifies other kustomizations that this kustomization depends on. This kustomization will not reconcile until all dependencies have completed their reconciliation.
    GarbageCollectionEnabled bool
    Whether garbage collections of Kubernetes objects created by this kustomization is enabled. Defaults to false.
    Path string
    Specifies the path in the source reference to reconcile on the cluster.
    RecreatingEnabled bool
    Whether re-creating Kubernetes resources on the cluster is enabled when patching fails due to an immutable field change. Defaults to false.
    RetryIntervalInSeconds int
    The interval at which to re-reconcile the kustomization on the cluster in the event of failure on reconciliation. Defaults to 600.
    SyncIntervalInSeconds int
    The interval at which to re-reconcile the kustomization on the cluster. Defaults to 600.
    TimeoutInSeconds int
    The maximum time to attempt to reconcile the kustomization on the cluster. Defaults to 600.
    name String
    Specifies the name of the kustomization.
    dependsOns List<String>
    Specifies other kustomizations that this kustomization depends on. This kustomization will not reconcile until all dependencies have completed their reconciliation.
    garbageCollectionEnabled Boolean
    Whether garbage collections of Kubernetes objects created by this kustomization is enabled. Defaults to false.
    path String
    Specifies the path in the source reference to reconcile on the cluster.
    recreatingEnabled Boolean
    Whether re-creating Kubernetes resources on the cluster is enabled when patching fails due to an immutable field change. Defaults to false.
    retryIntervalInSeconds Integer
    The interval at which to re-reconcile the kustomization on the cluster in the event of failure on reconciliation. Defaults to 600.
    syncIntervalInSeconds Integer
    The interval at which to re-reconcile the kustomization on the cluster. Defaults to 600.
    timeoutInSeconds Integer
    The maximum time to attempt to reconcile the kustomization on the cluster. Defaults to 600.
    name string
    Specifies the name of the kustomization.
    dependsOns string[]
    Specifies other kustomizations that this kustomization depends on. This kustomization will not reconcile until all dependencies have completed their reconciliation.
    garbageCollectionEnabled boolean
    Whether garbage collections of Kubernetes objects created by this kustomization is enabled. Defaults to false.
    path string
    Specifies the path in the source reference to reconcile on the cluster.
    recreatingEnabled boolean
    Whether re-creating Kubernetes resources on the cluster is enabled when patching fails due to an immutable field change. Defaults to false.
    retryIntervalInSeconds number
    The interval at which to re-reconcile the kustomization on the cluster in the event of failure on reconciliation. Defaults to 600.
    syncIntervalInSeconds number
    The interval at which to re-reconcile the kustomization on the cluster. Defaults to 600.
    timeoutInSeconds number
    The maximum time to attempt to reconcile the kustomization on the cluster. Defaults to 600.
    name str
    Specifies the name of the kustomization.
    depends_ons Sequence[str]
    Specifies other kustomizations that this kustomization depends on. This kustomization will not reconcile until all dependencies have completed their reconciliation.
    garbage_collection_enabled bool
    Whether garbage collections of Kubernetes objects created by this kustomization is enabled. Defaults to false.
    path str
    Specifies the path in the source reference to reconcile on the cluster.
    recreating_enabled bool
    Whether re-creating Kubernetes resources on the cluster is enabled when patching fails due to an immutable field change. Defaults to false.
    retry_interval_in_seconds int
    The interval at which to re-reconcile the kustomization on the cluster in the event of failure on reconciliation. Defaults to 600.
    sync_interval_in_seconds int
    The interval at which to re-reconcile the kustomization on the cluster. Defaults to 600.
    timeout_in_seconds int
    The maximum time to attempt to reconcile the kustomization on the cluster. Defaults to 600.
    name String
    Specifies the name of the kustomization.
    dependsOns List<String>
    Specifies other kustomizations that this kustomization depends on. This kustomization will not reconcile until all dependencies have completed their reconciliation.
    garbageCollectionEnabled Boolean
    Whether garbage collections of Kubernetes objects created by this kustomization is enabled. Defaults to false.
    path String
    Specifies the path in the source reference to reconcile on the cluster.
    recreatingEnabled Boolean
    Whether re-creating Kubernetes resources on the cluster is enabled when patching fails due to an immutable field change. Defaults to false.
    retryIntervalInSeconds Number
    The interval at which to re-reconcile the kustomization on the cluster in the event of failure on reconciliation. Defaults to 600.
    syncIntervalInSeconds Number
    The interval at which to re-reconcile the kustomization on the cluster. Defaults to 600.
    timeoutInSeconds Number
    The maximum time to attempt to reconcile the kustomization on the cluster. Defaults to 600.

    Import

    Arc Kubernetes Flux Configuration can be imported using the resource id for different cluster_resource_name, e.g.

    $ pulumi import azure:arckubernetes/fluxConfiguration:FluxConfiguration example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Kubernetes/connectedClusters/cluster1/providers/Microsoft.KubernetesConfiguration/fluxConfigurations/fluxConfiguration1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi