Max Jonas Werner
c3769016ab
Merge pull request #1224 from fluxcd/backport-1223-to-release/v1.1.x
...
[release/v1.1.x] build(deps): bump the ci group with 3 updates
2023-09-04 10:10:39 +02:00
dependabot[bot]
c00270be05
build(deps): bump the ci group with 3 updates
...
Bumps the ci group with 3 updates: [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ), [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer ) and [github/codeql-action](https://github.com/github/codeql-action ).
Updates `docker/setup-buildx-action` from 2.9.1 to 2.10.0
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](4c0219f9ac...885d1462b8
)
Updates `sigstore/cosign-installer` from 3.1.1 to 3.1.2
- [Release notes](https://github.com/sigstore/cosign-installer/releases )
- [Commits](6e04d228eb...11086d2504
)
Updates `github/codeql-action` from 2.21.4 to 2.21.5
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](a09933a12a...00e563ead9
)
---
updated-dependencies:
- dependency-name: docker/setup-buildx-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-patch
dependency-group: ci
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: ci
...
Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 17bc07da49
)
2023-09-04 07:44:10 +00:00
Stefan Prodan
0720925a5a
Merge pull request #1222 from fluxcd/backport-1211-to-release/v1.1.x
...
[release/v1.1.x] bucket: Use auto lookup type
2023-08-31 14:59:30 +03:00
Zhiyu Wang
ef9dbd17b8
Chore: use auto bucket lookup type
...
Signed-off-by: Zhiyu Wang <zhiyuwang.newbis@gmail.com>
(cherry picked from commit 1ab089e19e
)
2023-08-31 11:05:57 +00:00
Stefan Prodan
5d68b5d417
Merge pull request #1216 from fluxcd/backport-1215-to-release/v1.1.x
...
[release/v1.1.x] docs: Add missing pem-encoding reference
2023-08-28 20:55:36 +03:00
Stéphane Este-Gracias
8ac043db14
docs: Add missing pem-encoding reference
...
Signed-off-by: Stéphane Este-Gracias <sestegra@gmail.com>
(cherry picked from commit 0124126f6b
)
2023-08-28 16:57:34 +00:00
Stefan Prodan
577a091da2
Merge pull request #1213 from fluxcd/backport-1212-to-release/v1.1.x
...
[release/v1.1.x] build(deps): bump the ci group with 2 updates
2023-08-28 12:29:57 +03:00
dependabot[bot]
8d19469b79
build(deps): bump the ci group with 2 updates
...
Bumps the ci group with 2 updates: [actions/checkout](https://github.com/actions/checkout ) and [slsa-framework/slsa-github-generator](https://github.com/slsa-framework/slsa-github-generator ).
Updates `actions/checkout` from 3.5.3 to 3.6.0
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](c85c95e3d7...f43a0e5ff2
)
Updates `slsa-framework/slsa-github-generator` from 1.8.0 to 1.9.0
- [Release notes](https://github.com/slsa-framework/slsa-github-generator/releases )
- [Changelog](https://github.com/slsa-framework/slsa-github-generator/blob/main/CHANGELOG.md )
- [Commits](https://github.com/slsa-framework/slsa-github-generator/compare/v1.8.0...v1.9.0 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: ci
- dependency-name: slsa-framework/slsa-github-generator
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: ci
...
Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 6093a29c9d
)
2023-08-28 08:35:46 +00:00
Sanskar Jaiswal
0e47f7fa1a
Merge pull request #1209 from fluxcd/release-v1.1.0
...
Release v1.1.0
2023-08-23 16:18:18 +05:30
Sanskar Jaiswal
e5a429a529
Release v1.1.0
...
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2023-08-23 15:59:00 +05:30
Sanskar Jaiswal
39676032d6
Add changelog entry for v1.1.0
...
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2023-08-23 15:58:58 +05:30
Stefan Prodan
052221c3d8
Merge pull request #1204 from somtochiama/doc-links
...
Fix link ref in API docs
2023-08-23 12:40:25 +03:00
Somtochi Onyekwere
47ff472d9e
fix link
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2023-08-23 10:31:35 +01:00
Stefan Prodan
b3036f58b2
Merge pull request #1203 from somtochiama/fix-helm-path
...
Preserve url encoded path in normalized helm repository URL
2023-08-23 12:12:48 +03:00
Somtochi Onyekwere
64139e7ec1
preserve url encoded path in helm repo
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2023-08-23 10:01:27 +01:00
Sanskar Jaiswal
a302c71c57
Merge pull request #1194 from fluxcd/tls-secret
...
Adopt Kubernetes style TLS Secrets
2023-08-22 18:35:18 +05:30
Sanskar Jaiswal
2a7f67de48
gitrepo: add support for specifying CA data via `ca.crt`
...
Check the auth secret for the `ca.crt` key for CA certificate data.
`ca.crt` takes precdence over `caFile`.
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2023-08-22 18:23:05 +05:30
Sanskar Jaiswal
6fe3c96311
ocirepo: adopt Kubernetes style TLS secrets for .spec.certSecretRef
...
Adopt Kubernetes TLS secrets API to check for TLS data in the Secret
referred to by `.spec.certSecretRef`, i.e. check for keys `tls.crt` and
`tls.key` for the certificate and private key. Use `ca.crt` for the CA
certificate.
Deprecate the usage of `caFile`, `certFile` and `keyFile` keys.
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2023-08-22 18:23:05 +05:30
Sanskar Jaiswal
4bd6bcc9e9
helmrepo: adopt Kubernetes TLS secrets for `.spec.certSecretRef`
...
Adopt Kubernetes TLS secrets API to check for TLS data in the Secret
referred to by `.spec.certSecretRef`, i.e. check for keys `tls.crt` and
`tls.key` for the certificate and private key. Use `ca.crt` for the CA
certificate.
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2023-08-22 18:23:04 +05:30
Stefan Prodan
de31a124f7
Merge pull request #1200 from kingdonb/fix-bad-links
...
Fix links in API docs
2023-08-22 14:43:00 +03:00
Kingdon Barrett
79eedb3ebf
Fix links in API docs
...
Signed-off-by: Kingdon Barrett <kingdon@weave.works>
2023-08-22 07:28:47 -04:00
Stefan Prodan
36eb804999
Merge pull request #1202 from fluxcd/oci-0.31.0
...
Update dependencies
2023-08-22 14:15:03 +03:00
Stefan Prodan
fb1f72e772
Update dependencies
...
Update `github.com/fluxcd/pkg/oci` to v0.31.o which comes with support for Azure China and US Gov regions when pulling OCI artifacts.
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2023-08-22 13:58:27 +03:00
Sanskar Jaiswal
38f6724703
Merge pull request #1187 from fluxcd/tag-verification
...
gitrepo: add support for Git tag verification
2023-08-22 13:28:18 +05:30
Sanskar Jaiswal
51d842c708
gitrepo: add docs for tag verification
...
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2023-08-22 13:00:18 +05:30
Sanskar Jaiswal
035d514af3
gitrepo: add tests for verifying tag signatures
...
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2023-08-22 13:00:18 +05:30
Sanskar Jaiswal
59898cd86b
gitrepo: add support for verifying tags
...
Add support for verifying tags and optionally the commit object it
points to. Modify the reconciler to trigger a full reconciliation if the
object contains a verification configuration that implies that we need
to verify one (or more) Git objects that we haven't previosuly verified.
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2023-08-22 13:00:15 +05:30
Sanskar Jaiswal
6002ef51a6
gitrepo: add HEAD, Tag, TagAndHEAD as verification modes
...
Add three new verification modes for `.spec.verify.mode`:
* `HEAD`: Verify the commit that the HEAD of the repo points to after
checking out to the ref specified in `.spec.ref`. Its the same as
`head`, which cannot be removed due to backwards compatibility
reasons and is converted to `HEAD` internally.
* `Tag`: Verify the tag referred to by `.spec.ref.tag`.
* `TagAndHEAD`: Verify the tag referred to by `.spec.ref.tag` and the
commit that the tag points to.
The default is `HEAD`, to ensure backwards compatibility.
Furthermore, add `.status.sourceVerificationMode` to record the last
successful verification mode used.
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2023-08-21 21:33:15 +05:30
Max Jonas Werner
e84295795b
Merge pull request #1201 from fluxcd/dependabot/github_actions/ci-71339bc865
...
build(deps): bump the ci group with 2 updates
2023-08-21 11:09:37 +02:00
dependabot[bot]
6f5836f0f2
build(deps): bump the ci group with 2 updates
...
Bumps the ci group with 2 updates: [korthout/backport-action](https://github.com/korthout/backport-action ) and [github/codeql-action](https://github.com/github/codeql-action ).
Updates `korthout/backport-action` from 1.3.1 to 1.4.0
- [Release notes](https://github.com/korthout/backport-action/releases )
- [Commits](bf5fdd624b...bd68141f07
)
Updates `github/codeql-action` from 2.21.3 to 2.21.4
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](5b6282e01c...a09933a12a
)
---
updated-dependencies:
- dependency-name: korthout/backport-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-patch
dependency-group: ci
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-21 02:13:30 +00:00
Stefan Prodan
aa370f284d
Merge pull request #1167 from somtochiama/azure-docs
...
Update docs on Azure identity
2023-08-15 14:50:08 +03:00
Somtochi Onyekwere
fb2c74de23
update docs on azure
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2023-08-15 12:29:22 +01:00
Sunny
36ca723ad7
Merge pull request #1183 from fluxcd/stale-helm-cache-metrics
...
Delete stale metrics on object delete
2023-08-15 03:09:21 +05:30
Sunny
e7d7681b1b
Delete stale metrics on object delete
...
Move record suspend metrics next to readiness and duration metrics so
that it gets recorded along with others always at the end and the
metrics delete, which requires the knowledge of deleted finalizers,
applies to suspend too.
HelmRepository cache event metrics for a given helmrepo also continues
to be exported even after the object is deleted. This change deletes
the cache event metrics when the object is deleted.
Signed-off-by: Sunny <darkowlzz@protonmail.com>
2023-08-15 02:35:35 +05:30
Max Jonas Werner
3b80a87f9f
Merge pull request #1197 from fluxcd/dependabot/github_actions/ci-d093c87be1
...
build(deps): bump the ci group with 3 updates
2023-08-14 09:03:17 +02:00
dependabot[bot]
00d1c864ad
build(deps): bump the ci group with 3 updates
...
Bumps the ci group with 3 updates: [actions/setup-go](https://github.com/actions/setup-go ), [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) and [github/codeql-action](https://github.com/github/codeql-action ).
Updates `actions/setup-go` from 4.0.1 to 4.1.0
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](fac708d667...93397bea11
)
Updates `goreleaser/goreleaser-action` from 4.3.0 to 4.4.0
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](336e29918d...3fa32b8bb5
)
Updates `github/codeql-action` from 2.21.2 to 2.21.3
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](0ba4244466...5b6282e01c
)
---
updated-dependencies:
- dependency-name: actions/setup-go
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-patch
dependency-group: ci
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 02:39:13 +00:00
Hidde Beydals
fabd5d91a5
Merge pull request #1196 from fluxcd/update-deps
...
Update dependencies
2023-08-11 13:30:30 +02:00
Hidde Beydals
371f896a63
Update dependencies
...
- github.com/distribution/distribution/v3 to v3.0.0-20230808081639-69fe1690134c
- github.com/sigstore/sigstore to v1.7.2
- google.golang.org/api to v0.136.0
- helm.sh/helm/v3 to v3.12.3
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-08-11 13:12:18 +02:00
Hidde Beydals
2ae4602886
api: update controller-runtime to v0.15.1
...
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-08-11 13:12:11 +02:00
Hidde Beydals
d218731233
Merge pull request #1192 from somtochiama/disable-system-git-config
...
Disable system-wide git config in tests
2023-08-08 09:49:46 +02:00
Somtochi Onyekwere
809314a93e
Disable system-wide git config in test
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2023-08-07 17:49:04 +02:00
Hidde Beydals
0295776b84
Merge pull request #1193 from fluxcd/enable-codeql-quality
...
ci: enable security-and-quality CodeQL query
2023-08-07 17:48:40 +02:00
Hidde Beydals
cc8c7deb36
ci: enable security-and-quality CodeQL query
...
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-08-07 17:26:53 +02:00
Hidde Beydals
727d62b51a
Merge pull request #1184 from fluxcd/jitter
...
controller: jitter requeue interval
2023-08-07 16:58:04 +02:00
Hidde Beydals
c65980ec63
spec: add note about jitter in interval sections
...
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-08-07 16:23:27 +02:00
Hidde Beydals
e391c2fb88
api: document jitter effect on interval fields
...
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-08-07 16:23:27 +02:00
Hidde Beydals
6f3eb22613
controller: jitter requeue interval
...
This adds a `--interval-jitter-percentage` flag to the controller to
add a +/- percentage jitter to the interval defined in resources
(defaults to 10%).
Effectively, this results in a reconcilation every 4.5 - 5.5 minutes
for a resource with an interval of 5 minutes.
Main reason to add this change is to mitigate spikes in memory and
CPU usage caused by many resources being configured with the same
interval.
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-08-07 16:23:26 +02:00
Hidde Beydals
63f40601a3
Merge pull request #1178 from somtochiama/helm-index-json
...
Store Helm indexes in JSON format
2023-08-07 16:22:21 +02:00
Somtochi Onyekwere
1aa9cf2219
archive helm index in JSON format
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2023-08-07 16:10:03 +02:00
Stefan Prodan
6fa8d055c4
Merge pull request #1097 from souleb/custom-cert-oci
...
Helm OCI: Add support for TLS registries with self-signed certs
2023-08-07 17:09:01 +03:00