Skip to content
Open
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions charts/flux2-sync/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
apiVersion: v2
name: flux2-sync
type: application
version: 1.14.1
version: 1.14.2
appVersion: 2.7.5
description: A Helm chart for flux2 GitRepository to sync with
sources:
- https://github.com/fluxcd-community/helm-charts
annotations:
artifacthub.io/changes: |
- "[Chore]: Update App Version to upstream 2.7.5"
- "[feat]: flux2-sync: Add support for sparseCheckout in GitRepository"
3 changes: 2 additions & 1 deletion charts/flux2-sync/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# flux2-sync

![Version: 1.14.1](https://img.shields.io/badge/Version-1.14.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.7.5](https://img.shields.io/badge/AppVersion-2.7.5-informational?style=flat-square)
![Version: 1.14.2](https://img.shields.io/badge/Version-1.14.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.6.4](https://img.shields.io/badge/AppVersion-2.6.4-informational?style=flat-square)

A Helm chart for flux2 GitRepository to sync with

Expand Down Expand Up @@ -29,6 +29,7 @@ This helm chart is maintained and released by the fluxcd-community on a best eff
| gitRepository.spec.recurseSubmodules | bool | `false` | _Optional_ When enabled, after the clone is created, initializes all submodules within, using their default settings. This option is available only when using the ‘go-git’ GitImplementation. |
| gitRepository.spec.ref | object | `{"branch":"master"}` | _Optional_ The Git reference to checkout and monitor for changes, defaults to master branch. |
| gitRepository.spec.secretRef | object | `{}` | _Optional_ The secret name containing the Git credentials. For HTTPS repositories the secret must contain username and password fields. For SSH repositories the secret must contain identity, identity.pub and known_hosts fields. For GitHub App authentication the secret must contain githubAppID, githubAppInstallationID and githubAppPrivateKey fields. If a secret.create is set, it will point to that one. |
| gitRepository.spec.sparseCheckout | list | `[]` | _Optional_ A list of directories to checkout when cloning the repository |
| gitRepository.spec.suspend | string | `""` | _Optional_ This flag tells the controller to suspend the reconciliation of this source. |
| gitRepository.spec.timeout | string | `""` | _Optional_ The timeout for remote Git operations like cloning, defaults to 20s. |
| gitRepository.spec.url | string | `""` | The repository URL, can be an HTTP/S or SSH address. |
Expand Down
4 changes: 4 additions & 0 deletions charts/flux2-sync/templates/flux-gitrepository.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,7 @@ spec:
{{- with .Values.gitRepository.spec.include }}
include: {{ toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.gitRepository.spec.sparseCheckout }}
sparseCheckout:
{{ toYaml . | nindent 4 }}
{{- end }}
3 changes: 3 additions & 0 deletions charts/flux2-sync/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ gitRepository:
# -- _Optional_ Extra git repositories to map into the repository
include: []

# -- _Optional_ A list of directories to checkout when cloning the repository
sparseCheckout: []


kustomization:
labels: {}
Expand Down