Commit Graph

1568 Commits

Author SHA1 Message Date
Stefan Prodan 5beaf80cfc
Merge pull request #1102 from baburciu/accept-underscore-ocirepo-tag-hr
Replace `_` with `+` when verifying the chart version matches the OCI artifact tag
2024-11-01 18:34:42 +02:00
Bogdan-Adrian Burciu caf49d2459 replace _ with + for OCI artifacts tags when pulled for helm
Signed-off-by: Bogdan-Adrian Burciu <bogdanadrian.burciu@yahoo.com>
2024-11-01 12:40:01 +00:00
Sunny c8ae4b6ad2
Merge pull request #1076 from fluxcd/label-sync
Label sync for release/v1.1.x
2024-09-27 19:47:51 +05:30
Sunny 9d14244a87 Label sync for release/v1.1.x
Signed-off-by: Sunny <github@darkowlzz.space>
2024-09-27 17:49:19 +05:30
Stefan Prodan e632ffdf4d
Merge pull request #1075 from fluxcd/release/v1.1.x
Merge `release/v1.1.x` back to `main`
2024-09-26 23:59:14 +03:00
Sunny 44247e2310
Merge pull request #1074 from fluxcd/release-v1.1.0
Release v1.1.0
2024-09-27 01:22:22 +05:30
Sunny d1a931ae8c Release v1.1.0
Signed-off-by: Sunny <github@darkowlzz.space>
2024-09-27 00:32:56 +05:30
Sunny 037bc864be Add changelog entry for v1.1.0
Signed-off-by: Sunny <github@darkowlzz.space>
2024-09-27 00:32:49 +05:30
Stefan Prodan b0010b0cd5
Merge pull request #1070 from fluxcd/deps-api-reader
Allow cross-shard dependency check
2024-09-26 21:33:41 +03:00
Stefan Prodan 72ec296d18
Allow cross-shard dependency check
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-09-26 21:15:31 +03:00
Stefan Prodan c71258e597
Merge pull request #1073 from fluxcd/update-sc
Update source-controller to v1.4.1
2024-09-26 21:04:11 +03:00
Sunny e3ab7cecbe Update source-controller to v1.4.1
Signed-off-by: Sunny <github@darkowlzz.space>
2024-09-26 17:19:14 +00:00
Stefan Prodan 2e3efaf633
Merge pull request #1072 from fluxcd/dependabot/github_actions/ci-74c3fc3a14
Bump the ci group across 1 directory with 2 updates
2024-09-26 11:04:30 +03:00
dependabot[bot] 2932347391
Bump the ci group across 1 directory with 2 updates
Bumps the ci group with 2 updates in the / directory: [actions/checkout](https://github.com/actions/checkout) and [github/codeql-action](https://github.com/github/codeql-action).


Updates `actions/checkout` from 4.1.7 to 4.2.0
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](692973e3d9...d632683dd7)

Updates `github/codeql-action` from 3.26.4 to 3.26.9
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](f0f3afee80...461ef6c76d)

---
updated-dependencies:
- dependency-name: actions/checkout
  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>
2024-09-26 07:52:33 +00:00
Stefan Prodan 18d2406754
Merge pull request #1071 from fluxcd/deps-update
Update flux deps and k8s deps to 1.31.1
2024-09-26 10:20:14 +03:00
Sunny 5d1381215e Update SC in config/default
Signed-off-by: Sunny <github@darkowlzz.space>
2024-09-25 21:45:54 +00:00
Sunny 701ea28bc9 Update flux deps and k8s deps to 1.31.1
Signed-off-by: Sunny <github@darkowlzz.space>
2024-09-25 21:18:33 +00:00
Stefan Prodan 754c2ba1cb
Merge pull request #1068 from fluxcd/disable-schema-validation
Add `disableSchemaValidation` to Helm install/upgrade actions
2024-09-24 09:32:30 +03:00
Stefan Prodan 54f0b42b34
Add `disableSchemaValidation` to Helm install/upgrade actions
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-09-20 22:28:51 +03:00
Stefan Prodan a7c83f6260
Merge pull request #1024 from cwrau/fix/dont-ignore-helm-errors
fix: remove digest check to never ignore helm errors
2024-09-20 21:17:38 +02:00
Sunny 7fee60ed7f Add docs for handling failed uninstall
Signed-off-by: Sunny <github@darkowlzz.space>
2024-09-18 23:16:29 +00:00
Sunny ad0d38c19a Add tests for uninstall error
Signed-off-by: Sunny <github@darkowlzz.space>
2024-09-18 22:20:51 +00:00
Chris Werner Rau f65b95b75d fix: remove digest check to never ignore helm errors
Closes #1021

