LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

flux-create

Create or update Flux custom resources from the command line

TLDR

Create a Git source
$ flux create source git my-repo --url https://github.com/org/repo --branch main
copy
Create a Kustomization to sync a path from a source
$ flux create kustomization my-app --source my-repo --path ./k8s
copy
Create a HelmRelease
$ flux create helmrelease my-release --chart mychart --source HelmRepository/myrepo
copy
Export YAML to stdout instead of applying to the cluster
$ flux create source git my-repo --url https://github.com/org/repo --branch main --export
copy
Create a Git authentication secret
$ flux create secret git my-git-secret --url https://github.com/org/repo --username user --password pass
copy

SYNOPSIS

flux create kind name [options]

DESCRIPTION

flux create generates Flux custom resources (GitRepository, Kustomization, HelmRelease, HelmRepository, Secret, etc.) without writing YAML by hand.By default the resource is applied to the cluster. Pass --export to print the resource as YAML on stdout instead (for committing to Git or piping to other tools).It supports the major Flux resource kinds and many common configuration options.

PARAMETERS

--export

Export the resource in YAML format to stdout instead of applying it to the cluster.
--interval duration
Source sync interval (default `1m0s`).
--label key=value
Set labels on the resource (repeatable / comma-separated).
-n, --namespace ns
Namespace scope (default `flux-system`).

COMMON KINDS

source git, source helm, source oci

Create source repositories.
kustomization
Define a Kustomize sync.
helmrelease
Deploy a Helm chart.
secret git, secret helm
Create credentials.
image, receiver, alert, tenant
Image automation, notification receivers, alerts, and multi-tenancy helpers.

INSTALL

sudo apk add flux
copy
brew install flux
copy
nix profile install nixpkgs#flux
copy

SEE ALSO

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid