You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/resources/bootstrap_git.md
+3-2
Original file line number
Diff line number
Diff line change
@@ -32,12 +32,13 @@ The following examples are available to help you use the provider:
32
32
-`components_extra` (Set of String) List of extra components to include in the install manifests.
33
33
-`delete_git_manifests` (Boolean) Delete manifests from git repository. Defaults to `true`.
34
34
-`disable_secret_creation` (Boolean) Use the existing secret for flux controller and don't create one from bootstrap
35
+
-`embedded_manifests` (Boolean) When enabled, the Flux manifests will be extracted from the provider binary instead of being downloaded from github.com. Defaults to `false`.
35
36
-`image_pull_secret` (String) Kubernetes secret name used for pulling the toolkit images from a private registry.
36
37
-`interval` (String) Interval at which to reconcile from bootstrap repository. Defaults to `1m0s`.
37
38
-`keep_namespace` (Boolean) Keep the namespace after uninstalling Flux components. Defaults to `false`.
38
39
-`kustomization_override` (String) Kustomization to override configuration set by default.
39
40
-`log_level` (String) Log level for toolkit components. Defaults to `info`.
40
-
-`manifests_path` (String) The install manifests are built from a GitHub release or kustomize overlay if using a local path. Defaults to `https://github.com/fluxcd/flux2/releases`.
41
+
-`manifests_path` (String, Deprecated) The install manifests are built from a GitHub release or kustomize overlay if using a local path. Defaults to `https://github.com/fluxcd/flux2/releases`.
41
42
-`namespace` (String) The namespace scope for install manifests. Defaults to `flux-system`. It will be created if it does not exist.
42
43
-`network_policy` (Boolean) Deny ingress access to the toolkit controllers from other namespaces using network policies. Defaults to `true`.
43
44
-`path` (String) Path relative to the repository root, when specified the cluster sync will be scoped to this path (immutable).
@@ -46,7 +47,7 @@ The following examples are available to help you use the provider:
46
47
-`secret_name` (String) Name of the secret the sync credentials can be found in or stored to. Defaults to `flux-system`.
47
48
-`timeouts` (Attributes) (see [below for nested schema](#nestedatt--timeouts))
48
49
-`toleration_keys` (Set of String) List of toleration keys used to schedule the components pods onto nodes with matching taints.
49
-
-`version` (String) Flux version. Defaults to `v2.2.3`.
50
+
-`version` (String) Flux version. Defaults to `v2.2.3`. Has no effect when `embedded_manifests` is enabled.
50
51
-`watch_all_namespaces` (Boolean) If true watch for custom resources in all namespaces. Defaults to `true`.
Description: "Use the existing secret for flux controller and don't create one from bootstrap",
200
201
Optional: true,
201
202
},
203
+
"embedded_manifests": schema.BoolAttribute{
204
+
Description: "When enabled, the Flux manifests will be extracted from the provider binary instead of being downloaded from github.com. Defaults to `false`.",
Description: fmt.Sprintf("The install manifests are built from a GitHub release or kustomize overlay if using a local path. Defaults to `%s`.", defaultOpts.BaseURL),
245
-
Optional: true,
249
+
Description: fmt.Sprintf("The install manifests are built from a GitHub release or kustomize overlay if using a local path. Defaults to `%s`.", defaultOpts.BaseURL),
250
+
Optional: true,
251
+
DeprecationMessage: "This attribute is deprecated. Use the `embedded_manifests` attribute when running bootstrap on air-gapped environments.",
246
252
},
247
253
"namespace": schema.StringAttribute{
248
254
Description: fmt.Sprintf("The namespace scope for install manifests. Defaults to `%s`. It will be created if it does not exist.", defaultOpts.Namespace),
0 commit comments