1. Packages
  2. Flux
  3. API Docs
  4. FluxBootstrapGit
Flux v1.0.1 published on Friday, Jul 28, 2023 by oun

flux.FluxBootstrapGit

Explore with Pulumi AI

flux logo
Flux v1.0.1 published on Friday, Jul 28, 2023 by oun

    Commits Flux components to a Git repository and configures a Kubernetes cluster to synchronize with the same Git repository.

    NOTE: Checkout the GitHub bootstrap guide for a detailed step by step guide.

    Example Usage

    Get Kubernetes credentials from a kubeconfig file. The current context set in the kubeconfig file will be used by default.

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Flux = Pulumi.Flux;
    
    return await Deployment.RunAsync(() => 
    {
        var @this = new Flux.FluxBootstrapGit("this", new()
        {
            Path = "clusters/my-cluster",
        });
    
    });
    
    package main
    
    import (
    	"github.com/oun/pulumi-flux/sdk/go/flux"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := flux.NewFluxBootstrapGit(ctx, "this", &flux.FluxBootstrapGitArgs{
    			Path: pulumi.String("clusters/my-cluster"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.flux.FluxBootstrapGit;
    import com.pulumi.flux.FluxBootstrapGitArgs;
    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 this_ = new FluxBootstrapGit("this", FluxBootstrapGitArgs.builder()        
                .path("clusters/my-cluster")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_flux as flux
    
    this = flux.FluxBootstrapGit("this", path="clusters/my-cluster")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as flux from "@worawat/flux";
    
    const _this = new flux.FluxBootstrapGit("this", {path: "clusters/my-cluster"});
    
    resources:
      this:
        type: flux:FluxBootstrapGit
        properties:
          path: clusters/my-cluster
    

    Create FluxBootstrapGit Resource

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

    Constructor syntax

    new FluxBootstrapGit(name: string, args?: FluxBootstrapGitArgs, opts?: CustomResourceOptions);
    @overload
    def FluxBootstrapGit(resource_name: str,
                         args: Optional[FluxBootstrapGitArgs] = None,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def FluxBootstrapGit(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         cluster_domain: Optional[str] = None,
                         components: Optional[Sequence[str]] = None,
                         components_extras: Optional[Sequence[str]] = None,
                         disable_secret_creation: Optional[bool] = None,
                         image_pull_secret: Optional[str] = None,
                         interval: Optional[str] = None,
                         kustomization_override: Optional[str] = None,
                         log_level: Optional[str] = None,
                         namespace: Optional[str] = None,
                         network_policy: Optional[bool] = None,
                         path: Optional[str] = None,
                         recurse_submodules: Optional[bool] = None,
                         registry: Optional[str] = None,
                         secret_name: Optional[str] = None,
                         timeouts: Optional[FluxBootstrapGitTimeoutsArgs] = None,
                         toleration_keys: Optional[Sequence[str]] = None,
                         version: Optional[str] = None,
                         watch_all_namespaces: Optional[bool] = None)
    func NewFluxBootstrapGit(ctx *Context, name string, args *FluxBootstrapGitArgs, opts ...ResourceOption) (*FluxBootstrapGit, error)
    public FluxBootstrapGit(string name, FluxBootstrapGitArgs? args = null, CustomResourceOptions? opts = null)
    public FluxBootstrapGit(String name, FluxBootstrapGitArgs args)
    public FluxBootstrapGit(String name, FluxBootstrapGitArgs args, CustomResourceOptions options)
    
    type: flux:FluxBootstrapGit
    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 FluxBootstrapGitArgs
    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 FluxBootstrapGitArgs
    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 FluxBootstrapGitArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FluxBootstrapGitArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FluxBootstrapGitArgs
    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 fluxBootstrapGitResource = new Flux.FluxBootstrapGit("fluxBootstrapGitResource", new()
    {
        ClusterDomain = "string",
        Components = new[]
        {
            "string",
        },
        ComponentsExtras = new[]
        {
            "string",
        },
        DisableSecretCreation = false,
        ImagePullSecret = "string",
        Interval = "string",
        KustomizationOverride = "string",
        LogLevel = "string",
        Namespace = "string",
        NetworkPolicy = false,
        Path = "string",
        RecurseSubmodules = false,
        Registry = "string",
        SecretName = "string",
        Timeouts = new Flux.Inputs.FluxBootstrapGitTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Read = "string",
            Update = "string",
        },
        TolerationKeys = new[]
        {
            "string",
        },
        Version = "string",
        WatchAllNamespaces = false,
    });
    
    example, err := flux.NewFluxBootstrapGit(ctx, "fluxBootstrapGitResource", &flux.FluxBootstrapGitArgs{
    	ClusterDomain: pulumi.String("string"),
    	Components: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ComponentsExtras: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	DisableSecretCreation: pulumi.Bool(false),
    	ImagePullSecret:       pulumi.String("string"),
    	Interval:              pulumi.String("string"),
    	KustomizationOverride: pulumi.String("string"),
    	LogLevel:              pulumi.String("string"),
    	Namespace:             pulumi.String("string"),
    	NetworkPolicy:         pulumi.Bool(false),
    	Path:                  pulumi.String("string"),
    	RecurseSubmodules:     pulumi.Bool(false),
    	Registry:              pulumi.String("string"),
    	SecretName:            pulumi.String("string"),
    	Timeouts: &flux.FluxBootstrapGitTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Read:   pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	TolerationKeys: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Version:            pulumi.String("string"),
    	WatchAllNamespaces: pulumi.Bool(false),
    })
    
    var fluxBootstrapGitResource = new FluxBootstrapGit("fluxBootstrapGitResource", FluxBootstrapGitArgs.builder()
        .clusterDomain("string")
        .components("string")
        .componentsExtras("string")
        .disableSecretCreation(false)
        .imagePullSecret("string")
        .interval("string")
        .kustomizationOverride("string")
        .logLevel("string")
        .namespace("string")
        .networkPolicy(false)
        .path("string")
        .recurseSubmodules(false)
        .registry("string")
        .secretName("string")
        .timeouts(FluxBootstrapGitTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .read("string")
            .update("string")
            .build())
        .tolerationKeys("string")
        .version("string")
        .watchAllNamespaces(false)
        .build());
    
    flux_bootstrap_git_resource = flux.FluxBootstrapGit("fluxBootstrapGitResource",
        cluster_domain="string",
        components=["string"],
        components_extras=["string"],
        disable_secret_creation=False,
        image_pull_secret="string",
        interval="string",
        kustomization_override="string",
        log_level="string",
        namespace="string",
        network_policy=False,
        path="string",
        recurse_submodules=False,
        registry="string",
        secret_name="string",
        timeouts=flux.FluxBootstrapGitTimeoutsArgs(
            create="string",
            delete="string",
            read="string",
            update="string",
        ),
        toleration_keys=["string"],
        version="string",
        watch_all_namespaces=False)
    
    const fluxBootstrapGitResource = new flux.FluxBootstrapGit("fluxBootstrapGitResource", {
        clusterDomain: "string",
        components: ["string"],
        componentsExtras: ["string"],
        disableSecretCreation: false,
        imagePullSecret: "string",
        interval: "string",
        kustomizationOverride: "string",
        logLevel: "string",
        namespace: "string",
        networkPolicy: false,
        path: "string",
        recurseSubmodules: false,
        registry: "string",
        secretName: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            read: "string",
            update: "string",
        },
        tolerationKeys: ["string"],
        version: "string",
        watchAllNamespaces: false,
    });
    
    type: flux:FluxBootstrapGit
    properties:
        clusterDomain: string
        components:
            - string
        componentsExtras:
            - string
        disableSecretCreation: false
        imagePullSecret: string
        interval: string
        kustomizationOverride: string
        logLevel: string
        namespace: string
        networkPolicy: false
        path: string
        recurseSubmodules: false
        registry: string
        secretName: string
        timeouts:
            create: string
            delete: string
            read: string
            update: string
        tolerationKeys:
            - string
        version: string
        watchAllNamespaces: false
    

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

    ClusterDomain string
    The internal cluster domain. Defaults to cluster.local
    Components List<string>
    Toolkit components to include in the install manifests. Defaults to [source-controller kustomize-controller helm-controller notification-controller]
    ComponentsExtras List<string>
    List of extra components to include in the install manifests.
    DisableSecretCreation bool
    Use the existing secret for flux controller and don't create one from bootstrap
    ImagePullSecret string
    Kubernetes secret name used for pulling the toolkit images from a private registry.
    Interval string
    Interval at which to reconcile from bootstrap repository. Defaults to 1m0s.
    KustomizationOverride string
    Kustomization to override configuration set by default.
    LogLevel string
    Log level for toolkit components. Defaults to info.
    Namespace string
    The namespace scope for install manifests. Defaults to flux-system.
    NetworkPolicy bool
    Deny ingress access to the toolkit controllers from other namespaces using network policies. Defaults to true.
    Path string
    Path relative to the repository root, when specified the cluster sync will be scoped to this path.
    RecurseSubmodules bool
    Configures the GitRepository source to initialize and include Git submodules in the artifact it produces.
    Registry string
    Container registry where the toolkit images are published. Defaults to ghcr.io/fluxcd.
    SecretName string
    Name of the secret the sync credentials can be found in or stored to. Defaults to flux-system.
    Timeouts FluxBootstrapGitTimeouts
    TolerationKeys List<string>
    List of toleration keys used to schedule the components pods onto nodes with matching taints.
    Version string
    Flux version. Defaults to v2.0.1.
    WatchAllNamespaces bool
    If true watch for custom resources in all namespaces. Defaults to true.
    ClusterDomain string
    The internal cluster domain. Defaults to cluster.local
    Components []string
    Toolkit components to include in the install manifests. Defaults to [source-controller kustomize-controller helm-controller notification-controller]
    ComponentsExtras []string
    List of extra components to include in the install manifests.
    DisableSecretCreation bool
    Use the existing secret for flux controller and don't create one from bootstrap
    ImagePullSecret string
    Kubernetes secret name used for pulling the toolkit images from a private registry.
    Interval string
    Interval at which to reconcile from bootstrap repository. Defaults to 1m0s.
    KustomizationOverride string
    Kustomization to override configuration set by default.
    LogLevel string
    Log level for toolkit components. Defaults to info.
    Namespace string
    The namespace scope for install manifests. Defaults to flux-system.
    NetworkPolicy bool
    Deny ingress access to the toolkit controllers from other namespaces using network policies. Defaults to true.
    Path string
    Path relative to the repository root, when specified the cluster sync will be scoped to this path.
    RecurseSubmodules bool
    Configures the GitRepository source to initialize and include Git submodules in the artifact it produces.
    Registry string
    Container registry where the toolkit images are published. Defaults to ghcr.io/fluxcd.
    SecretName string
    Name of the secret the sync credentials can be found in or stored to. Defaults to flux-system.
    Timeouts FluxBootstrapGitTimeoutsArgs
    TolerationKeys []string
    List of toleration keys used to schedule the components pods onto nodes with matching taints.
    Version string
    Flux version. Defaults to v2.0.1.
    WatchAllNamespaces bool
    If true watch for custom resources in all namespaces. Defaults to true.
    clusterDomain String
    The internal cluster domain. Defaults to cluster.local
    components List<String>
    Toolkit components to include in the install manifests. Defaults to [source-controller kustomize-controller helm-controller notification-controller]
    componentsExtras List<String>
    List of extra components to include in the install manifests.
    disableSecretCreation Boolean
    Use the existing secret for flux controller and don't create one from bootstrap
    imagePullSecret String
    Kubernetes secret name used for pulling the toolkit images from a private registry.
    interval String
    Interval at which to reconcile from bootstrap repository. Defaults to 1m0s.
    kustomizationOverride String
    Kustomization to override configuration set by default.
    logLevel String
    Log level for toolkit components. Defaults to info.
    namespace String
    The namespace scope for install manifests. Defaults to flux-system.
    networkPolicy Boolean
    Deny ingress access to the toolkit controllers from other namespaces using network policies. Defaults to true.
    path String
    Path relative to the repository root, when specified the cluster sync will be scoped to this path.
    recurseSubmodules Boolean
    Configures the GitRepository source to initialize and include Git submodules in the artifact it produces.
    registry String
    Container registry where the toolkit images are published. Defaults to ghcr.io/fluxcd.
    secretName String
    Name of the secret the sync credentials can be found in or stored to. Defaults to flux-system.
    timeouts FluxBootstrapGitTimeouts
    tolerationKeys List<String>
    List of toleration keys used to schedule the components pods onto nodes with matching taints.
    version String
    Flux version. Defaults to v2.0.1.
    watchAllNamespaces Boolean
    If true watch for custom resources in all namespaces. Defaults to true.
    clusterDomain string
    The internal cluster domain. Defaults to cluster.local
    components string[]
    Toolkit components to include in the install manifests. Defaults to [source-controller kustomize-controller helm-controller notification-controller]
    componentsExtras string[]
    List of extra components to include in the install manifests.
    disableSecretCreation boolean
    Use the existing secret for flux controller and don't create one from bootstrap
    imagePullSecret string
    Kubernetes secret name used for pulling the toolkit images from a private registry.
    interval string
    Interval at which to reconcile from bootstrap repository. Defaults to 1m0s.
    kustomizationOverride string
    Kustomization to override configuration set by default.
    logLevel string
    Log level for toolkit components. Defaults to info.
    namespace string
    The namespace scope for install manifests. Defaults to flux-system.
    networkPolicy boolean
    Deny ingress access to the toolkit controllers from other namespaces using network policies. Defaults to true.
    path string
    Path relative to the repository root, when specified the cluster sync will be scoped to this path.
    recurseSubmodules boolean
    Configures the GitRepository source to initialize and include Git submodules in the artifact it produces.
    registry string
    Container registry where the toolkit images are published. Defaults to ghcr.io/fluxcd.
    secretName string
    Name of the secret the sync credentials can be found in or stored to. Defaults to flux-system.
    timeouts FluxBootstrapGitTimeouts
    tolerationKeys string[]
    List of toleration keys used to schedule the components pods onto nodes with matching taints.
    version string
    Flux version. Defaults to v2.0.1.
    watchAllNamespaces boolean
    If true watch for custom resources in all namespaces. Defaults to true.
    cluster_domain str
    The internal cluster domain. Defaults to cluster.local
    components Sequence[str]
    Toolkit components to include in the install manifests. Defaults to [source-controller kustomize-controller helm-controller notification-controller]
    components_extras Sequence[str]
    List of extra components to include in the install manifests.
    disable_secret_creation bool
    Use the existing secret for flux controller and don't create one from bootstrap
    image_pull_secret str
    Kubernetes secret name used for pulling the toolkit images from a private registry.
    interval str
    Interval at which to reconcile from bootstrap repository. Defaults to 1m0s.
    kustomization_override str
    Kustomization to override configuration set by default.
    log_level str
    Log level for toolkit components. Defaults to info.
    namespace str
    The namespace scope for install manifests. Defaults to flux-system.
    network_policy bool
    Deny ingress access to the toolkit controllers from other namespaces using network policies. Defaults to true.
    path str
    Path relative to the repository root, when specified the cluster sync will be scoped to this path.
    recurse_submodules bool
    Configures the GitRepository source to initialize and include Git submodules in the artifact it produces.
    registry str
    Container registry where the toolkit images are published. Defaults to ghcr.io/fluxcd.
    secret_name str
    Name of the secret the sync credentials can be found in or stored to. Defaults to flux-system.
    timeouts FluxBootstrapGitTimeoutsArgs
    toleration_keys Sequence[str]
    List of toleration keys used to schedule the components pods onto nodes with matching taints.
    version str
    Flux version. Defaults to v2.0.1.
    watch_all_namespaces bool
    If true watch for custom resources in all namespaces. Defaults to true.
    clusterDomain String
    The internal cluster domain. Defaults to cluster.local
    components List<String>
    Toolkit components to include in the install manifests. Defaults to [source-controller kustomize-controller helm-controller notification-controller]
    componentsExtras List<String>
    List of extra components to include in the install manifests.
    disableSecretCreation Boolean
    Use the existing secret for flux controller and don't create one from bootstrap
    imagePullSecret String
    Kubernetes secret name used for pulling the toolkit images from a private registry.
    interval String
    Interval at which to reconcile from bootstrap repository. Defaults to 1m0s.
    kustomizationOverride String
    Kustomization to override configuration set by default.
    logLevel String
    Log level for toolkit components. Defaults to info.
    namespace String
    The namespace scope for install manifests. Defaults to flux-system.
    networkPolicy Boolean
    Deny ingress access to the toolkit controllers from other namespaces using network policies. Defaults to true.
    path String
    Path relative to the repository root, when specified the cluster sync will be scoped to this path.
    recurseSubmodules Boolean
    Configures the GitRepository source to initialize and include Git submodules in the artifact it produces.
    registry String
    Container registry where the toolkit images are published. Defaults to ghcr.io/fluxcd.
    secretName String
    Name of the secret the sync credentials can be found in or stored to. Defaults to flux-system.
    timeouts Property Map
    tolerationKeys List<String>
    List of toleration keys used to schedule the components pods onto nodes with matching taints.
    version String
    Flux version. Defaults to v2.0.1.
    watchAllNamespaces Boolean
    If true watch for custom resources in all namespaces. Defaults to true.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    RepositoryFiles Dictionary<string, string>
    Git repository files created and managed by the provider.
    Id string
    The provider-assigned unique ID for this managed resource.
    RepositoryFiles map[string]string
    Git repository files created and managed by the provider.
    id String
    The provider-assigned unique ID for this managed resource.
    repositoryFiles Map<String,String>
    Git repository files created and managed by the provider.
    id string
    The provider-assigned unique ID for this managed resource.
    repositoryFiles {[key: string]: string}
    Git repository files created and managed by the provider.
    id str
    The provider-assigned unique ID for this managed resource.
    repository_files Mapping[str, str]
    Git repository files created and managed by the provider.
    id String
    The provider-assigned unique ID for this managed resource.
    repositoryFiles Map<String>
    Git repository files created and managed by the provider.

    Look up Existing FluxBootstrapGit Resource

    Get an existing FluxBootstrapGit 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?: FluxBootstrapGitState, opts?: CustomResourceOptions): FluxBootstrapGit
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cluster_domain: Optional[str] = None,
            components: Optional[Sequence[str]] = None,
            components_extras: Optional[Sequence[str]] = None,
            disable_secret_creation: Optional[bool] = None,
            image_pull_secret: Optional[str] = None,
            interval: Optional[str] = None,
            kustomization_override: Optional[str] = None,
            log_level: Optional[str] = None,
            namespace: Optional[str] = None,
            network_policy: Optional[bool] = None,
            path: Optional[str] = None,
            recurse_submodules: Optional[bool] = None,
            registry: Optional[str] = None,
            repository_files: Optional[Mapping[str, str]] = None,
            secret_name: Optional[str] = None,
            timeouts: Optional[FluxBootstrapGitTimeoutsArgs] = None,
            toleration_keys: Optional[Sequence[str]] = None,
            version: Optional[str] = None,
            watch_all_namespaces: Optional[bool] = None) -> FluxBootstrapGit
    func GetFluxBootstrapGit(ctx *Context, name string, id IDInput, state *FluxBootstrapGitState, opts ...ResourceOption) (*FluxBootstrapGit, error)
    public static FluxBootstrapGit Get(string name, Input<string> id, FluxBootstrapGitState? state, CustomResourceOptions? opts = null)
    public static FluxBootstrapGit get(String name, Output<String> id, FluxBootstrapGitState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ClusterDomain string
    The internal cluster domain. Defaults to cluster.local
    Components List<string>
    Toolkit components to include in the install manifests. Defaults to [source-controller kustomize-controller helm-controller notification-controller]
    ComponentsExtras List<string>
    List of extra components to include in the install manifests.
    DisableSecretCreation bool
    Use the existing secret for flux controller and don't create one from bootstrap
    ImagePullSecret string
    Kubernetes secret name used for pulling the toolkit images from a private registry.
    Interval string
    Interval at which to reconcile from bootstrap repository. Defaults to 1m0s.
    KustomizationOverride string
    Kustomization to override configuration set by default.
    LogLevel string
    Log level for toolkit components. Defaults to info.
    Namespace string
    The namespace scope for install manifests. Defaults to flux-system.
    NetworkPolicy bool
    Deny ingress access to the toolkit controllers from other namespaces using network policies. Defaults to true.
    Path string
    Path relative to the repository root, when specified the cluster sync will be scoped to this path.
    RecurseSubmodules bool
    Configures the GitRepository source to initialize and include Git submodules in the artifact it produces.
    Registry string
    Container registry where the toolkit images are published. Defaults to ghcr.io/fluxcd.
    RepositoryFiles Dictionary<string, string>
    Git repository files created and managed by the provider.
    SecretName string
    Name of the secret the sync credentials can be found in or stored to. Defaults to flux-system.
    Timeouts FluxBootstrapGitTimeouts
    TolerationKeys List<string>
    List of toleration keys used to schedule the components pods onto nodes with matching taints.
    Version string
    Flux version. Defaults to v2.0.1.
    WatchAllNamespaces bool
    If true watch for custom resources in all namespaces. Defaults to true.
    ClusterDomain string
    The internal cluster domain. Defaults to cluster.local
    Components []string
    Toolkit components to include in the install manifests. Defaults to [source-controller kustomize-controller helm-controller notification-controller]
    ComponentsExtras []string
    List of extra components to include in the install manifests.
    DisableSecretCreation bool
    Use the existing secret for flux controller and don't create one from bootstrap
    ImagePullSecret string
    Kubernetes secret name used for pulling the toolkit images from a private registry.
    Interval string
    Interval at which to reconcile from bootstrap repository. Defaults to 1m0s.
    KustomizationOverride string
    Kustomization to override configuration set by default.
    LogLevel string
    Log level for toolkit components. Defaults to info.
    Namespace string
    The namespace scope for install manifests. Defaults to flux-system.
    NetworkPolicy bool
    Deny ingress access to the toolkit controllers from other namespaces using network policies. Defaults to true.
    Path string
    Path relative to the repository root, when specified the cluster sync will be scoped to this path.
    RecurseSubmodules bool
    Configures the GitRepository source to initialize and include Git submodules in the artifact it produces.
    Registry string
    Container registry where the toolkit images are published. Defaults to ghcr.io/fluxcd.
    RepositoryFiles map[string]string
    Git repository files created and managed by the provider.
    SecretName string
    Name of the secret the sync credentials can be found in or stored to. Defaults to flux-system.
    Timeouts FluxBootstrapGitTimeoutsArgs
    TolerationKeys []string
    List of toleration keys used to schedule the components pods onto nodes with matching taints.
    Version string
    Flux version. Defaults to v2.0.1.
    WatchAllNamespaces bool
    If true watch for custom resources in all namespaces. Defaults to true.
    clusterDomain String
    The internal cluster domain. Defaults to cluster.local
    components List<String>
    Toolkit components to include in the install manifests. Defaults to [source-controller kustomize-controller helm-controller notification-controller]
    componentsExtras List<String>
    List of extra components to include in the install manifests.
    disableSecretCreation Boolean
    Use the existing secret for flux controller and don't create one from bootstrap
    imagePullSecret String
    Kubernetes secret name used for pulling the toolkit images from a private registry.
    interval String
    Interval at which to reconcile from bootstrap repository. Defaults to 1m0s.
    kustomizationOverride String
    Kustomization to override configuration set by default.
    logLevel String
    Log level for toolkit components. Defaults to info.
    namespace String
    The namespace scope for install manifests. Defaults to flux-system.
    networkPolicy Boolean
    Deny ingress access to the toolkit controllers from other namespaces using network policies. Defaults to true.
    path String
    Path relative to the repository root, when specified the cluster sync will be scoped to this path.
    recurseSubmodules Boolean
    Configures the GitRepository source to initialize and include Git submodules in the artifact it produces.
    registry String
    Container registry where the toolkit images are published. Defaults to ghcr.io/fluxcd.
    repositoryFiles Map<String,String>
    Git repository files created and managed by the provider.
    secretName String
    Name of the secret the sync credentials can be found in or stored to. Defaults to flux-system.
    timeouts FluxBootstrapGitTimeouts
    tolerationKeys List<String>
    List of toleration keys used to schedule the components pods onto nodes with matching taints.
    version String
    Flux version. Defaults to v2.0.1.
    watchAllNamespaces Boolean
    If true watch for custom resources in all namespaces. Defaults to true.
    clusterDomain string
    The internal cluster domain. Defaults to cluster.local
    components string[]
    Toolkit components to include in the install manifests. Defaults to [source-controller kustomize-controller helm-controller notification-controller]
    componentsExtras string[]
    List of extra components to include in the install manifests.
    disableSecretCreation boolean
    Use the existing secret for flux controller and don't create one from bootstrap
    imagePullSecret string
    Kubernetes secret name used for pulling the toolkit images from a private registry.
    interval string
    Interval at which to reconcile from bootstrap repository. Defaults to 1m0s.
    kustomizationOverride string
    Kustomization to override configuration set by default.
    logLevel string
    Log level for toolkit components. Defaults to info.
    namespace string
    The namespace scope for install manifests. Defaults to flux-system.
    networkPolicy boolean
    Deny ingress access to the toolkit controllers from other namespaces using network policies. Defaults to true.
    path string
    Path relative to the repository root, when specified the cluster sync will be scoped to this path.
    recurseSubmodules boolean
    Configures the GitRepository source to initialize and include Git submodules in the artifact it produces.
    registry string
    Container registry where the toolkit images are published. Defaults to ghcr.io/fluxcd.
    repositoryFiles {[key: string]: string}
    Git repository files created and managed by the provider.
    secretName string
    Name of the secret the sync credentials can be found in or stored to. Defaults to flux-system.
    timeouts FluxBootstrapGitTimeouts
    tolerationKeys string[]
    List of toleration keys used to schedule the components pods onto nodes with matching taints.
    version string
    Flux version. Defaults to v2.0.1.
    watchAllNamespaces boolean
    If true watch for custom resources in all namespaces. Defaults to true.
    cluster_domain str
    The internal cluster domain. Defaults to cluster.local
    components Sequence[str]
    Toolkit components to include in the install manifests. Defaults to [source-controller kustomize-controller helm-controller notification-controller]
    components_extras Sequence[str]
    List of extra components to include in the install manifests.
    disable_secret_creation bool
    Use the existing secret for flux controller and don't create one from bootstrap
    image_pull_secret str
    Kubernetes secret name used for pulling the toolkit images from a private registry.
    interval str
    Interval at which to reconcile from bootstrap repository. Defaults to 1m0s.
    kustomization_override str
    Kustomization to override configuration set by default.
    log_level str
    Log level for toolkit components. Defaults to info.
    namespace str
    The namespace scope for install manifests. Defaults to flux-system.
    network_policy bool
    Deny ingress access to the toolkit controllers from other namespaces using network policies. Defaults to true.
    path str
    Path relative to the repository root, when specified the cluster sync will be scoped to this path.
    recurse_submodules bool
    Configures the GitRepository source to initialize and include Git submodules in the artifact it produces.
    registry str
    Container registry where the toolkit images are published. Defaults to ghcr.io/fluxcd.
    repository_files Mapping[str, str]
    Git repository files created and managed by the provider.
    secret_name str
    Name of the secret the sync credentials can be found in or stored to. Defaults to flux-system.
    timeouts FluxBootstrapGitTimeoutsArgs
    toleration_keys Sequence[str]
    List of toleration keys used to schedule the components pods onto nodes with matching taints.
    version str
    Flux version. Defaults to v2.0.1.
    watch_all_namespaces bool
    If true watch for custom resources in all namespaces. Defaults to true.
    clusterDomain String
    The internal cluster domain. Defaults to cluster.local
    components List<String>
    Toolkit components to include in the install manifests. Defaults to [source-controller kustomize-controller helm-controller notification-controller]
    componentsExtras List<String>
    List of extra components to include in the install manifests.
    disableSecretCreation Boolean
    Use the existing secret for flux controller and don't create one from bootstrap
    imagePullSecret String
    Kubernetes secret name used for pulling the toolkit images from a private registry.
    interval String
    Interval at which to reconcile from bootstrap repository. Defaults to 1m0s.
    kustomizationOverride String
    Kustomization to override configuration set by default.
    logLevel String
    Log level for toolkit components. Defaults to info.
    namespace String
    The namespace scope for install manifests. Defaults to flux-system.
    networkPolicy Boolean
    Deny ingress access to the toolkit controllers from other namespaces using network policies. Defaults to true.
    path String
    Path relative to the repository root, when specified the cluster sync will be scoped to this path.
    recurseSubmodules Boolean
    Configures the GitRepository source to initialize and include Git submodules in the artifact it produces.
    registry String
    Container registry where the toolkit images are published. Defaults to ghcr.io/fluxcd.
    repositoryFiles Map<String>
    Git repository files created and managed by the provider.
    secretName String
    Name of the secret the sync credentials can be found in or stored to. Defaults to flux-system.
    timeouts Property Map
    tolerationKeys List<String>
    List of toleration keys used to schedule the components pods onto nodes with matching taints.
    version String
    Flux version. Defaults to v2.0.1.
    watchAllNamespaces Boolean
    If true watch for custom resources in all namespaces. Defaults to true.

    Supporting Types

    FluxBootstrapGitTimeouts, FluxBootstrapGitTimeoutsArgs

    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

    Import

    Existing Flux installations can be imported by passing the namespace where Flux is installed.

     $ pulumi import flux:index/fluxBootstrapGit:FluxBootstrapGit this flux-system
    

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

    Package Details

    Repository
    flux oun/pulumi-flux
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the flux Terraform Provider.
    flux logo
    Flux v1.0.1 published on Friday, Jul 28, 2023 by oun