Signed-off-by: Chris Werner Rau <cwrau@cwrau.info>
2024-09-19 03:33:41 +05:30
Stefan Prodan 037e21595a
Merge pull request #1064 from fluxcd/controller-gen-v0.16.1
Update controller-gen to v0.16.1
2024-09-13 16:22:58 +03:00
Stefan Prodan b36b123dcb
Add required kind field to tests
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-09-13 13:14:52 +03:00
Stefan Prodan 46f88f471d
Update controller-gen to v0.16.1
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-09-13 13:04:40 +03:00
Stefan Prodan 797461a3dc
Merge pull request #1062 from fluxcd/helm-v3.16.0
Update Helm to v3.16.1 and enable the adoption of existing resources
2024-09-13 13:02:57 +03:00
Stefan Prodan 9f5457d7ea
Update Helm to v3.16.1
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-09-13 12:51:19 +03:00
Stefan Prodan 3c0ef0e030
Enable `TakeOwnership` at install/upgrade
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-09-13 12:51:15 +03:00
Stefan Prodan bbd364f7a0
Update Helm to v3.16.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-09-13 12:51:14 +03:00
Stefan Prodan 94748cab5a
Merge pull request #1060 from Preisschild/feat/targetpath-allow-overwrite
Allow overwriting inline values with targetPath
2024-09-13 10:35:41 +03:00
Florian Ströger c07f10866b Allow overwriting inline values with targetPath
When using Helm with both a values file and --set, the set will always
have precedence over the values.yaml. This allows specifying the normal
config inside a yaml file and specifying a secret outside that yaml via
--set.

When using flux, this normally works too (using inline values to specify
most of the config and a reference with targetPath to get a secret), but
if you want to overwrite a secret key inside an array the inline values
will always overwrite the whole array and the referenced secret key will
not appear at all.

By making sure that when you specify a targetPath it has precedence over
inline values it will be merged properly.

Signed-off-by: Ströger Florian <florian@florianstroeger.com>
2024-09-08 16:12:51 +02:00
Stefan Prodan e05c4ffc4b
Merge pull request #1052 from fluxcd/dependabot/github_actions/ci-4516fd8e81
Bump the ci group across 1 directory with 3 updates
2024-08-22 10:07:33 +03:00
dependabot[bot] c3a8dbcbe9
Bump the ci group across 1 directory with 3 updates
Bumps the ci group with 3 updates in the / directory: [korthout/backport-action](https://github.com/korthout/backport-action), [anchore/sbom-action](https://github.com/anchore/sbom-action) and [github/codeql-action](https://github.com/github/codeql-action).


Updates `korthout/backport-action` from 3.0.2 to 3.1.0
- [Release notes](https://github.com/korthout/backport-action/releases)
- [Commits](bd410d37cd...be567af183)

Updates `anchore/sbom-action` from 0.17.1 to 0.17.2
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](ab9d16d4b4...61119d458a)

Updates `github/codeql-action` from 3.26.2 to 3.26.4
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](429e197704...f0f3afee80)

---
updated-dependencies:
- dependency-name: korthout/backport-action
  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-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>
2024-08-22 03:55:04 +00:00
Stefan Prodan 7177d4a402
Merge pull request #1049 from fluxcd/go-1.23
Build with Go 1.23
2024-08-15 12:31:41 +03:00
Stefan Prodan 73dd4d8172
Build with Go 1.23
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-08-15 12:10:30 +03:00
Stefan Prodan cd5214cff5
Merge pull request #1048 from fluxcd/k8s-1.31
Update dependencies to Kubernetes v1.31.0
2024-08-15 11:29:46 +03:00
Stefan Prodan e53d5c036b
Update dependencies to Kubernetes v1.31.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-08-15 11:15:19 +03:00
Stefan Prodan f681236b84
Merge pull request #1046 from fluxcd/dependabot/github_actions/ci-99774d93c7
Bump the ci group across 1 directory with 9 updates
2024-08-15 09:56:40 +03:00
dependabot[bot] b038750217
Bump the ci group across 1 directory with 9 updates
Bumps the ci group with 9 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout) | `4.1.6` | `4.1.7` |
| [actions/setup-go](https://github.com/actions/setup-go) | `5.0.1` | `5.0.2` |
| [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) | `3.0.0` | `3.2.0` |
| [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) | `3.3.0` | `3.6.1` |
| [docker/build-push-action](https://github.com/docker/build-push-action) | `5.4.0` | `6.7.0` |
| [docker/login-action](https://github.com/docker/login-action) | `3.2.0` | `3.3.0` |
| [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) | `3.5.0` | `3.6.0` |
| [anchore/sbom-action](https://github.com/anchore/sbom-action) | `0.16.0` | `0.17.1` |
| [github/codeql-action](https://github.com/github/codeql-action) | `3.25.8` | `3.26.2` |



Updates `actions/checkout` from 4.1.6 to 4.1.7
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](a5ac7e51b4...692973e3d9)

Updates `actions/setup-go` from 5.0.1 to 5.0.2
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](cdcb360436...0a12ed9d6a)

Updates `docker/setup-qemu-action` from 3.0.0 to 3.2.0
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](68827325e0...49b3bc8e6b)

Updates `docker/setup-buildx-action` from 3.3.0 to 3.6.1
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](d70bba72b1...988b5a0280)

Updates `docker/build-push-action` from 5.4.0 to 6.7.0
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](ca052bb54a...5cd11c3a4c)

