Skip to content

Commit ee8cd92

Browse files
authored
Merge pull request #2 from kingdon-ci/flux-oci
add the flux-oci manifests too
2 parents a5dfd7d + 061ee9d commit ee8cd92

5 files changed

+74
-0
lines changed

deploy/flux-oci/docs-app-ks.yaml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
apiVersion: kustomize.toolkit.fluxcd.io/v1
3+
kind: Kustomization
4+
metadata:
5+
name: docs-app
6+
namespace: default
7+
spec:
8+
timeout: 1m0s
9+
retryInterval: 1m30s
10+
interval: 10m0s
11+
path: ./spin-app
12+
prune: true
13+
wait: true
14+
sourceRef:
15+
kind: OCIRepository
16+
name: flux-docs
17+
dependsOn:
18+
- name: docs-infra

deploy/flux-oci/docs-infra-ks.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
apiVersion: kustomize.toolkit.fluxcd.io/v1
3+
kind: Kustomization
4+
metadata:
5+
name: docs-infra
6+
namespace: default
7+
spec:
8+
timeout: 1m0s
9+
retryInterval: 1m30s
10+
interval: 10m0s
11+
path: ./spin-infra
12+
prune: true
13+
wait: true
14+
sourceRef:
15+
kind: OCIRepository
16+
name: flux-docs

deploy/flux-oci/flux-docs-oci.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
apiVersion: source.toolkit.fluxcd.io/v1beta2
3+
kind: OCIRepository
4+
metadata:
5+
name: flux-docs
6+
namespace: flux-system
7+
spec:
8+
interval: 10m0s
9+
ref:
10+
tag: latest
11+
url: oci://ghcr.io/kingdon-ci/flux-docs/manifests
12+
verify:
13+
provider: cosign
14+
matchOIDCIdentity:
15+
- issuer: "https://token.actions.githubusercontent.com"
16+
subject: "^https://github.com/kingdon-ci/flux-docs/.*$"
+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
apiVersion: notification.toolkit.fluxcd.io/v1
3+
kind: Receiver
4+
metadata:
5+
name: flux-docs
6+
namespace: flux-system
7+
spec:
8+
resources:
9+
- apiVersion: source.toolkit.fluxcd.io/v1beta2
10+
kind: OCIRepository
11+
name: flux-docs
12+
secretRef:
13+
name: flux-docs-webhook
14+
type: github
15+
events:
16+
- "package"

deploy/flux-oci/kustomization.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
namespace: default
4+
resources:
5+
- flux-docs-oci.yaml
6+
- flux-docs-receiver.yaml
7+
- docs-app-ks.yaml
8+
- docs-infra-ks.yaml

0 commit comments

Comments
 (0)