Commit Graph

581 Commits

Author SHA1 Message Date
Sunny be94e47ea0
Release v0.22.3
Signed-off-by: Sunny <darkowlzz@protonmail.com>
2022-03-16 01:51:10 +05:30
Hidde Beydals deffad2b3d
Merge pull request #342 from kingdonb/fsgroup-setting 2022-03-15 17:18:00 +01:00
Kingdon Barrett 206c2fe58e add fsgroup for securityContext
Signed-off-by: Kingdon Barrett <kingdon@weave.works>
2022-03-15 17:03:44 +01:00
Stefan Prodan 961b107355
Merge pull request #337 from fluxcd/printcolumn-reorder
api: Move Status in CRD printcolumn to the end
2022-02-25 15:21:50 +02:00
Stefan Prodan d2821cc693
Merge pull request #338 from pjbgf/patch-250222
Update dependencies
2022-02-25 15:20:04 +02:00
Paulo Gomes 8956a3322e
Update github.com/gin-gonic/gin to v1.7.7 (CVE fix)
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-02-25 09:11:05 +00:00
Paulo Gomes 612dd4519f
Update nhooyr.io/websocket to v1.8.7 (CVE fix)
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-02-25 09:09:58 +00:00
Sunny 16c1d7e042
api: Move Status in CRD printcolumn to the end
Status content could be very long compare to other fields. Moving it to
the end helps improve the visibility of other fields.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
2022-02-24 02:12:36 +05:30
Stefan Prodan 1b581a4885
Merge pull request #336 from fluxcd/release-v0.22.2
Release v0.22.2
2022-02-23 15:25:14 +02:00
Stefan Prodan d1531714c8
Release v0.22.2
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-02-23 15:10:19 +02:00
Stefan Prodan 28f8ff3fc4
Merge pull request #335 from fluxcd/release-v0.22.1
Release v0.21.1
2022-02-22 13:26:01 +02:00
Stefan Prodan d79dcf217e
Release v0.21.1
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-02-22 13:14:46 +02:00
Stefan Prodan 348a8153ee
Merge pull request #334 from fsequeira1/add-basic-auth-to-grafana-provider
Add basic auth support to grafana provider
2022-02-22 11:00:15 +02:00
Filipe Sequeira c9040611e5 Add basic auth support to grafana provider
Signed-off-by: Filipe Sequeira <filipe@weave.works>
2022-02-21 12:37:38 +00:00
Stefan Prodan 6513bef083
Merge pull request #331 from fsequeira1/add-proxy-to-secretref
Allow the proxy address to specified in the Kubernetes Secret from Alert `spec.secretRef`
2022-02-21 11:23:47 +02:00
Filipe Sequeira 95cf1a699d add Proxy to SecretRef
Signed-off-by: Filipe Sequeira <filipe@weave.works>
Co-authored-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-02-18 11:41:01 +00:00
Stefan Prodan b4c7f4af1d
Merge pull request #333 from pjbgf/patch-180222
Update dependencies
2022-02-18 12:36:47 +02:00
Paulo Gomes 1d8567e2f3
Update github.com/prometheus/client_golang to v1.11.1 (CVE fix)
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-02-18 08:44:41 +00:00
Stefan Prodan e7f5ec7437
Merge pull request #330 from fluxcd/gitlab-status
Switch to controller-runtime metadata client
2022-02-17 13:03:47 +02:00
Somtochi Onyekwere 626eb00825 check that reconcile annotation is applied correctly
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2022-02-17 11:49:59 +01:00
Somtochi Onyekwere ae5fbba16b Use PartialMetadata for annotating objects
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2022-02-17 11:02:20 +01:00
Stefan Prodan 5a0c492dc7
Merge pull request #326 from fluxcd/release-v0.22.0
Release v0.22.0
2022-02-16 14:13:22 +02:00
Somtochi Onyekwere 305cd2f65c Release v0.22.0
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2022-02-16 13:01:43 +01:00
Somtochi Onyekwere 100e928546 Use metdataclient for getting labels for events
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2022-02-16 12:58:52 +01:00
Stefan Prodan bcd3551dea
Merge pull request #325 from fluxcd/label-selector
Add LabelSelectors for Event Sources
2022-02-10 15:54:51 +02:00
Somtochi Onyekwere 519b6a5c5c Add LabelSelectors for Event Sources
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2022-02-10 11:09:39 +01:00
Stefan Prodan bf33786e21
Merge pull request #324 from vchrisb/discord_properties
discord: Remove username and channel requirements
2022-02-09 10:47:42 +02:00
Stefan Prodan 0715feca2a
Merge pull request #322 from fsequeira1/add-grafana
Add support for Grafana annotations API
2022-02-09 10:41:42 +02:00
Filipe Sequeira 659c01f70e Add support for Grafana annotations API
Signed-off-by: Filipe Sequeira <filipe@weave.works>
Co-authored-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-02-08 11:10:14 +00:00
Christopher Banck 67c58d6ccb remove unused errors import
Signed-off-by: Christopher Banck <christopher@banck.net>
2022-02-08 11:53:49 +01:00
Christopher Banck f365f3796e update discord properties
* username optional
* channel optional and remove it from payload

