Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flux compatiblity information #79

Merged
merged 1 commit into from
Mar 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ A general purpose UI for FluxCD.

## Installation

Capacitor requires Flux v2.0.0.

### Flux

Deploy the latest Capacitor release in the `flux-system` namespace
Expand Down Expand Up @@ -57,6 +59,44 @@ Access Capacitor UI with port-forwarding:
kubectl -n flux-system port-forward svc/capacitor 9000:9000
```

#### (Optional) Verify OCIRepository with Cosign

```diff
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: OCIRepository
metadata:
name: capacitor
namespace: flux-system
spec:
interval: 12h
url: oci://ghcr.io/gimlet-io/capacitor-manifests
ref:
semver: ">=0.1.0"
+ verify:
+ provider: cosign
+ matchOIDCIdentity:
+ - issuer: "https://token.actions.githubusercontent.com"
+ subject: "^https://github.com/gimlet-io/capacitor.*$"
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: capacitor
namespace: flux-system
spec:
targetNamespace: flux-system
interval: 1h
retryInterval: 2m
timeout: 5m
wait: true
prune: true
path: "./"
sourceRef:
kind: OCIRepository
name: capacitor
```

### Kubernetes manifests

```
Expand Down
Loading