We recommend using Azure Native.
azure.arckubernetes.FluxConfiguration
Explore with Pulumi AI
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:
- Cluster
Id string - Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- Kustomizations
List<Flux
Configuration Kustomization> - 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.
- Blob
Storage FluxConfiguration Blob Storage - An
blob_storage
block as defined below. - Bucket
Flux
Configuration Bucket - A
bucket
block as defined below. - Continuous
Reconciliation boolEnabled - Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to
true
. - Git
Repository FluxConfiguration Git Repository - 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
andnamespace
. Defaults tonamespace
. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
- Cluster
Id string - Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- Kustomizations
[]Flux
Configuration Kustomization Args - 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.
- Blob
Storage FluxConfiguration Blob Storage Args - An
blob_storage
block as defined below. - Bucket
Flux
Configuration Bucket Args - A
bucket
block as defined below. - Continuous
Reconciliation boolEnabled - Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to
true
. - Git
Repository FluxConfiguration Git Repository Args - 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
andnamespace
. Defaults tonamespace
. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
- cluster
Id String - Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- kustomizations
List<Flux
Configuration Kustomization> - 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.
- blob
Storage FluxConfiguration Blob Storage - An
blob_storage
block as defined below. - bucket
Flux
Configuration Bucket - A
bucket
block as defined below. - continuous
Reconciliation BooleanEnabled - Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to
true
. - git
Repository FluxConfiguration Git Repository - 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
andnamespace
. Defaults tonamespace
. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
- cluster
Id string - Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- kustomizations
Flux
Configuration Kustomization[] - 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.
- blob
Storage FluxConfiguration Blob Storage - An
blob_storage
block as defined below. - bucket
Flux
Configuration Bucket - A
bucket
block as defined below. - continuous
Reconciliation booleanEnabled - Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to
true
. - git
Repository FluxConfiguration Git Repository - 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
andnamespace
. Defaults tonamespace
. 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[Flux
Configuration Kustomization Args] - 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 FluxConfiguration Blob Storage Args - An
blob_storage
block as defined below. - bucket
Flux
Configuration Bucket Args - A
bucket
block as defined below. - continuous_
reconciliation_ boolenabled - Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to
true
. - git_
repository FluxConfiguration Git Repository Args - 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
andnamespace
. Defaults tonamespace
. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
- cluster
Id 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.
- blob
Storage Property Map - An
blob_storage
block as defined below. - bucket Property Map
- A
bucket
block as defined below. - continuous
Reconciliation BooleanEnabled - Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to
true
. - git
Repository 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
andnamespace
. Defaults tonamespace
. 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.
- Blob
Storage FluxConfiguration Blob Storage - An
blob_storage
block as defined below. - Bucket
Flux
Configuration Bucket - A
bucket
block as defined below. - Cluster
Id string - Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- Continuous
Reconciliation boolEnabled - Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to
true
. - Git
Repository FluxConfiguration Git Repository - A
git_repository
block as defined below. - Kustomizations
List<Flux
Configuration Kustomization> - 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
andnamespace
. Defaults tonamespace
. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
- Blob
Storage FluxConfiguration Blob Storage Args - An
blob_storage
block as defined below. - Bucket
Flux
Configuration Bucket Args - A
bucket
block as defined below. - Cluster
Id string - Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- Continuous
Reconciliation boolEnabled - Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to
true
. - Git
Repository FluxConfiguration Git Repository Args - A
git_repository
block as defined below. - Kustomizations
[]Flux
Configuration Kustomization Args - 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
andnamespace
. Defaults tonamespace
. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
- blob
Storage FluxConfiguration Blob Storage - An
blob_storage
block as defined below. - bucket
Flux
Configuration Bucket - A
bucket
block as defined below. - cluster
Id String - Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- continuous
Reconciliation BooleanEnabled - Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to
true
. - git
Repository FluxConfiguration Git Repository - A
git_repository
block as defined below. - kustomizations
List<Flux
Configuration Kustomization> - 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
andnamespace
. Defaults tonamespace
. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
- blob
Storage FluxConfiguration Blob Storage - An
blob_storage
block as defined below. - bucket
Flux
Configuration Bucket - A
bucket
block as defined below. - cluster
Id string - Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- continuous
Reconciliation booleanEnabled - Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to
true
. - git
Repository FluxConfiguration Git Repository - A
git_repository
block as defined below. - kustomizations
Flux
Configuration Kustomization[] - 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
andnamespace
. Defaults tonamespace
. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
- blob_
storage FluxConfiguration Blob Storage Args - An
blob_storage
block as defined below. - bucket
Flux
Configuration Bucket Args - 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_ boolenabled - Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to
true
. - git_
repository FluxConfiguration Git Repository Args - A
git_repository
block as defined below. - kustomizations
Sequence[Flux
Configuration Kustomization Args] - 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
andnamespace
. Defaults tonamespace
. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
- blob
Storage Property Map - An
blob_storage
block as defined below. - bucket Property Map
- A
bucket
block as defined below. - cluster
Id String - Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- continuous
Reconciliation BooleanEnabled - Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to
true
. - git
Repository 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
andnamespace
. Defaults tonamespace
. Changing this forces a new Arc Kubernetes Flux Configuration to be created.
Supporting Types
FluxConfigurationBlobStorage, FluxConfigurationBlobStorageArgs
- Container
Id string - Specifies the Azure Blob container ID.
- Account
Key string - Specifies the account key (shared key) to access the storage account.
- Local
Auth stringReference - 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 string - Specifies the shared access token to access the storage container.
- Service
Principal FluxConfiguration Blob Storage Service Principal - A
service_principal
block as defined below. - Sync
Interval intIn Seconds - Specifies the interval at which to re-reconcile the cluster Azure Blob source with the remote.
- Timeout
In intSeconds - Specifies the maximum time to attempt to reconcile the cluster Azure Blob source with the remote.
- Container
Id string - Specifies the Azure Blob container ID.
- Account
Key string - Specifies the account key (shared key) to access the storage account.
- Local
Auth stringReference - 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 string - Specifies the shared access token to access the storage container.
- Service
Principal FluxConfiguration Blob Storage Service Principal - A
service_principal
block as defined below. - Sync
Interval intIn Seconds - Specifies the interval at which to re-reconcile the cluster Azure Blob source with the remote.
- Timeout
In intSeconds - Specifies the maximum time to attempt to reconcile the cluster Azure Blob source with the remote.
- container
Id String - Specifies the Azure Blob container ID.
- account
Key String - Specifies the account key (shared key) to access the storage account.
- local
Auth StringReference - 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 String - Specifies the shared access token to access the storage container.
- service
Principal FluxConfiguration Blob Storage Service Principal - A
service_principal
block as defined below. - sync
Interval IntegerIn Seconds - Specifies the interval at which to re-reconcile the cluster Azure Blob source with the remote.
- timeout
In IntegerSeconds - Specifies the maximum time to attempt to reconcile the cluster Azure Blob source with the remote.
- container
Id string - Specifies the Azure Blob container ID.
- account
Key string - Specifies the account key (shared key) to access the storage account.
- local
Auth stringReference - 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 string - Specifies the shared access token to access the storage container.
- service
Principal FluxConfiguration Blob Storage Service Principal - A
service_principal
block as defined below. - sync
Interval numberIn Seconds - Specifies the interval at which to re-reconcile the cluster Azure Blob source with the remote.
- timeout
In numberSeconds - 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_ strreference - 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 FluxConfiguration Blob Storage Service Principal - A
service_principal
block as defined below. - sync_
interval_ intin_ seconds - Specifies the interval at which to re-reconcile the cluster Azure Blob source with the remote.
- timeout_
in_ intseconds - Specifies the maximum time to attempt to reconcile the cluster Azure Blob source with the remote.
- container
Id String - Specifies the Azure Blob container ID.
- account
Key String - Specifies the account key (shared key) to access the storage account.
- local
Auth StringReference - 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 String - Specifies the shared access token to access the storage container.
- service
Principal Property Map - A
service_principal
block as defined below. - sync
Interval NumberIn Seconds - Specifies the interval at which to re-reconcile the cluster Azure Blob source with the remote.
- timeout
In NumberSeconds - Specifies the maximum time to attempt to reconcile the cluster Azure Blob source with the remote.
FluxConfigurationBlobStorageServicePrincipal, FluxConfigurationBlobStorageServicePrincipalArgs
- Client
Id string - Specifies the client ID for authenticating a Service Principal.
- Tenant
Id string - Specifies the tenant ID for authenticating a Service Principal.
- Client
Certificate stringBase64 - Base64-encoded certificate used to authenticate a Service Principal .
- Client
Certificate stringPassword - Specifies the password for the certificate used to authenticate a Service Principal .
- Client
Certificate boolSend Chain - 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 string - Specifies the client secret for authenticating a Service Principal.
- Client
Id string - Specifies the client ID for authenticating a Service Principal.
- Tenant
Id string - Specifies the tenant ID for authenticating a Service Principal.
- Client
Certificate stringBase64 - Base64-encoded certificate used to authenticate a Service Principal .
- Client
Certificate stringPassword - Specifies the password for the certificate used to authenticate a Service Principal .
- Client
Certificate boolSend Chain - 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 string - Specifies the client secret for authenticating a Service Principal.
- client
Id String - Specifies the client ID for authenticating a Service Principal.
- tenant
Id String - Specifies the tenant ID for authenticating a Service Principal.
- client
Certificate StringBase64 - Base64-encoded certificate used to authenticate a Service Principal .
- client
Certificate StringPassword - Specifies the password for the certificate used to authenticate a Service Principal .
- client
Certificate BooleanSend Chain - 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 String - Specifies the client secret for authenticating a Service Principal.
- client
Id string - Specifies the client ID for authenticating a Service Principal.
- tenant
Id string - Specifies the tenant ID for authenticating a Service Principal.
- client
Certificate stringBase64 - Base64-encoded certificate used to authenticate a Service Principal .
- client
Certificate stringPassword - Specifies the password for the certificate used to authenticate a Service Principal .
- client
Certificate booleanSend Chain - 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 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_ strbase64 - Base64-encoded certificate used to authenticate a Service Principal .
- client_
certificate_ strpassword - Specifies the password for the certificate used to authenticate a Service Principal .
- client_
certificate_ boolsend_ chain - 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.
- client
Id String - Specifies the client ID for authenticating a Service Principal.
- tenant
Id String - Specifies the tenant ID for authenticating a Service Principal.
- client
Certificate StringBase64 - Base64-encoded certificate used to authenticate a Service Principal .
- client
Certificate StringPassword - Specifies the password for the certificate used to authenticate a Service Principal .
- client
Certificate BooleanSend Chain - 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 String - Specifies the client secret for authenticating a Service Principal.
FluxConfigurationBucket, FluxConfigurationBucketArgs
- Bucket
Name 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://
orhttps://
. - Access
Key string - Specifies the plaintext access key used to securely access the S3 bucket.
- Local
Auth stringReference - 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 stringBase64 - Specifies the Base64-encoded secret key used to authenticate with the bucket source.
- Sync
Interval intIn Seconds - Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to
600
. - Timeout
In intSeconds - 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
.
- Bucket
Name 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://
orhttps://
. - Access
Key string - Specifies the plaintext access key used to securely access the S3 bucket.
- Local
Auth stringReference - 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 stringBase64 - Specifies the Base64-encoded secret key used to authenticate with the bucket source.
- Sync
Interval intIn Seconds - Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to
600
. - Timeout
In intSeconds - 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
.
- bucket
Name 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://
orhttps://
. - access
Key String - Specifies the plaintext access key used to securely access the S3 bucket.
- local
Auth StringReference - 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 StringBase64 - Specifies the Base64-encoded secret key used to authenticate with the bucket source.
- sync
Interval IntegerIn Seconds - Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to
600
. - timeout
In IntegerSeconds - Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to
600
. - tls
Enabled Boolean - Specify whether to communicate with a bucket using TLS is enabled. Defaults to
true
.
- bucket
Name 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://
orhttps://
. - access
Key string - Specifies the plaintext access key used to securely access the S3 bucket.
- local
Auth stringReference - 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 stringBase64 - Specifies the Base64-encoded secret key used to authenticate with the bucket source.
- sync
Interval numberIn Seconds - Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to
600
. - timeout
In numberSeconds - Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to
600
. - tls
Enabled 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://
orhttps://
. - access_
key str - Specifies the plaintext access key used to securely access the S3 bucket.
- local_
auth_ strreference - 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_ strbase64 - Specifies the Base64-encoded secret key used to authenticate with the bucket source.
- sync_
interval_ intin_ seconds - Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to
600
. - timeout_
in_ intseconds - 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
.
- bucket
Name 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://
orhttps://
. - access
Key String - Specifies the plaintext access key used to securely access the S3 bucket.
- local
Auth StringReference - 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 StringBase64 - Specifies the Base64-encoded secret key used to authenticate with the bucket source.
- sync
Interval NumberIn Seconds - Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to
600
. - timeout
In NumberSeconds - Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to
600
. - tls
Enabled Boolean - Specify whether to communicate with a bucket using TLS is enabled. Defaults to
true
.
FluxConfigurationGitRepository, FluxConfigurationGitRepositoryArgs
- Reference
Type string - Specifies the source reference type for the GitRepository object. Possible values are
branch
,commit
,semver
andtag
. - Reference
Value 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@
orssh://
. - Https
Ca stringCert Base64 - Specifies the Base64-encoded HTTPS certificate authority contents used to access git private git repositories over HTTPS.
- Https
Key stringBase64 - Specifies the Base64-encoded HTTPS personal access token or password that will be used to access the repository.
- Https
User string - Specifies the plaintext HTTPS username used to access private git repositories over HTTPS.
- Local
Auth stringReference - 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 stringHosts Base64 - Specifies the Base64-encoded known_hosts value containing public SSH keys required to access private git repositories over SSH.
- Ssh
Private stringKey Base64 - Specifies the Base64-encoded SSH private key in PEM format.
- Sync
Interval intIn Seconds - Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to
600
. - Timeout
In intSeconds - Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to
600
.
- Reference
Type string - Specifies the source reference type for the GitRepository object. Possible values are
branch
,commit
,semver
andtag
. - Reference
Value 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@
orssh://
. - Https
Ca stringCert Base64 - Specifies the Base64-encoded HTTPS certificate authority contents used to access git private git repositories over HTTPS.
- Https
Key stringBase64 - Specifies the Base64-encoded HTTPS personal access token or password that will be used to access the repository.
- Https
User string - Specifies the plaintext HTTPS username used to access private git repositories over HTTPS.
- Local
Auth stringReference - 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 stringHosts Base64 - Specifies the Base64-encoded known_hosts value containing public SSH keys required to access private git repositories over SSH.
- Ssh
Private stringKey Base64 - Specifies the Base64-encoded SSH private key in PEM format.
- Sync
Interval intIn Seconds - Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to
600
. - Timeout
In intSeconds - Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to
600
.
- reference
Type String - Specifies the source reference type for the GitRepository object. Possible values are
branch
,commit
,semver
andtag
. - reference
Value 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@
orssh://
. - https
Ca StringCert Base64 - Specifies the Base64-encoded HTTPS certificate authority contents used to access git private git repositories over HTTPS.
- https
Key StringBase64 - Specifies the Base64-encoded HTTPS personal access token or password that will be used to access the repository.
- https
User String - Specifies the plaintext HTTPS username used to access private git repositories over HTTPS.
- local
Auth StringReference - 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 StringHosts Base64 - Specifies the Base64-encoded known_hosts value containing public SSH keys required to access private git repositories over SSH.
- ssh
Private StringKey Base64 - Specifies the Base64-encoded SSH private key in PEM format.
- sync
Interval IntegerIn Seconds - Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to
600
. - timeout
In IntegerSeconds - Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to
600
.
- reference
Type string - Specifies the source reference type for the GitRepository object. Possible values are
branch
,commit
,semver
andtag
. - reference
Value 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@
orssh://
. - https
Ca stringCert Base64 - Specifies the Base64-encoded HTTPS certificate authority contents used to access git private git repositories over HTTPS.
- https
Key stringBase64 - Specifies the Base64-encoded HTTPS personal access token or password that will be used to access the repository.
- https
User string - Specifies the plaintext HTTPS username used to access private git repositories over HTTPS.
- local
Auth stringReference - 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 stringHosts Base64 - Specifies the Base64-encoded known_hosts value containing public SSH keys required to access private git repositories over SSH.
- ssh
Private stringKey Base64 - Specifies the Base64-encoded SSH private key in PEM format.
- sync
Interval numberIn Seconds - Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to
600
. - timeout
In numberSeconds - 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
andtag
. - 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@
orssh://
. - https_
ca_ strcert_ base64 - Specifies the Base64-encoded HTTPS certificate authority contents used to access git private git repositories over HTTPS.
- https_
key_ strbase64 - 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_ strreference - 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_ strhosts_ base64 - Specifies the Base64-encoded known_hosts value containing public SSH keys required to access private git repositories over SSH.
- ssh_
private_ strkey_ base64 - Specifies the Base64-encoded SSH private key in PEM format.
- sync_
interval_ intin_ seconds - Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to
600
. - timeout_
in_ intseconds - Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to
600
.
- reference
Type String - Specifies the source reference type for the GitRepository object. Possible values are
branch
,commit
,semver
andtag
. - reference
Value 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@
orssh://
. - https
Ca StringCert Base64 - Specifies the Base64-encoded HTTPS certificate authority contents used to access git private git repositories over HTTPS.
- https
Key StringBase64 - Specifies the Base64-encoded HTTPS personal access token or password that will be used to access the repository.
- https
User String - Specifies the plaintext HTTPS username used to access private git repositories over HTTPS.
- local
Auth StringReference - 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 StringHosts Base64 - Specifies the Base64-encoded known_hosts value containing public SSH keys required to access private git repositories over SSH.
- ssh
Private StringKey Base64 - Specifies the Base64-encoded SSH private key in PEM format.
- sync
Interval NumberIn Seconds - Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to
600
. - timeout
In NumberSeconds - 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.
- Depends
Ons List<string> - Specifies other kustomizations that this kustomization depends on. This kustomization will not reconcile until all dependencies have completed their reconciliation.
- Garbage
Collection boolEnabled - 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.
- 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 intIn Seconds - The interval at which to re-reconcile the kustomization on the cluster in the event of failure on reconciliation. Defaults to
600
. - Sync
Interval intIn Seconds - The interval at which to re-reconcile the kustomization on the cluster. Defaults to
600
. - Timeout
In intSeconds - The maximum time to attempt to reconcile the kustomization on the cluster. Defaults to
600
.
- Name string
- Specifies the name of the kustomization.
- Depends
Ons []string - Specifies other kustomizations that this kustomization depends on. This kustomization will not reconcile until all dependencies have completed their reconciliation.
- Garbage
Collection boolEnabled - 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.
- 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 intIn Seconds - The interval at which to re-reconcile the kustomization on the cluster in the event of failure on reconciliation. Defaults to
600
. - Sync
Interval intIn Seconds - The interval at which to re-reconcile the kustomization on the cluster. Defaults to
600
. - Timeout
In intSeconds - The maximum time to attempt to reconcile the kustomization on the cluster. Defaults to
600
.
- name String
- Specifies the name of the kustomization.
- depends
Ons List<String> - Specifies other kustomizations that this kustomization depends on. This kustomization will not reconcile until all dependencies have completed their reconciliation.
- garbage
Collection BooleanEnabled - 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.
- recreating
Enabled Boolean - Whether re-creating Kubernetes resources on the cluster is enabled when patching fails due to an immutable field change. Defaults to
false
. - retry
Interval IntegerIn Seconds - The interval at which to re-reconcile the kustomization on the cluster in the event of failure on reconciliation. Defaults to
600
. - sync
Interval IntegerIn Seconds - The interval at which to re-reconcile the kustomization on the cluster. Defaults to
600
. - timeout
In IntegerSeconds - The maximum time to attempt to reconcile the kustomization on the cluster. Defaults to
600
.
- name string
- Specifies the name of the kustomization.
- depends
Ons string[] - Specifies other kustomizations that this kustomization depends on. This kustomization will not reconcile until all dependencies have completed their reconciliation.
- garbage
Collection booleanEnabled - 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.
- recreating
Enabled boolean - Whether re-creating Kubernetes resources on the cluster is enabled when patching fails due to an immutable field change. Defaults to
false
. - retry
Interval numberIn Seconds - The interval at which to re-reconcile the kustomization on the cluster in the event of failure on reconciliation. Defaults to
600
. - sync
Interval numberIn Seconds - The interval at which to re-reconcile the kustomization on the cluster. Defaults to
600
. - timeout
In numberSeconds - 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_ boolenabled - 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_ intin_ seconds - The interval at which to re-reconcile the kustomization on the cluster in the event of failure on reconciliation. Defaults to
600
. - sync_
interval_ intin_ seconds - The interval at which to re-reconcile the kustomization on the cluster. Defaults to
600
. - timeout_
in_ intseconds - The maximum time to attempt to reconcile the kustomization on the cluster. Defaults to
600
.
- name String
- Specifies the name of the kustomization.
- depends
Ons List<String> - Specifies other kustomizations that this kustomization depends on. This kustomization will not reconcile until all dependencies have completed their reconciliation.
- garbage
Collection BooleanEnabled - 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.
- recreating
Enabled Boolean - Whether re-creating Kubernetes resources on the cluster is enabled when patching fails due to an immutable field change. Defaults to
false
. - retry
Interval NumberIn Seconds - The interval at which to re-reconcile the kustomization on the cluster in the event of failure on reconciliation. Defaults to
600
. - sync
Interval NumberIn Seconds - The interval at which to re-reconcile the kustomization on the cluster. Defaults to
600
. - timeout
In NumberSeconds - 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.