Skip to content

Commit ae55569

Browse files
authored
Merge pull request #1063 from fluxcd/add-docs-links
Add API docs links to readme
2 parents 288d079 + b7a7711 commit ae55569

File tree

4 files changed

+35
-11
lines changed

4 files changed

+35
-11
lines changed

Diff for: README.md

+31-7
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,47 @@
77
[![release](https://img.shields.io/github/release/fluxcd/source-controller/all.svg)](https://github.com/fluxcd/source-controller/releases)
88

99
The source-controller is a Kubernetes operator, specialised in artifacts acquisition
10-
from external sources such as Git, Helm repositories and S3 buckets.
10+
from external sources such as Git, OCI, Helm repositories and S3-compatible buckets.
1111
The source-controller implements the
12-
[source.toolkit.fluxcd.io](https://github.com/fluxcd/source-controller/tree/main/docs/spec/v1beta2) API
12+
[source.toolkit.fluxcd.io](docs/spec/README.md) API
1313
and is a core component of the [GitOps toolkit](https://fluxcd.io/flux/components/).
1414

1515
![overview](docs/diagrams/source-controller-overview.png)
1616

17-
Features:
17+
## APIs
1818

19-
* authenticates to sources (SSH, user/password, API token)
20-
* validates source authenticity (PGP)
19+
| Kind | API Version |
20+
|---------------------------------------------------------|------------------------------------|
21+
| [GitRepository](docs/spec/v1/gitrepositories.md) | `source.toolkit.fluxcd.io/v1` |
22+
| [OCIRepository](docs/spec/v1beta2/ocirepositories.md) | `source.toolkit.fluxcd.io/v1beta2` |
23+
| [HelmRepository](docs/spec/v1beta2/helmrepositories.md) | `source.toolkit.fluxcd.io/v1beta2` |
24+
| [HelmChart](docs/spec/v1beta2/helmcharts.md) | `source.toolkit.fluxcd.io/v1beta2` |
25+
| [Bucket](docs/spec/v1beta2/buckets.md) | `source.toolkit.fluxcd.io/v1beta2` |
26+
27+
## Features
28+
29+
* authenticates to sources (SSH, user/password, API token, Workload Identity)
30+
* validates source authenticity (PGP, Cosign)
2131
* detects source changes based on update policies (semver)
2232
* fetches resources on-demand and on-a-schedule
2333
* packages the fetched resources into a well-known format (tar.gz, yaml)
2434
* makes the artifacts addressable by their source identifier (sha, version, ts)
2535
* makes the artifacts available in-cluster to interested 3rd parties
2636
* notifies interested 3rd parties of source changes and availability (status conditions, events, hooks)
27-
* reacts to Git push and Helm chart upload events (via [notification-controller](https://github.com/fluxcd/notification-controller))
37+
* reacts to Git, Helm and OCI artifacts push events (via [notification-controller](https://github.com/fluxcd/notification-controller))
38+
39+
## Guides
40+
41+
* [Get started with Flux](https://fluxcd.io/flux/get-started/)
42+
* [Setup Webhook Receivers](https://fluxcd.io/flux/guides/webhook-receivers/)
43+
* [Setup Notifications](https://fluxcd.io/flux/guides/notifications/)
44+
* [How to build, publish and consume OCI Artifacts with Flux](https://fluxcd.io/flux/cheatsheets/oci-artifacts/)
45+
46+
## Roadmap
47+
48+
The roadmap for the Flux family of projects can be found at <https://fluxcd.io/roadmap/>.
49+
50+
## Contributing
2851

29-
See [the docs folder](docs/spec/README.md) for more information.
52+
This project is Apache 2.0 licensed and accepts contributions via GitHub pull requests.
53+
To start contributing please see the [development guide](DEVELOPMENT.md).

Diff for: docs/spec/v1/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# source.toolkit.fluxcd.io/v1beta2
1+
# source.toolkit.fluxcd.io/v1
22

33
This is the v1 API specification for defining the desired state sources of Kubernetes clusters.
44

Diff for: docs/spec/v1/gitrepositories.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ signatures. The field offers two subfields:
354354

355355
```yaml
356356
---
357-
apiVersion: source.toolkit.fluxcd.io/v1beta1
357+
apiVersion: source.toolkit.fluxcd.io/v1
358358
kind: GitRepository
359359
metadata:
360360
name: podinfo

Diff for: docs/spec/v1beta2/helmrepositories.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -312,12 +312,12 @@ if you want to use AKS pod-managed identities add-on that is in preview.
312312
The `gcp` provider can be used to authenticate automatically using OAuth scopes or
313313
Workload Identity, and by extension gain access to GCR or Artifact Registry.
314314

315-
#### Access Scopes
315+
##### Access Scopes
316316

317317
When the GKE nodes have the appropriate OAuth scope for accessing GCR and Artifact Registry,
318318
source-controller running on it will also have access to them.
319319

320-
#### GKE Workload Identity
320+
##### GKE Workload Identity
321321

322322
When using Workload Identity to enable access to GCR or Artifact Registry, add the
323323
following patch to your bootstrap repository, in the `flux-system/kustomization.yaml`

0 commit comments

Comments
 (0)