flux.FluxBootstrapGit
Explore with Pulumi AI
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={
"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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The FluxBootstrapGit resource accepts the following input properties:
- Cluster
Domain 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]
- Components
Extras List<string> - List of extra components to include in the install manifests.
- Disable
Secret boolCreation - Use the existing secret for flux controller and don't create one from bootstrap
- Image
Pull stringSecret - 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
. - Kustomization
Override string - Kustomization to override configuration set by default.
- Log
Level string - Log level for toolkit components. Defaults to
info
. - Namespace string
- 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 string
- 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 string
- Container registry where the toolkit images are published. Defaults to
ghcr.io/fluxcd
. - Secret
Name string - Name of the secret the sync credentials can be found in or stored to. Defaults to
flux-system
. - Timeouts
Flux
Bootstrap Git Timeouts - Toleration
Keys 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
. - Watch
All boolNamespaces - If true watch for custom resources in all namespaces. Defaults to
true
.
- Cluster
Domain 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]
- Components
Extras []string - List of extra components to include in the install manifests.
- Disable
Secret boolCreation - Use the existing secret for flux controller and don't create one from bootstrap
- Image
Pull stringSecret - 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
. - Kustomization
Override string - Kustomization to override configuration set by default.
- Log
Level string - Log level for toolkit components. Defaults to
info
. - Namespace string
- 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 string
- 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 string
- Container registry where the toolkit images are published. Defaults to
ghcr.io/fluxcd
. - Secret
Name string - Name of the secret the sync credentials can be found in or stored to. Defaults to
flux-system
. - Timeouts
Flux
Bootstrap Git Timeouts Args - Toleration
Keys []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
. - Watch
All boolNamespaces - If true watch for custom resources in all namespaces. Defaults to
true
.
- cluster
Domain 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]
- components
Extras List<String> - List of extra components to include in the install manifests.
- disable
Secret BooleanCreation - Use the existing secret for flux controller and don't create one from bootstrap
- image
Pull StringSecret - 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
. - kustomization
Override String - Kustomization to override configuration set by default.
- log
Level String - Log level for toolkit components. Defaults to
info
. - namespace String
- The namespace scope for install manifests. Defaults to
flux-system
. - network
Policy 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.
- recurse
Submodules 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
. - secret
Name String - Name of the secret the sync credentials can be found in or stored to. Defaults to
flux-system
. - timeouts
Flux
Bootstrap Git Timeouts - toleration
Keys 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
. - watch
All BooleanNamespaces - If true watch for custom resources in all namespaces. Defaults to
true
.
- cluster
Domain 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]
- components
Extras string[] - List of extra components to include in the install manifests.
- disable
Secret booleanCreation - Use the existing secret for flux controller and don't create one from bootstrap
- image
Pull stringSecret - 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
. - kustomization
Override string - Kustomization to override configuration set by default.
- log
Level string - Log level for toolkit components. Defaults to
info
. - namespace string
- The namespace scope for install manifests. Defaults to
flux-system
. - network
Policy 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.
- recurse
Submodules 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
. - secret
Name string - Name of the secret the sync credentials can be found in or stored to. Defaults to
flux-system
. - timeouts
Flux
Bootstrap Git Timeouts - toleration
Keys 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
. - watch
All booleanNamespaces - 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_ boolcreation - Use the existing secret for flux controller and don't create one from bootstrap
- image_
pull_ strsecret - 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
Flux
Bootstrap Git Timeouts Args - 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_ boolnamespaces - If true watch for custom resources in all namespaces. Defaults to
true
.
- cluster
Domain 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]
- components
Extras List<String> - List of extra components to include in the install manifests.
- disable
Secret BooleanCreation - Use the existing secret for flux controller and don't create one from bootstrap
- image
Pull StringSecret - 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
. - kustomization
Override String - Kustomization to override configuration set by default.
- log
Level String - Log level for toolkit components. Defaults to
info
. - namespace String
- The namespace scope for install manifests. Defaults to
flux-system
. - network
Policy 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.
- recurse
Submodules 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
. - secret
Name String - Name of the secret the sync credentials can be found in or stored to. Defaults to
flux-system
. - timeouts Property Map
- toleration
Keys 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
. - watch
All BooleanNamespaces - 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.
- Repository
Files Dictionary<string, string> - Git repository files created and managed by the provider.
- Id string
- The provider-assigned unique ID for this managed resource.
- Repository
Files map[string]string - Git repository files created and managed by the provider.
- id String
- The provider-assigned unique ID for this managed resource.
- repository
Files Map<String,String> - Git repository files created and managed by the provider.
- id string
- The provider-assigned unique ID for this managed resource.
- repository
Files {[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.
- repository
Files 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.
- Cluster
Domain 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]
- Components
Extras List<string> - List of extra components to include in the install manifests.
- Disable
Secret boolCreation - Use the existing secret for flux controller and don't create one from bootstrap
- Image
Pull stringSecret - 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
. - Kustomization
Override string - Kustomization to override configuration set by default.
- Log
Level string - Log level for toolkit components. Defaults to
info
. - Namespace string
- 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 string
- 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 string
- Container registry where the toolkit images are published. Defaults to
ghcr.io/fluxcd
. - Repository
Files Dictionary<string, string> - Git repository files created and managed by the provider.
- Secret
Name string - Name of the secret the sync credentials can be found in or stored to. Defaults to
flux-system
. - Timeouts
Flux
Bootstrap Git Timeouts - Toleration
Keys 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
. - Watch
All boolNamespaces - If true watch for custom resources in all namespaces. Defaults to
true
.
- Cluster
Domain 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]
- Components
Extras []string - List of extra components to include in the install manifests.
- Disable
Secret boolCreation - Use the existing secret for flux controller and don't create one from bootstrap
- Image
Pull stringSecret - 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
. - Kustomization
Override string - Kustomization to override configuration set by default.
- Log
Level string - Log level for toolkit components. Defaults to
info
. - Namespace string
- 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 string
- 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 string
- Container registry where the toolkit images are published. Defaults to
ghcr.io/fluxcd
. - Repository
Files map[string]string - Git repository files created and managed by the provider.
- Secret
Name string - Name of the secret the sync credentials can be found in or stored to. Defaults to
flux-system
. - Timeouts
Flux
Bootstrap Git Timeouts Args - Toleration
Keys []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
. - Watch
All boolNamespaces - If true watch for custom resources in all namespaces. Defaults to
true
.
- cluster
Domain 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]
- components
Extras List<String> - List of extra components to include in the install manifests.
- disable
Secret BooleanCreation - Use the existing secret for flux controller and don't create one from bootstrap
- image
Pull StringSecret - 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
. - kustomization
Override String - Kustomization to override configuration set by default.
- log
Level String - Log level for toolkit components. Defaults to
info
. - namespace String
- The namespace scope for install manifests. Defaults to
flux-system
. - network
Policy 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.
- recurse
Submodules 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
. - repository
Files Map<String,String> - Git repository files created and managed by the provider.
- secret
Name String - Name of the secret the sync credentials can be found in or stored to. Defaults to
flux-system
. - timeouts
Flux
Bootstrap Git Timeouts - toleration
Keys 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
. - watch
All BooleanNamespaces - If true watch for custom resources in all namespaces. Defaults to
true
.
- cluster
Domain 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]
- components
Extras string[] - List of extra components to include in the install manifests.
- disable
Secret booleanCreation - Use the existing secret for flux controller and don't create one from bootstrap
- image
Pull stringSecret - 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
. - kustomization
Override string - Kustomization to override configuration set by default.
- log
Level string - Log level for toolkit components. Defaults to
info
. - namespace string
- The namespace scope for install manifests. Defaults to
flux-system
. - network
Policy 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.
- recurse
Submodules 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
. - repository
Files {[key: string]: string} - Git repository files created and managed by the provider.
- secret
Name string - Name of the secret the sync credentials can be found in or stored to. Defaults to
flux-system
. - timeouts
Flux
Bootstrap Git Timeouts - toleration
Keys 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
. - watch
All booleanNamespaces - 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_ boolcreation - Use the existing secret for flux controller and don't create one from bootstrap
- image_
pull_ strsecret - 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
Flux
Bootstrap Git Timeouts Args - 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_ boolnamespaces - If true watch for custom resources in all namespaces. Defaults to
true
.
- cluster
Domain 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]
- components
Extras List<String> - List of extra components to include in the install manifests.
- disable
Secret BooleanCreation - Use the existing secret for flux controller and don't create one from bootstrap
- image
Pull StringSecret - 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
. - kustomization
Override String - Kustomization to override configuration set by default.
- log
Level String - Log level for toolkit components. Defaults to
info
. - namespace String
- The namespace scope for install manifests. Defaults to
flux-system
. - network
Policy 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.
- recurse
Submodules 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
. - repository
Files Map<String> - Git repository files created and managed by the provider.
- secret
Name String - Name of the secret the sync credentials can be found in or stored to. Defaults to
flux-system
. - timeouts Property Map
- toleration
Keys 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
. - watch
All BooleanNamespaces - 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.