Skip to content

Commit

Permalink
feat: Add app-template OCI
Browse files Browse the repository at this point in the history
  • Loading branch information
szinn committed Mar 4, 2025
1 parent d395188 commit 80e46a1
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pre-pull-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
ref: "${{ matrix.branches == 'default' && github.event.repository.default_branch || '' }}"

- name: Gather Images
uses: docker://ghcr.io/allenporter/flux-local:v7.1.0@sha256:6f9c85ed770bbf422021c7a853e6e0df1049d4a8300d57aeae71c4c849b74bea
uses: docker://ghcr.io/allenporter/flux-local:main@sha256:8606710916a44918f6ba1a0aa761cf1aae5947283868493ad0afcfaea72e08fe
with:
args: >-
get cluster
Expand Down
1 change: 1 addition & 0 deletions kubernetes/repositories/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- helm
- oci
17 changes: 17 additions & 0 deletions kubernetes/repositories/oci/app-template.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
# yaml-language-server: $schema=https://kubernetes-schemas.zinn.ca/source.toolkit.fluxcd.io/ocirepository_v1beta2.json
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: OCIRepository
metadata:
name: app-template
namespace: flux-system
spec:
interval: 1h
layerSelector:
mediaType: application/vnd.cncf.helm.chart.content.v1.tar+gzip
operation: copy
ref:
tag: 3.7.1
url: oci://ghcr.io/bjw-s/helm/app-template
verify:
provider: cosign
6 changes: 6 additions & 0 deletions kubernetes/repositories/oci/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- app-template.yaml

0 comments on commit 80e46a1

Please sign in to comment.