Sunny
5b152f583d
Remove old/incorrect API version usage
...
- Update README.md to point to v1beta3 spec docs.
- Remove provider testdata which had old API version and is no longer
used in any test.
- Update Provider v1beta2 spec docs to use Alert v1beta2.
- Update Provider v1beta3 spec docs to use v1beta3 API in all the
code snippets.
Signed-off-by: Sunny <darkowlzz@protonmail.com>
2023-12-19 18:25:16 +05:30
Hidde Beydals
0b48a065e3
Merge pull request #696 from fluxcd/dependabot/github_actions/ci-c99cc58ab6
...
build(deps): bump the ci group with 3 updates
2023-12-19 10:11:58 +01:00
dependabot[bot]
a88f97eb44
build(deps): bump the ci group with 3 updates
...
Bumps the ci group with 3 updates: [korthout/backport-action](https://github.com/korthout/backport-action ), [docker/metadata-action](https://github.com/docker/metadata-action ) and [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer ).
Updates `korthout/backport-action` from 2.2.0 to 2.3.0
- [Release notes](https://github.com/korthout/backport-action/releases )
- [Commits](b982d297e3...addffea45a )
Updates `docker/metadata-action` from 5.3.0 to 5.4.0
- [Release notes](https://github.com/docker/metadata-action/releases )
- [Commits](31cebacef4...9dc751fe24 )
Updates `sigstore/cosign-installer` from 3.2.0 to 3.3.0
- [Release notes](https://github.com/sigstore/cosign-installer/releases )
- [Commits](1fc5bd396d...9614fae9e5 )
---
updated-dependencies:
- dependency-name: korthout/backport-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
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-19 09:02:07 +00:00
Hidde Beydals
0bb0c6041c
Merge pull request #694 from fluxcd/dependabot/go_modules/golang.org/x/crypto-0.17.0
...
build(deps): bump golang.org/x/crypto from 0.16.0 to 0.17.0
2023-12-19 09:58:47 +01:00
dependabot[bot]
6ae9bb6fa7
build(deps): bump golang.org/x/crypto from 0.16.0 to 0.17.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.16.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-19 00:06:31 +00:00
Sunny
f9933507d0
Merge pull request #689 from fluxcd/pick-changelog-v1.2.3
...
Pick changelog v1.2.3
2023-12-14 19:59:49 +05:30
Sunny
20423eb80a
Add changelog entry for v1.2.3
...
Signed-off-by: Sunny <darkowlzz@protonmail.com>
(cherry picked from commit 3289dbd35d )
2023-12-14 18:09:08 +05:30
Sunny
a817cf91c1
Merge pull request #686 from fluxcd/exclude-token
...
Exclude eventv1.MetaTokenKey from event metadata
2023-12-14 14:20:30 +05:30
Sunny
68c38244cc
Exclude eventv1.MetaTokenKey from event metadata
...
eventv1.MetaTokenKey is required to be considered in rate limiting but
it is only for internal use by flux components and should not be sent to
the alert provider. Remove eventv1.MetaTokenKey from the metadata of
event before processing the event for various matching alerts.
Signed-off-by: Sunny <darkowlzz@protonmail.com>
2023-12-13 23:13:38 +05:30
Sunny
7834608f77
Merge pull request #683 from fluxcd/v1beta3-provider-interval
...
Add .spec.interval in v1beta3 Provider
2023-12-13 15:28:25 +05:30
Sunny
7f5eea0a2e
Add .spec.interval in v1beta3 Provider
...
For backwards compatibility with v1beta2 Provider, add .spec.interval
with deprecation marker.
Interval was an optional field in v1beta2 with internal default. Only
the users who had explicitly set intervals would have encountered this
incompatibility error after upgrade.
Signed-off-by: Sunny <darkowlzz@protonmail.com>
2023-12-13 15:06:10 +05:30
Stefan Prodan
73e1965419
Merge pull request #682 from matheuscscp/fix-address-validation
...
Remove URL syntax validation for provider address entirely
2023-12-13 11:35:18 +02:00
Matheus Pimenta
143a0b3ee0
Remove URL syntax validation for provider address entirely
...
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2023-12-12 19:01:31 +00:00
Hidde Beydals
e48be82c89
Merge pull request #679 from fluxcd/pick-changelog-v1.2.2
2023-12-11 15:47:22 +01:00
Hidde Beydals
2a8ab214c9
Add changelog entry for v1.2.2
...
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
(cherry picked from commit 9066a87e56 )
2023-12-11 15:39:57 +01:00
Stefan Prodan
ef5c602fb1
Merge pull request #676 from fluxcd/runtime-v0.43.2
...
Update dependencies
2023-12-11 14:42:52 +01:00
Stefan Prodan
74bd37a992
Update dependencies
...
- github.com/fluxcd/pkg/runtime v0.43.2
- github.com/fluxcd/cli-utils v0.36.0-flux.2
- github.com/xanzy/go-gitlab v0.95.1
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2023-12-11 15:28:02 +02:00
Hidde Beydals
52da6c48ca
Merge pull request #672 from fluxcd/dependabot/github_actions/ci-4167a8d32d
...
build(deps): bump the ci group with 1 update
2023-12-11 09:32:15 +01:00
dependabot[bot]
879f9576e2
build(deps): bump the ci group with 1 update
...
Bumps the ci group with 1 update: [actions/setup-go](https://github.com/actions/setup-go ).
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](93397bea11...0c52d547c9 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: ci
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 08:21:39 +00:00
Hidde Beydals
6ffb5f3f70
Merge pull request #673 from fluxcd/alpine-319
...
build: update Alpine to 3.19
2023-12-11 09:19:50 +01:00
Hidde Beydals
40ba471d6b
build: update Alpine to 3.19
...
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-12-11 09:04:49 +01:00
Hidde Beydals
791d34ef46
Merge pull request #671 from fluxcd/pick-changelog-v1.2.1
...
Add changelog entry for v1.2.1
2023-12-08 13:08:34 +01:00
Hidde Beydals
57c32c15be
Add changelog entry for v1.2.1
...
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
(cherry picked from commit d5572c1e2f )
2023-12-08 12:03:27 +01:00
Hidde Beydals
9492ef1b96
Merge pull request #668 from fluxcd/update-deps
...
Update dependencies
2023-12-08 09:30:16 +01:00
Hidde Beydals
b007f42139
Update dependencies
...
- github.com/ktrysmt/go-bitbucket to v0.9.73
- google.golang.org/api to v0.153.0
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-12-08 09:11:10 +01:00
Hidde Beydals
9f90225f04
Merge pull request #664 from hectorj2f/replace_go_module
...
Replace whilp/git-urls module by chainguard-dev/git-urls
2023-12-06 09:43:47 +01:00
Hector Fernandez
39a3853c5c
replace whilp/git-urls module by chainguard-dev/git-urls
...
Signed-off-by: Hector Fernandez <hector@chainguard.dev>
2023-12-06 09:38:59 +01:00
Hidde Beydals
cd51b02fdd
Merge pull request #663 from fluxcd/backport-release-v1.2.x-label
...
Add `backport:release/v1.2.x` label
2023-12-06 09:37:25 +01:00
Sunny
c857eb65b3
Add backport:release/v1.2.x label
...
Signed-off-by: Sunny <darkowlzz@protonmail.com>
2023-12-06 09:22:16 +01:00
Hidde Beydals
46d54b024d
Merge pull request #665 from fluxcd/go-1.21
...
Update Go to 1.21.x
2023-12-06 09:20:18 +01:00
Hidde Beydals
c8d287e9c3
Update `tonistiigi/xx` to 1.3.0
...
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-12-06 09:02:25 +01:00
Hidde Beydals
f045217d70
Update Go to 1.21.x
...
As appears to be magically required by
`github.com/slok/go-http-metrics`.
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-12-06 09:02:25 +01:00
Hidde Beydals
5acc9a12a8
Merge pull request #662 from fluxcd/release-v1.2.x
...
Merge release/v1.2.x changes to main
2023-12-05 21:08:28 +01:00
Sunny
f4f6cdc73b
Release v1.2.0
...
Signed-off-by: Sunny <darkowlzz@protonmail.com>
2023-12-06 00:49:03 +05:30
Sunny
42870e46ce
Add changelog entry for v1.2.0
...
Signed-off-by: Sunny <darkowlzz@protonmail.com>
2023-12-06 00:49:03 +05:30
Stefan Prodan
fe333842be
Merge pull request #659 from fluxcd/dependabot/github_actions/ci-3e3005af3f
...
build(deps): bump the ci group with 3 updates
2023-12-05 16:29:55 +02:00
dependabot[bot]
29fb291738
build(deps): bump the ci group with 3 updates
...
Bumps the ci group with 3 updates: [korthout/backport-action](https://github.com/korthout/backport-action ), [docker/metadata-action](https://github.com/docker/metadata-action ) and [anchore/sbom-action](https://github.com/anchore/sbom-action ).
Updates `korthout/backport-action` from 2.1.1 to 2.2.0
- [Release notes](https://github.com/korthout/backport-action/releases )
- [Commits](08bafb375e...b982d297e3 )
Updates `docker/metadata-action` from 5.0.0 to 5.3.0
- [Release notes](https://github.com/docker/metadata-action/releases )
- [Commits](96383f4557...31cebacef4 )
Updates `anchore/sbom-action` from 0.15.0 to 0.15.1
- [Release notes](https://github.com/anchore/sbom-action/releases )
- [Commits](fd74a6fb98...5ecf649a41 )
---
updated-dependencies:
- dependency-name: korthout/backport-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: anchore/sbom-action
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: ci
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-05 13:48:13 +00:00
Sunny
5500739269
Merge pull request #657 from fluxcd/deps-update-v1.2.0
...
Update go dependencies
2023-12-05 17:36:07 +05:30
Sunny
998cec97b8
Update go dependencies
...
Signed-off-by: Sunny <darkowlzz@protonmail.com>
2023-12-05 17:09:44 +05:30
Stefan Prodan
832757c139
Merge pull request #656 from fluxcd/dependabot/go_modules/github.com/nats-io/nkeys-0.4.6
...
build(deps): bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6
2023-12-04 11:21:45 +02:00
dependabot[bot]
b732427a7a
build(deps): bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6
...
Bumps [github.com/nats-io/nkeys](https://github.com/nats-io/nkeys ) from 0.4.5 to 0.4.6.
- [Release notes](https://github.com/nats-io/nkeys/releases )
- [Changelog](https://github.com/nats-io/nkeys/blob/main/.goreleaser.yml )
- [Commits](https://github.com/nats-io/nkeys/compare/v0.4.5...v0.4.6 )
---
updated-dependencies:
- dependency-name: github.com/nats-io/nkeys
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 09:06:44 +00:00
Stefan Prodan
bf58d33bd0
Merge pull request #651 from SkullKidCode/nats-provider
...
Add Provider for NATS Subject
2023-12-04 11:05:51 +02:00
SkullKidCode
3c05438d62
Update docs/spec/v1beta3/providers.md
...
Co-authored-by: Stefan Prodan <stefan.prodan@gmail.com>
Signed-off-by: SkullKidCode <SkullKidCode@users.noreply.github.com>
2023-12-01 13:50:35 +00:00
Toby Watson
427d20046e
Add NATS provider to v1beta3
...
Signed-off-by: Toby Watson <SkullKidCode@users.noreply.github.com>
2023-11-30 23:19:21 +00:00
Max Jonas Werner
6e1ccfe653
Merge pull request #654 from fluxcd/cap-address
...
Cap provider address at 2048 bytes
2023-11-28 14:59:24 +01:00
Max Jonas Werner
52d8945284
Cap provider address at 2048 bytes
...
The provider address is already capped at 2048 bytes in the CRD and
this commit adds the same upper limit when reading the address from a
Secret.
Signed-off-by: Max Jonas Werner <mail@makk.es>
2023-11-28 12:31:20 +01:00
Sunny
78f5509fe7
Merge pull request #540 from fluxcd/refactor-events
...
Refactor events and introduce v1beta3 API for Alert and Provider
2023-11-28 16:38:07 +05:30
Sunny
6df2c74b2a
event_handler: Use proper ctx for post fail log
...
Use the context containing proper information about the event for
logging. Previously, the logged error didn't contain any information
about the event, alert or the involved object.
Signed-off-by: Sunny <darkowlzz@protonmail.com>
2023-11-28 16:17:03 +05:30
Sunny
9a5debde32
Deprecate v1beta1 & v1beta2 Alert & Provider APIs
...
Signed-off-by: Sunny <darkowlzz@protonmail.com>
2023-11-28 16:17:03 +05:30
Sunny
b2e533af67
Add v1beta3 spec docs
...
Signed-off-by: Sunny <darkowlzz@protonmail.com>
2023-11-28 16:17:03 +05:30