Skip to content

Commit

Permalink
chore(docs): add OCI relevant snippet
Browse files Browse the repository at this point in the history
Release-As: 1.4.2
  • Loading branch information
meysam81 committed Nov 9, 2024
1 parent 517aed4 commit 4a7993c
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
- [Kustomizations](#kustomizations)
- [Intro](#intro)
- [Usage](#usage)
- [OCI Registry](#oci-registry)
- [FAQ?](#faq)
- [Why not use Helm?](#why-not-use-helm)
- [Philosophy](#philosophy)
Expand Down Expand Up @@ -47,6 +48,42 @@ resources:
- https://github.com/meysam81/kustomizations//oathkeeper/overlays/vm?ref=v1.3.1&timeout=5m
```
## OCI Registry
This repository comes with an officially supported OCI registry. For usage with
FluxCD, you can use the following snippet:
```yaml
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: OCIRepository
metadata:
name: kustomizations
namespace: flux-system
spec:
interval: 12h
ref:
semver: '>=0.1.0'
url: oci://ghcr.io/meysam81/kustomizations
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: echo-server
namespace: flux-system
spec:
interval: 1h
path: ./echo-server/overlays/default
prune: true
retryInterval: 2m
sourceRef:
kind: OCIRepository
name: kustomizations
targetNamespace: default
timeout: 5m
wait: true
```
## FAQ?
### Why not use Helm?
Expand Down

0 comments on commit 4a7993c

Please sign in to comment.