Signed-off-by: Christopher Banck <christopher@banck.net>
2022-02-08 10:52:21 +01:00
Stefan Prodan 171b5eb216
Merge pull request #321 from moshloop/patch-1
docs: update alert provider types
2022-02-04 14:27:47 +02:00
Moshe Immerman 5163d18aac docs: update alert provider types
Signed-off-by: Moshe Immerman <moshe@flanksource.com>
2022-02-02 16:17:13 +02:00
Stefan Prodan 402e029c65
Merge pull request #320 from fluxcd/release-v0.21.0
Release v0.21.0
2022-01-28 14:41:18 +02:00
Stefan Prodan 3162e0b299
Release v0.21.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-01-28 11:20:11 +02:00
Stefan Prodan ecd5df6eac
Merge pull request #319 from fluxcd/no-cross-namespace-refs
Allow disabling cross-namespace event sources
2022-01-28 10:54:27 +02:00
Stefan Prodan 44c08a2659
Allow disabling cross-namespace event sources
Introduce the flag `--no-cross-namespace-refs` (defaults to false) for allowing cluster admins to disable cross-namespace event sources for alerts.

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-01-28 10:30:31 +02:00
Stefan Prodan 33a0df0a73
Merge pull request #317 from fluxcd/generic-headers
Pass headers to generic provider through secretRef
2022-01-26 16:23:38 +02:00
Somtochi Onyekwere 1b0afc2c88 pass pointer to yaml.Unmarshal
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2022-01-26 14:59:32 +01:00
Moritz Schmitz von Hülst 3c7363234a Pass headers to generic provider through secretRef
Co-authored-by: Moritz Schmitz von H<C3><BC>lst <moritz@hauptstadtoffice.com>
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2022-01-26 12:39:02 +01:00
Stefan Prodan 71f6c62fa5
Merge pull request #318 from Nold360/main
Fix(Provider/Matrix): Load CA from CertSecretRef
2022-01-26 12:59:21 +02:00
nold 3b86de61a0 Fix(Provider/Matrix): CertSecretRef
Signed-off-by: nold <nold@gnu.one>
2022-01-26 11:25:19 +01:00
Stefan Prodan ea37642f1c
Merge pull request #314 from fluxcd/sbom-cosign
Publish SBOM and sign release artifacts
2022-01-26 09:21:20 +02:00
Stefan Prodan 33f45cc413
Merge pull request #315 from mvoitko/fix/missing-port-protocol-in-manager-config
Fix the missing protocol for the first port in manager config
2022-01-25 10:37:57 +02:00
Maksym V eb08ce3b9b Fix the missing protocol for the first port in manager config
Signed-off-by: Maksym V <maksym.v@pm.bet>
Signed-off-by: Maksym Voitko <max.voitko@gmail.com>
2022-01-25 01:00:43 +02:00
Stefan Prodan d82666efaf
Publish SBOM and sign release artifacts
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-01-21 17:11:42 +02:00
Stefan Prodan 4016fbf5a5
Merge pull request #313 from aryan9600/aryan9600/security-context
drop capabilities, enable seccomp and enforce runAsNonRoot
2022-01-20 08:52:11 +02:00
Sanskar Jaiswal 65e72c142a drop capabilities, enable seccomp and enforce runAsNonRoot
Further restricts the SecurityContext that the controller runs under, by enabling the default seccomp profile and dropping all linux capabilities.
This was set at container-level to ensure backwards compatibility with use cases in which sidecars are injected into the source-controller pod
without setting less restrictive settings.
Add a uid and gid for the container to enforce runAsNonRoot and ensure
the use of non root users.

BREAKING CHANGES:
1) The use of new seccomp API requires Kubernetes 1.19.
2) the controller container is now executed under 65534:65534 (userid:groupid).
   This change may break deployments that hard-coded the user name 'controller' in their PodSecurityPolicy.

Signed-off-by: Sanskar Jaiswal <sanskar.jaiswal@weave.works>
Co-authored-by: Paulo Gomes <paulo.gomes@weave.works>
2022-01-20 06:36:44 +00:00
Hidde Beydals d49181a7c4
Merge pull request #310 from pjbgf/fuzz-ci 2022-01-14 17:24:06 +01:00
Paulo Gomes 3972c921ca
Replace cifuzz with custom smoke test
The official git actions goes through all fluxcd repos, which in
time will be extremely long and painful to run on each PR.
This smoke test will ensure the fuzzer correctness until a new
action is in place to run the process as advised by oss-fuzz.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-01-13 16:27:56 +00:00