Updates `docker/login-action` from 3.2.0 to 3.3.0
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](0d4c9c5ea7...9780b0c442)

Updates `sigstore/cosign-installer` from 3.5.0 to 3.6.0
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](59acb6260d...4959ce089c)

Updates `anchore/sbom-action` from 0.16.0 to 0.17.1
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](e8d2a6937e...ab9d16d4b4)

Updates `github/codeql-action` from 3.25.8 to 3.26.2
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](2e230e8fe0...429e197704)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: ci
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
  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-major
  dependency-group: ci
- dependency-name: docker/login-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: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-15 03:18:03 +00:00
Stefan Prodan 70dadf74f0
Merge pull request #1025 from octo/fix-conditions-usage
Fix incorrect use of format strings with the `conditions` package.
2024-07-12 11:15:13 +03:00
Florian Forster c94eb8ec21
Fix incorrect use of format strings with the `conditions` package.
The `Mark…` functions in the `conditions` package accept a format string and
(optional) arguments, just like `fmt.Printf` and friends.

In many places, the code passed an error message as the format string, causing
it to be interpreted as a format string by the `fmt` package. This leads to
issues when the message contains percent signs, e.g. URL-encoded values.

This PR adds a format string and shortens `err.Error()` to `err`, which yields
the same output.

This change is identical in principle to
fluxcd/source-controller#1529.

Signed-off-by: Florian Forster <fforster@gitlab.com>
2024-07-12 09:46:13 +02:00
souleb 655432b46d
Merge pull request #1010 from fluxcd/fix-1008
Re-enable logging json patch on StatusDrifted
2024-06-19 10:11:55 +02:00
Soule BA a3c4b4da62
Re-enable logging json patch on StatusDrifted
Signed-off-by: Soule BA <bah.soule@gmail.com>
2024-06-19 00:28:05 +02:00
Stefan Prodan ad7e418948
Merge pull request #1004 from fluxcd/dependabot/github_actions/ci-6e6887dbc2
Bump the ci group across 1 directory with 5 updates
2024-06-11 09:50:36 +03:00
Stefan Prodan ffeb21acbe
Adapt config to GoRelease v2
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-06-11 09:41:08 +03:00
dependabot[bot] c8c450a02f
Bump the ci group across 1 directory with 5 updates
Bumps the ci group with 5 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [korthout/backport-action](https://github.com/korthout/backport-action) | `2.5.0` | `3.0.2` |
| [docker/build-push-action](https://github.com/docker/build-push-action) | `5.3.0` | `5.4.0` |
| [docker/login-action](https://github.com/docker/login-action) | `3.1.0` | `3.2.0` |
| [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) | `5.1.0` | `6.0.0` |
| [github/codeql-action](https://github.com/github/codeql-action) | `3.25.6` | `3.25.8` |



Updates `korthout/backport-action` from 2.5.0 to 3.0.2
- [Release notes](https://github.com/korthout/backport-action/releases)
- [Commits](ef20d86abc...bd410d37cd)

Updates `docker/build-push-action` from 5.3.0 to 5.4.0
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](2cdde995de...ca052bb54a)

Updates `docker/login-action` from 3.1.0 to 3.2.0
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](e92390c5fb...0d4c9c5ea7)

Updates `goreleaser/goreleaser-action` from 5.1.0 to 6.0.0
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](5742e2a039...286f3b13b1)

Updates `github/codeql-action` from 3.25.6 to 3.25.8
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](9fdb3e4972...2e230e8fe0)

---
updated-dependencies:
- dependency-name: korthout/backport-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  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/login-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-major
  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>
2024-06-11 03:58:19 +00:00
Max Jonas Werner ce58e47242
Merge pull request #990 from fluxcd/rev-vers 2024-05-27 07:58:26 +01:00
Max Jonas Werner 98ecb33ef4 Ignore 'v' version prefix in OCI artifact and Helm chart
Tools such as Bitnami's charts-syncer strip the `v` prefix from the
chart version so that the OCI artifact version differs from the
version defined in the chart's metadata. This leads to an error
similar to this returned from h-c:

```
artifact revision 1.14.5 does not match chart version v1.14.5
```

This commit makes h-c ignore a leading `v` prefix in either the chart
version of the OCI artifact tag.

Signed-off-by: Max Jonas Werner <max.werner@associmates.eu>
2024-05-26 19:47:50 +01:00
Stefan Prodan bd7e561811
Merge pull request #986 from sestegra/crd-default-values
doc: fix HelmRelease default value for `.spec.upgrade.crds`
2024-05-25 15:21:48 +03:00