Closed allenporter closed 3 months ago
--- tests/testdata/cluster7/flux/charts Kustomization: flux-system/charts OCIRepository: flux-system/app-template
+++ tests/testdata/cluster7/flux/charts Kustomization: flux-system/charts OCIRepository: flux-system/app-template
@@ -0,0 +1,18 @@
+---
+apiVersion: source.toolkit.fluxcd.io/v1beta2
+kind: OCIRepository
+metadata:
+ labels:
+ kustomize.toolkit.fluxcd.io/name: charts
+ kustomize.toolkit.fluxcd.io/namespace: flux-system
+ name: app-template
+ namespace: flux-system
+spec:
+ interval: 12h
+ layerSelector:
+ mediaType: application/vnd.cncf.helm.chart.content.v1.tar+gzip
+ operation: copy
+ ref:
+ tag: 3.3.2
+ url: oci://ghcr.io/bjw-s/helm/app-template
+
--- tests/testdata/cluster7/flux/apps Kustomization: flux-system/apps HelmRelease: flux-system/cloudflared
+++ tests/testdata/cluster7/flux/apps Kustomization: flux-system/apps HelmRelease: flux-system/cloudflared
@@ -0,0 +1,23 @@
+---
+apiVersion: helm.toolkit.fluxcd.io/v2
+kind: HelmRelease
+metadata:
+ labels:
+ kustomize.toolkit.fluxcd.io/name: apps
+ kustomize.toolkit.fluxcd.io/namespace: flux-system
+ name: cloudflared
+ namespace: flux-system
+spec:
+ chartRef:
+ kind: OCIRepository
+ name: app-template
+ namespace: flux-system
+ install:
+ remediation:
+ retries: 3
+ interval: 60m
+ upgrade:
+ cleanupOnFail: true
+ remediation:
+ retries: 3
+
--- tests/testdata/cluster7/flux/charts Kustomization: flux-system/charts OCIRepository: flux-system/app-template
+++ tests/testdata/cluster7/flux/charts Kustomization: flux-system/charts OCIRepository: flux-system/app-template
@@ -0,0 +1,18 @@
+---
+apiVersion: source.toolkit.fluxcd.io/v1beta2
+kind: OCIRepository
+metadata:
+ labels:
+ kustomize.toolkit.fluxcd.io/name: charts
+ kustomize.toolkit.fluxcd.io/namespace: flux-system
+ name: app-template
+ namespace: flux-system
+spec:
+ interval: 12h
+ layerSelector:
+ mediaType: application/vnd.cncf.helm.chart.content.v1.tar+gzip
+ operation: copy
+ ref:
+ tag: 3.3.2
+ url: oci://ghcr.io/bjw-s/helm/app-template
+
--- tests/testdata/cluster7/flux/apps Kustomization: flux-system/apps HelmRelease: flux-system/cloudflared
+++ tests/testdata/cluster7/flux/apps Kustomization: flux-system/apps HelmRelease: flux-system/cloudflared
@@ -0,0 +1,23 @@
+---
+apiVersion: helm.toolkit.fluxcd.io/v2
+kind: HelmRelease
+metadata:
+ labels:
+ kustomize.toolkit.fluxcd.io/name: apps
+ kustomize.toolkit.fluxcd.io/namespace: flux-system
+ name: cloudflared
+ namespace: flux-system
+spec:
+ chartRef:
+ kind: OCIRepository
+ name: app-template
+ namespace: flux-system
+ install:
+ remediation:
+ retries: 3
+ interval: 60m
+ upgrade:
+ cleanupOnFail: true
+ remediation:
+ retries: 3
+
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 93.22%. Comparing base (
18bb03c
) to head (a898dab
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Adding additional repository examples, but they don't reproduce the issue.