Dipti Pai
61f9eb28fc
Sparse Checkout Directories in GitRepositories.
...
- Add `.spec.sparseCheckout` and `.status.observedSparseCheckout` fields to `GitRepository`.
- Add controller support to send the sparse checkout directories to go-git via pkg methods.
- Use `.status/observedSparseCheckout` to detect drift in configuration.
- Trim leading "./" in directory paths.
- Validate spec configuration by checking directories specified in spec exist in the cloned repository after successful checkout
- Add tests for testing the observed sparse checkout behavior.
- Add docs describing the new fields.
Signed-off-by: Dipti Pai <diptipai89@outlook.com>
2025-04-23 09:30:10 -07:00
Stefan Prodan
034bc4962d
Merge pull request #1778 from fluxcd/git-mutual-tls
...
Add Mutual TLS support to `GitRepository`
2025-04-23 08:36:12 +03:00
Stefan Prodan
3214ccd11c
Add Git mTLS config to API docs
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2025-04-22 10:37:23 +03:00
Stefan Prodan
b549fec2e7
Add tests for Git mutual TLS
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2025-04-22 10:28:00 +03:00
Stefan Prodan
c1b32514a3
Update `fluxcd/pkg/git` to v0.26.0
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2025-04-22 10:12:49 +03:00
Stefan Prodan
2a839f8769
Renew testdata TLS certs
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2025-04-22 10:12:10 +03:00
Stefan Prodan
849b4de208
Merge pull request #1775 from fluxcd/helm-v3.17.3
...
Update dependencies to Helm v3.17.3
2025-04-11 12:15:23 +03:00
Stefan Prodan
0338a8e9ab
Update Helm to v3.17.3
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2025-04-09 22:42:28 +03:00
dipti-pai
414b7dbf95
Merge pull request #1754 from dipti-pai/move-github-pkg
...
Rename references to pkg/auth/github to pkg/git/github
2025-03-13 15:01:44 -07:00
Dipti Pai
560dc5bc5f
Rename references to pkg/auth/github to pkg/git/github
...
Signed-off-by: Dipti Pai <diptipai89@outlook.com>
2025-03-13 13:53:18 -07:00
Matheus Pimenta
840bea6d67
Merge pull request #1745 from fluxcd/token-cache
...
Introduce token cache and use it for GitHub App tokens
2025-03-12 21:45:18 +00:00
Matheus Pimenta
9593041b53
Introduce token cache and use it for GitHub App tokens
...
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-03-12 14:45:48 +00:00
Matheus Pimenta
9dedcede9d
Merge pull request #1740 from zhaque44/cache-test-updates
...
chore: update cache_test.go (add cache exp test & cache delete test)
2025-03-03 10:33:06 +00:00
zhaque44
7a89359d27
add cache exp test & cache delete test
...
Signed-off-by: zhaque44 <haque.zubair@gmail.com>
2025-03-01 21:00:39 -06:00
Matheus Pimenta
ba6d000437
Merge pull request #1729 from sneakernuts/main
...
minor updates to links and AAD reference
2025-02-28 19:29:09 +00:00
sneakernuts
1686832fc9
minor updates to links and AAD reference
...
Signed-off-by: sneakernuts <671942+sneakernuts@users.noreply.github.com>
2025-02-28 16:51:14 +00:00
dipti-pai
1cafc8ac0e
Merge pull request #1726 from dipti-pai/add-to-maintainers
...
Add Dipti Pai to maintainers
2025-02-27 09:24:35 -08:00
Dipti Pai
882908f933
Add Dipti Pai to maintainers
...
Signed-off-by: Dipti Pai <diptipai89@outlook.com>
2025-02-27 07:12:20 -08:00
Stefan Prodan
8e9e3a7d54
Merge pull request #1728 from fluxcd/dependabot/go_modules/go-deps-89d2d06eb1
...
build(deps): bump the go-deps group across 1 directory with 3 updates
2025-02-22 09:51:49 +02:00
dependabot[bot]
1939ffd40c
build(deps): bump the go-deps group across 1 directory with 3 updates
...
Bumps the go-deps group with 3 updates in the / directory: [github.com/minio/minio-go/v7](https://github.com/minio/minio-go ), [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) and [github.com/sigstore/sigstore](https://github.com/sigstore/sigstore ).
Updates `github.com/minio/minio-go/v7` from 7.0.86 to 7.0.87
- [Release notes](https://github.com/minio/minio-go/releases )
- [Commits](https://github.com/minio/minio-go/compare/v7.0.86...v7.0.87 )
Updates `github.com/prometheus/client_golang` from 1.20.5 to 1.21.0
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.20.5...v1.21.0 )
Updates `github.com/sigstore/sigstore` from 1.8.14 to 1.8.15
- [Release notes](https://github.com/sigstore/sigstore/releases )
- [Commits](https://github.com/sigstore/sigstore/compare/v1.8.14...v1.8.15 )
---
updated-dependencies:
- dependency-name: github.com/minio/minio-go/v7
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: go-deps
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-deps
- dependency-name: github.com/sigstore/sigstore
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: go-deps
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-21 02:45:16 +00:00
Stefan Prodan
847d55f8de
Merge pull request #1725 from fluxcd/build-no-cgo
...
Build controller without CGO
2025-02-20 11:31:59 +02:00
Stefan Prodan
53fd7a2ecd
Update repo for large repo test
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2025-02-20 10:28:24 +02:00
Stefan Prodan
0543dda4cd
Build controller without CGO
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2025-02-20 10:04:11 +02:00
Hidde Beydals
912feb4d8b
Merge pull request #1722 from fluxcd/dependabot/go_modules/go-deps-91ab6ef4fc
2025-02-17 15:16:04 +08:00
dependabot[bot]
d293d4a0b7
build(deps): bump the go-deps group across 1 directory with 5 updates
...
Bumps the go-deps group with 3 updates in the / directory: [github.com/minio/minio-go/v7](https://github.com/minio/minio-go ), [github.com/sigstore/sigstore](https://github.com/sigstore/sigstore ) and [golang.org/x/oauth2](https://github.com/golang/oauth2 ).
Updates `github.com/minio/minio-go/v7` from 7.0.84 to 7.0.86
- [Release notes](https://github.com/minio/minio-go/releases )
- [Commits](https://github.com/minio/minio-go/compare/v7.0.84...v7.0.86 )
Updates `github.com/sigstore/sigstore` from 1.8.12 to 1.8.14
- [Release notes](https://github.com/sigstore/sigstore/releases )
- [Commits](https://github.com/sigstore/sigstore/compare/v1.8.12...v1.8.14 )
Updates `golang.org/x/crypto` from 0.32.0 to 0.33.0
- [Commits](https://github.com/golang/crypto/compare/v0.32.0...v0.33.0 )
Updates `golang.org/x/oauth2` from 0.25.0 to 0.26.0
- [Commits](https://github.com/golang/oauth2/compare/v0.25.0...v0.26.0 )
Updates `golang.org/x/sync` from 0.10.0 to 0.11.0
- [Commits](https://github.com/golang/sync/compare/v0.10.0...v0.11.0 )
---
updated-dependencies:
- dependency-name: github.com/minio/minio-go/v7
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: go-deps
- dependency-name: github.com/sigstore/sigstore
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: go-deps
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-deps
- dependency-name: golang.org/x/oauth2
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-deps
- dependency-name: golang.org/x/sync
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-deps
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-17 02:28:18 +00:00
Matheus Pimenta
6952276d79
Merge pull request #1720 from fluxcd/update-labels
...
Add 1.5.x release label
2025-02-13 16:07:48 +00:00
Matheus Pimenta
dcd0b862c2
Add 1.5.x release label
...
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-02-13 15:56:51 +00:00
Matheus Pimenta
9998214f61
Merge pull request #1719 from fluxcd/release/v1.5.x
...
Release/v1.5.x
2025-02-13 15:53:44 +00:00
Matheus Pimenta
301fc72714
Merge pull request #1718 from fluxcd/release-v1.5.0
...
Release v1.5.0
2025-02-13 15:29:10 +00:00
Matheus Pimenta
5f4bebaf23
Release v1.5.0
...
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-02-13 14:48:36 +00:00
Matheus Pimenta
428d0c5ab4
Add changelog entry for v1.5.0
...
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-02-13 14:47:24 +00:00
Matheus Pimenta
c5046b839f
Merge pull request #1716 from fluxcd/upgrade-deps
...
Upgrade pkg/runtime
2025-02-11 12:06:00 +00:00
Matheus Pimenta
32e20898eb
Upgrade pkg/runtime
...
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-02-11 11:49:46 +00:00
Stefan Prodan
d71bb70318
Merge pull request #1713 from fluxcd/dependabot/github_actions/ci-65554cb917
...
build(deps): bump the ci group across 1 directory with 11 updates
2025-02-09 17:48:45 +02:00
dependabot[bot]
8b061cfb79
build(deps): bump the ci group across 1 directory with 11 updates
...
Bumps the ci group with 11 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout ) | `4.1.7` | `4.2.2` |
| [actions/setup-go](https://github.com/actions/setup-go ) | `5.0.2` | `5.3.0` |
| [helm/kind-action](https://github.com/helm/kind-action ) | `1.10.0` | `1.12.0` |
| [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) | `3.2.0` | `3.4.0` |
| [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) | `3.6.1` | `3.9.0` |
| [docker/build-push-action](https://github.com/docker/build-push-action ) | `6.7.0` | `6.13.0` |
| [docker/metadata-action](https://github.com/docker/metadata-action ) | `5.5.1` | `5.6.1` |
| [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer ) | `3.6.0` | `3.8.0` |
| [anchore/sbom-action](https://github.com/anchore/sbom-action ) | `0.17.2` | `0.18.0` |
| [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) | `6.0.0` | `6.1.0` |
| [github/codeql-action](https://github.com/github/codeql-action ) | `3.26.4` | `3.28.8` |
Updates `actions/checkout` from 4.1.7 to 4.2.2
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](692973e3d9...11bd71901b
)
Updates `actions/setup-go` from 5.0.2 to 5.3.0
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](0a12ed9d6a...f111f3307d
)
Updates `helm/kind-action` from 1.10.0 to 1.12.0
- [Release notes](https://github.com/helm/kind-action/releases )
- [Commits](0025e74a8c...a1b0e39133
)
Updates `docker/setup-qemu-action` from 3.2.0 to 3.4.0
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](49b3bc8e6b...4574d27a47
)
Updates `docker/setup-buildx-action` from 3.6.1 to 3.9.0
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](988b5a0280...f7ce87c1d6
)
Updates `docker/build-push-action` from 6.7.0 to 6.13.0
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](5cd11c3a4c...ca877d9245
)
Updates `docker/metadata-action` from 5.5.1 to 5.6.1
- [Release notes](https://github.com/docker/metadata-action/releases )
- [Commits](8e5442c4ef...369eb591f4
)
Updates `sigstore/cosign-installer` from 3.6.0 to 3.8.0
- [Release notes](https://github.com/sigstore/cosign-installer/releases )
- [Commits](4959ce089c...c56c2d3e59
)
Updates `anchore/sbom-action` from 0.17.2 to 0.18.0
- [Release notes](https://github.com/anchore/sbom-action/releases )
- [Changelog](https://github.com/anchore/sbom-action/blob/main/RELEASE.md )
- [Commits](61119d458a...f325610c9f
)
Updates `goreleaser/goreleaser-action` from 6.0.0 to 6.1.0
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](286f3b13b1...9ed2f89a66
)
Updates `github/codeql-action` from 3.26.4 to 3.28.8
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](f0f3afee80...dd746615b3
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: ci
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: ci
- dependency-name: helm/kind-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: ci
- dependency-name: docker/setup-qemu-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: ci
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: ci
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: ci
- dependency-name: docker/metadata-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: ci
- dependency-name: sigstore/cosign-installer
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: ci
- dependency-name: anchore/sbom-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: ci
- dependency-name: goreleaser/goreleaser-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: ci
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: ci
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-07 02:16:07 +00:00
Stefan Prodan
70c482b311
Merge pull request #1709 from fluxcd/dependabot/go_modules/go-deps-cde8f11869
...
Update `fluxcd/pkg/oci` to 0.45.0
2025-01-31 15:32:02 +02:00
dependabot[bot]
307edb989e
build(deps): bump github.com/fluxcd/pkg/oci
...
Bumps the go-deps group with 1 update in the / directory: [github.com/fluxcd/pkg/oci](https://github.com/fluxcd/pkg ).
Updates `github.com/fluxcd/pkg/oci` from 0.44.0 to 0.45.0
- [Commits](https://github.com/fluxcd/pkg/compare/oci/v0.44.0...oci/v0.45.0 )
---
updated-dependencies:
- dependency-name: github.com/fluxcd/pkg/oci
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-deps
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-31 13:18:20 +00:00
Stefan Prodan
74f2bc8ff4
Merge pull request #1708 from fluxcd/controller-runtime-v0.20.1
...
Update dependencies
2025-01-31 15:13:10 +02:00
Stefan Prodan
0e363c9f08
Update dependencies
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2025-01-31 15:02:27 +02:00
Stefan Prodan
529eee0ed1
Merge pull request #1705 from fluxcd/upgrade-runtime
...
Upgrade runtime
2025-01-10 15:57:20 +02:00
Matheus Pimenta
615bb912dd
Upgrade runtime
...
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-01-10 13:41:27 +00:00
Stefan Prodan
fe5af75a3a
Merge pull request #1647 from dipti-pai/github-app-auth
...
[RFC-007] Implement GitHub app authentication for git repositories.
2025-01-09 20:20:52 +02:00
Sunny
1ed845928b
gitrepo: Use new reason for provider misconfig
...
Introduce InvalidProviderConfigurationReason for Git provider github
related misconfiguration.
Add github provider related tests to check the status conditions reason.
Rearrange and modify a test case for getAuthOpts() for provider test
where a referred secret doesn't exist. This scenario is not specific to
any provider.
Signed-off-by: Sunny <github@darkowlzz.space>
2024-12-19 21:01:44 +00:00
Dipti Pai
9556a639c6
[RFC-007] Implement GitHub app authentication for git repositories.
...
- API change to add new `github` provider field in `GitRepository` spec.
- Controller change to use the GitHub authentication information specified in `.spec.secretRef` to create the auth options to authenticate to git repositories when the `provider` field is set to `github`,
- Tests for new `github` provider field
- Updated docs to use GitHub Apps for authentication in source-controller.
Signed-off-by: Dipti Pai <diptipai89@outlook.com>
2024-12-19 23:28:10 +05:30
Stefan Prodan
fe7b1fecba
Merge pull request #1693 from fluxcd/k8s-1.32
...
Update dependencies to Kubernetes 1.32.0 and Go 1.23.0
2024-12-12 18:04:42 +02:00
Stefan Prodan
6f8f2e0435
Update dependencies to Kubernetes 1.32.0 and Go 1.23.0
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-12-12 16:36:02 +02:00
Stefan Prodan
b392cdc094
Merge pull request #1686 from hasithsen/main
...
Remove deprecated object metrics
2024-12-11 23:28:10 +02:00
hasithsen
2b320409de
feat: Remove deprecated object metrics from controllers fluxcd/flux2#5083
...
Signed-off-by: hasithsen <sen.hasith@gmail.com>
2024-12-12 00:02:25 +05:30
Stefan Prodan
b5881fb4f6
Merge pull request #1689 from fluxcd/alpine-3.21
...
Update Alpine to 3.21 and xx to 1.6.1
2024-12-11 11:33:41 +02:00
Stefan Prodan
1cfb5d6c00
Update Alpine to 3.21 and xx to 1.6.1
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-12-11 11:18:42 +02:00