You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
Adrien Fillon 0694a9582f
Support logging in directly to the provider when pushing OCI artifacts
I've noticed during CI, that the current command
already expected a configured Docker client to
push artifacts to authenticated registries.

Some users might not want to have the Docker client
in their process (like a CI job) or build an handcrafted
config.json file.

This would allow this kind of behavior:

```
flux push artifact oci://my-registry.dev/foo:v1 \
  --source xxx \
  --revision xxx \
  --path . \
  --creds $TOKEN # Authenticate via "Bearer $TOKEN" Authorization header
```

Or via Autologin:

```
flux push artifact oci://012345678901.dkr.ecr.us-east-1.amazonaws.com/foo:v1 \
  --source xxx \
  --revision xxx \
  --path . \
  --provider aws
```

This has been implemented for:

* flux push artifact
* flux list artifact
* flux tag artifact
* flux pull artifact

This will require another PR in https://github.com/fluxcd/pkg/pull/352

Signed-off-by: Adrien Fillon <adrien.fillon@manomano.com>
2 years ago
.github Publish install manifests to GHCR and DockerHub as OCI artifacts 2 years ago
action OCI docs improvements 2 years ago
cmd/flux Support logging in directly to the provider when pushing OCI artifacts 2 years ago
docs update to new doc links structure 2 years ago
install feature: let user specify what version of flux-cli they want to install 3 years ago
internal Support logging in directly to the provider when pushing OCI artifacts 2 years ago
manifests Filter out non-running pods in Prometheus 2 years ago
pkg Add link to kubectl repo 2 years ago
rfcs update to new doc links structure 2 years ago
tests Update packages in Azure e2e tests 2 years ago
.gitignore fix makefile envtest setup and usage 3 years ago
.goreleaser.yml Sign the release artifacts checksums and images 3 years ago
CODE_OF_CONDUCT.md Add coc, dco and maintainers docs 5 years ago
CONTRIBUTING.md update to new doc links structure 2 years ago
DCO Add coc, dco and maintainers docs 5 years ago
Dockerfile Update Kubernetes dependencies to v1.25.0 2 years ago
LICENSE Initial commit 5 years ago
MAINTAINERS Move MAINTAINERS to f/community 3 years ago
Makefile Update Kubernetes dependencies to v1.25.0 2 years ago
README.md update to new doc links structure 2 years ago
go.mod Support logging in directly to the provider when pushing OCI artifacts 2 years ago
go.sum Support logging in directly to the provider when pushing OCI artifacts 2 years ago
netlify.toml explain where docs are 4 years ago

README.md

Flux version 2

CII Best Practices e2e report license release

Flux is a tool for keeping Kubernetes clusters in sync with sources of configuration (like Git repositories), and automating updates to configuration when there is new code to deploy.

Flux version 2 ("v2") is built from the ground up to use Kubernetes' API extension system, and to integrate with Prometheus and other core components of the Kubernetes ecosystem. In version 2, Flux supports multi-tenancy and support for syncing an arbitrary number of Git repositories, among other long-requested features.

Flux v2 is constructed with the GitOps Toolkit, a set of composable APIs and specialized tools for building Continuous Delivery on top of Kubernetes.

Flux is a Cloud Native Computing Foundation (CNCF) project.

Quickstart and documentation

To get started check out this guide on how to bootstrap Flux on Kubernetes and deploy a sample application in a GitOps manner.

For more comprehensive documentation, see the following guides:

If you need help, please refer to our Support page.

GitOps Toolkit

The GitOps Toolkit is the set of APIs and controllers that make up the runtime for Flux v2. The APIs comprise Kubernetes custom resources, which can be created and updated by a cluster user, or by other automation tooling.

overview

You can use the toolkit to extend Flux, or to build your own systems for continuous delivery -- see the developer guides.

Components

Community

Need help or want to contribute? Please see the links below. The Flux project is always looking for new contributors and there are a multitude of ways to get involved.

Events

Check out our events calendar, both with upcoming talks, events and meetings you can attend. Or view the resources section with past events videos you can watch.

We look forward to seeing you with us!