We recommend using Azure Native.
azure.containerservice.FluxConfiguration
Explore with Pulumi AI
Manages a Kubernetes Flux Configuration.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
name: "example-resources",
location: "West Europe",
});
const exampleKubernetesCluster = new azure.containerservice.KubernetesCluster("example", {
name: "example-aks",
location: "West Europe",
resourceGroupName: example.name,
dnsPrefix: "example-aks",
defaultNodePool: {
name: "default",
nodeCount: 1,
vmSize: "Standard_DS2_v2",
},
identity: {
type: "SystemAssigned",
},
});
const exampleKubernetesClusterExtension = new azure.containerservice.KubernetesClusterExtension("example", {
name: "example-ext",
clusterId: test.id,
extensionType: "microsoft.flux",
});
const exampleFluxConfiguration = new azure.containerservice.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: [exampleKubernetesClusterExtension],
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
name="example-resources",
location="West Europe")
example_kubernetes_cluster = azure.containerservice.KubernetesCluster("example",
name="example-aks",
location="West Europe",
resource_group_name=example.name,
dns_prefix="example-aks",
default_node_pool={
"name": "default",
"node_count": 1,
"vm_size": "Standard_DS2_v2",
},
identity={
"type": "SystemAssigned",
})
example_kubernetes_cluster_extension = azure.containerservice.KubernetesClusterExtension("example",
name="example-ext",
cluster_id=test["id"],
extension_type="microsoft.flux")
example_flux_configuration = azure.containerservice.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_kubernetes_cluster_extension]))
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/containerservice"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"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
}
_, err = containerservice.NewKubernetesCluster(ctx, "example", &containerservice.KubernetesClusterArgs{
Name: pulumi.String("example-aks"),
Location: pulumi.String("West Europe"),
ResourceGroupName: example.Name,
DnsPrefix: pulumi.String("example-aks"),
DefaultNodePool: &containerservice.KubernetesClusterDefaultNodePoolArgs{
Name: pulumi.String("default"),
NodeCount: pulumi.Int(1),
VmSize: pulumi.String("Standard_DS2_v2"),
},
Identity: &containerservice.KubernetesClusterIdentityArgs{
Type: pulumi.String("SystemAssigned"),
},
})
if err != nil {
return err
}
exampleKubernetesClusterExtension, err := containerservice.NewKubernetesClusterExtension(ctx, "example", &containerservice.KubernetesClusterExtensionArgs{
Name: pulumi.String("example-ext"),
ClusterId: pulumi.Any(test.Id),
ExtensionType: pulumi.String("microsoft.flux"),
})
if err != nil {
return err
}
_, err = containerservice.NewFluxConfiguration(ctx, "example", &containerservice.FluxConfigurationArgs{
Name: pulumi.String("example-fc"),
ClusterId: pulumi.Any(test.Id),
Namespace: pulumi.String("flux"),
GitRepository: &containerservice.FluxConfigurationGitRepositoryArgs{
Url: pulumi.String("https://github.com/Azure/arc-k8s-demo"),
ReferenceType: pulumi.String("branch"),
ReferenceValue: pulumi.String("main"),
},
Kustomizations: containerservice.FluxConfigurationKustomizationArray{
&containerservice.FluxConfigurationKustomizationArgs{
Name: pulumi.String("kustomization-1"),
},
},
}, pulumi.DependsOn([]pulumi.Resource{
exampleKubernetesClusterExtension,
}))
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "example-resources",
Location = "West Europe",
});
var exampleKubernetesCluster = new Azure.ContainerService.KubernetesCluster("example", new()
{
Name = "example-aks",
Location = "West Europe",
ResourceGroupName = example.Name,
DnsPrefix = "example-aks",
DefaultNodePool = new Azure.ContainerService.Inputs.KubernetesClusterDefaultNodePoolArgs
{
Name = "default",
NodeCount = 1,
VmSize = "Standard_DS2_v2",
},
Identity = new Azure.ContainerService.Inputs.KubernetesClusterIdentityArgs
{
Type = "SystemAssigned",
},
});
var exampleKubernetesClusterExtension = new Azure.ContainerService.KubernetesClusterExtension("example", new()
{
Name = "example-ext",
ClusterId = test.Id,
ExtensionType = "microsoft.flux",
});
var exampleFluxConfiguration = new Azure.ContainerService.FluxConfiguration("example", new()
{
Name = "example-fc",
ClusterId = test.Id,
Namespace = "flux",
GitRepository = new Azure.ContainerService.Inputs.FluxConfigurationGitRepositoryArgs
{
Url = "https://github.com/Azure/arc-k8s-demo",
ReferenceType = "branch",
ReferenceValue = "main",
},
Kustomizations = new[]
{
new Azure.ContainerService.Inputs.FluxConfigurationKustomizationArgs
{
Name = "kustomization-1",
},
},
}, new CustomResourceOptions
{
DependsOn =
{
exampleKubernetesClusterExtension,
},
});
});
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.containerservice.KubernetesCluster;
import com.pulumi.azure.containerservice.KubernetesClusterArgs;
import com.pulumi.azure.containerservice.inputs.KubernetesClusterDefaultNodePoolArgs;
import com.pulumi.azure.containerservice.inputs.KubernetesClusterIdentityArgs;
import com.pulumi.azure.containerservice.KubernetesClusterExtension;
import com.pulumi.azure.containerservice.KubernetesClusterExtensionArgs;
import com.pulumi.azure.containerservice.FluxConfiguration;
import com.pulumi.azure.containerservice.FluxConfigurationArgs;
import com.pulumi.azure.containerservice.inputs.FluxConfigurationGitRepositoryArgs;
import com.pulumi.azure.containerservice.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 exampleKubernetesCluster = new KubernetesCluster("exampleKubernetesCluster", KubernetesClusterArgs.builder()
.name("example-aks")
.location("West Europe")
.resourceGroupName(example.name())
.dnsPrefix("example-aks")
.defaultNodePool(KubernetesClusterDefaultNodePoolArgs.builder()
.name("default")
.nodeCount(1)
.vmSize("Standard_DS2_v2")
.build())
.identity(KubernetesClusterIdentityArgs.builder()
.type("SystemAssigned")
.build())
.build());
var exampleKubernetesClusterExtension = new KubernetesClusterExtension("exampleKubernetesClusterExtension", KubernetesClusterExtensionArgs.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(exampleKubernetesClusterExtension)
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-resources
location: West Europe
exampleKubernetesCluster:
type: azure:containerservice:KubernetesCluster
name: example
properties:
name: example-aks
location: West Europe
resourceGroupName: ${example.name}
dnsPrefix: example-aks
defaultNodePool:
name: default
nodeCount: 1
vmSize: Standard_DS2_v2
identity:
type: SystemAssigned
exampleKubernetesClusterExtension:
type: azure:containerservice:KubernetesClusterExtension
name: example
properties:
name: example-ext
clusterId: ${test.id}
extensionType: microsoft.flux
exampleFluxConfiguration:
type: azure:containerservice: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:
- ${exampleKubernetesClusterExtension}
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:containerservice: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 azureFluxConfigurationResource = new Azure.ContainerService.FluxConfiguration("azureFluxConfigurationResource", new()
{
ClusterId = "string",
Kustomizations = new[]
{
new Azure.ContainerService.Inputs.FluxConfigurationKustomizationArgs
{
Name = "string",
DependsOns = new[]
{
"string",
},
GarbageCollectionEnabled = false,
Path = "string",
RecreatingEnabled = false,
RetryIntervalInSeconds = 0,
SyncIntervalInSeconds = 0,
TimeoutInSeconds = 0,
},
},
Namespace = "string",
BlobStorage = new Azure.ContainerService.Inputs.FluxConfigurationBlobStorageArgs
{
ContainerId = "string",
AccountKey = "string",
LocalAuthReference = "string",
ManagedIdentity = new Azure.ContainerService.Inputs.FluxConfigurationBlobStorageManagedIdentityArgs
{
ClientId = "string",
},
SasToken = "string",
ServicePrincipal = new Azure.ContainerService.Inputs.FluxConfigurationBlobStorageServicePrincipalArgs
{
ClientId = "string",
TenantId = "string",
ClientCertificateBase64 = "string",
ClientCertificatePassword = "string",
ClientCertificateSendChain = false,
ClientSecret = "string",
},
SyncIntervalInSeconds = 0,
TimeoutInSeconds = 0,
},
Bucket = new Azure.ContainerService.Inputs.FluxConfigurationBucketArgs
{
BucketName = "string",
Url = "string",
AccessKey = "string",
LocalAuthReference = "string",
SecretKeyBase64 = "string",
SyncIntervalInSeconds = 0,
TimeoutInSeconds = 0,
TlsEnabled = false,
},
ContinuousReconciliationEnabled = false,
GitRepository = new Azure.ContainerService.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 := containerservice.NewFluxConfiguration(ctx, "azureFluxConfigurationResource", &containerservice.FluxConfigurationArgs{
ClusterId: pulumi.String("string"),
Kustomizations: containerservice.FluxConfigurationKustomizationArray{
&containerservice.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: &containerservice.FluxConfigurationBlobStorageArgs{
ContainerId: pulumi.String("string"),
AccountKey: pulumi.String("string"),
LocalAuthReference: pulumi.String("string"),
ManagedIdentity: &containerservice.FluxConfigurationBlobStorageManagedIdentityArgs{
ClientId: pulumi.String("string"),
},
SasToken: pulumi.String("string"),
ServicePrincipal: &containerservice.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: &containerservice.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: &containerservice.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 azureFluxConfigurationResource = new FluxConfiguration("azureFluxConfigurationResource", 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")
.managedIdentity(FluxConfigurationBlobStorageManagedIdentityArgs.builder()
.clientId("string")
.build())
.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());
azure_flux_configuration_resource = azure.containerservice.FluxConfiguration("azureFluxConfigurationResource",
cluster_id="string",
kustomizations=[{
"name": "string",
"dependsOns": ["string"],
"garbageCollectionEnabled": False,
"path": "string",
"recreatingEnabled": False,
"retryIntervalInSeconds": 0,
"syncIntervalInSeconds": 0,
"timeoutInSeconds": 0,
}],
namespace="string",
blob_storage={
"containerId": "string",
"accountKey": "string",
"localAuthReference": "string",
"managedIdentity": {
"clientId": "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,
},
continuous_reconciliation_enabled=False,
git_repository={
"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")
const azureFluxConfigurationResource = new azure.containerservice.FluxConfiguration("azureFluxConfigurationResource", {
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",
managedIdentity: {
clientId: "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:containerservice:FluxConfiguration
properties:
blobStorage:
accountKey: string
containerId: string
localAuthReference: string
managedIdentity:
clientId: 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
The FluxConfiguration resource accepts the following input properties:
- Cluster
Id string - Specifies the Cluster ID. Changing this forces a new 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 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 Kubernetes Flux Configuration. Changing this forces a new 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 Kubernetes Flux Configuration to be created.
- Cluster
Id string - Specifies the Cluster ID. Changing this forces a new 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 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 Kubernetes Flux Configuration. Changing this forces a new 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 Kubernetes Flux Configuration to be created.
- cluster
Id String - Specifies the Cluster ID. Changing this forces a new 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 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 Kubernetes Flux Configuration. Changing this forces a new 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 Kubernetes Flux Configuration to be created.
- cluster
Id string - Specifies the Cluster ID. Changing this forces a new 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 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 Kubernetes Flux Configuration. Changing this forces a new 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 Kubernetes Flux Configuration to be created.
- cluster_
id str - Specifies the Cluster ID. Changing this forces a new 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 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 Kubernetes Flux Configuration. Changing this forces a new 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 Kubernetes Flux Configuration to be created.
- cluster
Id String - Specifies the Cluster ID. Changing this forces a new 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 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 Kubernetes Flux Configuration. Changing this forces a new 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 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 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 Kubernetes Flux Configuration. Changing this forces a new Kubernetes Flux Configuration to be created.
- Namespace string
- Specifies the namespace to which this configuration is installed to. Changing this forces a new 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 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 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 Kubernetes Flux Configuration. Changing this forces a new Kubernetes Flux Configuration to be created.
- Namespace string
- Specifies the namespace to which this configuration is installed to. Changing this forces a new 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 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 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 Kubernetes Flux Configuration. Changing this forces a new Kubernetes Flux Configuration to be created.
- namespace String
- Specifies the namespace to which this configuration is installed to. Changing this forces a new 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 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 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 Kubernetes Flux Configuration. Changing this forces a new Kubernetes Flux Configuration to be created.
- namespace string
- Specifies the namespace to which this configuration is installed to. Changing this forces a new 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 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 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 Kubernetes Flux Configuration. Changing this forces a new Kubernetes Flux Configuration to be created.
- namespace str
- Specifies the namespace to which this configuration is installed to. Changing this forces a new 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 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 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 Kubernetes Flux Configuration. Changing this forces a new Kubernetes Flux Configuration to be created.
- namespace String
- Specifies the namespace to which this configuration is installed to. Changing this forces a new 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 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.
- Managed
Identity FluxConfiguration Blob Storage Managed Identity - A
managed_identity
block as defined below. - 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.
- Managed
Identity FluxConfiguration Blob Storage Managed Identity - A
managed_identity
block as defined below. - 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.
- managed
Identity FluxConfiguration Blob Storage Managed Identity - A
managed_identity
block as defined below. - 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.
- managed
Identity FluxConfiguration Blob Storage Managed Identity - A
managed_identity
block as defined below. - 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.
- managed_
identity FluxConfiguration Blob Storage Managed Identity - A
managed_identity
block as defined below. - 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.
- managed
Identity Property Map - A
managed_identity
block as defined below. - 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.
FluxConfigurationBlobStorageManagedIdentity, FluxConfigurationBlobStorageManagedIdentityArgs
- Client
Id string - Specifies the client ID for authenticating a Managed Identity.
- Client
Id string - Specifies the client ID for authenticating a Managed Identity.
- client
Id String - Specifies the client ID for authenticating a Managed Identity.
- client
Id string - Specifies the client ID for authenticating a Managed Identity.
- client_
id str - Specifies the client ID for authenticating a Managed Identity.
- client
Id String - Specifies the client ID for authenticating a Managed Identity.
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. 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.
- 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. 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.
- 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. 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.
- 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. 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.
- 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. 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.
- 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. 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.
- 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
Kubernetes Flux Configuration can be imported using the resource id
for different cluster_resource_name
, e.g.
$ pulumi import azure:containerservice/fluxConfiguration:FluxConfiguration example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.ContainerService/managedClusters/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.