Commit Graph

943 Commits

Author SHA1 Message Date
Stefan Prodan 5466544f7f
Update source-controller/api to v0.20.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-01-05 17:33:47 +02:00
Stefan Prodan ab9c0e96b9
Merge pull request #523 from gecube/patch-1
Fix typo in API spec docs
2022-01-05 10:42:50 +02:00
George Gaál 2b32f0f7a3 Update kustomization.md
fix typo

Signed-off-by: Gaál George <gb12335@gmail.com>
2021-12-30 15:21:21 +01:00
Stefan Prodan 1e84289623
Merge pull request #522 from pjbgf/audit-followup
Fix inconsistent code-style raised at security audit
2021-12-22 10:35:00 +02:00
Paulo Gomes facda8b422
Check EventRecorder is not nil
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2021-12-21 21:10:43 +00:00
Aurel Canciu ec9fdb1550
Update flux pkg components
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2021-12-20 14:50:41 +01:00
Aurel Canciu 57220f8c70
Update Go to v1.17
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2021-12-16 14:23:15 +01:00
Stefan Prodan 8d61ff76d3
Merge pull request #514 from fluxcd/release-v0.18.2
Release v0.18.2
2021-12-09 18:20:02 +02:00
Stefan Prodan 5b95d1d667
Release v0.18.2
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-12-09 17:40:57 +02:00
Stefan Prodan 37827651da
Merge pull request #513 from souleb/fix-sops-decrypt-defaultserver
sops: ensure proper wiring to default server
2021-12-09 16:51:41 +02:00
Soule BA 3191f497e6
fix encryption using the defaultServer
Signed-off-by: Soule BA <bah.soule@gmail.com>
2021-12-09 15:04:01 +01:00
Stefan Prodan 07d3c9969b
Merge pull request #509 from fluxcd/ssa-v0.4.0
Update dependencies (fix CVE-2021-43784)
2021-12-09 12:04:48 +02:00
Stefan Prodan 24bdda0c1c
Update dependencies
- fluxcd/pkg/ssa v0.6.0
- fluxcd/source-controller/api v0.19.1
- github.com/opencontainers/runc to v1.0.3 (fix CVE-2021-43784)

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-12-09 11:47:50 +02:00
Stefan Prodan 2bb2fb204f
Merge pull request #512 from pjbgf/security-advisories
Update golang.org/x/text to v0.3.7 (fix CVE-2021-38561)
2021-12-09 11:47:28 +02:00
Paulo Gomes 24ab11d820
Bump dependencies to patch security advisories
Advisories fixed:
golang.org/x/text GO-2021-0113

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2021-12-09 09:16:06 +00:00
Stefan Prodan 284b63744d
Merge pull request #501 from SomtochiAma/weird-ssa-behaviour
Document behaviour when changes are made to fields not stored in git
2021-12-02 12:12:20 +02:00
Somtochi Onyekwere 6fa1c8a9dd Add docs for when KC doesn't revert
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2021-12-02 10:41:20 +01:00
Stefan Prodan 1cb35f5b66
Merge pull request #505 from SomtochiAma/docs-apply
Add test for varsub in secret
2021-12-02 11:13:23 +02:00
Somtochi Onyekwere 0d9bd5a554 Add line above yaml block
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2021-11-29 12:02:45 +01:00
Somtochi Onyekwere f6403df16f Add test for varsub in secret
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2021-11-25 12:34:20 +01:00
Stefan Prodan 2fa13ce887
Merge pull request #500 from fluxcd/release-0.18.1
Release v0.18.1
2021-11-23 15:59:19 +02:00
Stefan Prodan 6e2c38ce90
Release v0.18.1
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-11-23 15:42:33 +02:00
Stefan Prodan f878292ec2
Merge pull request #499 from fluxcd/source-controller/api-v0.19.0
Update source-controller/api to v0.19.0
2021-11-23 15:11:54 +02:00
Stefan Prodan 5e9c75b847
Update source-controller/api to v0.19.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-11-23 14:43:21 +02:00
Stefan Prodan 94b0c9ae76
Merge pull request #498 from fluxcd/replace-deprecated
Replace deprecated dependencies
2021-11-23 14:41:26 +02:00
Stefan Prodan 1badc828b4
Replace deprecated dependencies
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-11-23 14:21:21 +02:00
Hidde Beydals 00a92eac96
Merge pull request #497 from fluxcd/update-deps 2021-11-22 13:07:41 +01:00
Hidde Beydals 09d98b0baa Update opencontainers/{image-spec, runc}
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-11-22 12:36:06 +01:00
Stefan Prodan 27be168c0b
Merge pull request #490 from fluxcd/release-0.18.0
Release v0.18.0
2021-11-12 16:53:39 +02:00
Stefan Prodan 5b0734b50f
Release v0.18.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-11-12 16:38:18 +02:00
Stefan Prodan 688ccb5b05
Merge pull request #489 from fluxcd/verify-artifact-checksum
Verify artifacts integrity
2021-11-12 16:10:04 +02:00
Stefan Prodan e9c002cf62
Update source-controller/api to v0.18.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-11-12 15:32:38 +02:00
Stefan Prodan bedb53e0fa
Verify artifacts integrity
After downloading an artifact, compute its checksum and verify that it matches the original checksum advertised by source-controller.

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-11-12 14:03:58 +02:00
Stefan Prodan 989dad2b69
Merge pull request #488 from fluxcd/kustomize-v4.4.1
Update controller to kustomize v4.4.1
2021-11-12 10:34:28 +02:00
Stefan Prodan bbe9d9c36f
Update controller to kustomize v4.4.1
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-11-12 10:15:33 +02:00
Stefan Prodan ac702482b7
Merge pull request #485 from fluxcd/release-v0.17.0
Release v0.17.0
2021-11-09 14:37:28 +02:00
Stefan Prodan 8eac59574f
Release v0.17.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-11-09 14:18:49 +02:00
Stefan Prodan 5b820ec1fe
Merge pull request #484 from fluxcd/ignore-resources
Allow disabling the reconciliation of in-cluster resources
2021-11-09 11:26:31 +02:00
Stefan Prodan 0ce7c1267e
Allow disabling the reconciliation of in-cluster resources
Introduce `kustomize.toolkit.fluxcd.io/reconcile` annotation. When set to `disabled`, the controller will no longer apply changes from source, nor it will prune the annotated resource.

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-11-09 10:50:52 +02:00
Stefan Prodan a38d14fc7b
Merge pull request #483 from fluxcd/warn-about-sops-secrets
Warn when secrets are not decrypted before apply
2021-11-08 16:16:46 +02:00
Stefan Prodan 4958b9c8ce
Warn when secrets are not decrypted before apply
If decryption is not enabled, SOPS encrypted secrets will fail to apply with a validation error that doesn't give any hints. It's better to exit early and throw an error that tells users to enable decryption.

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-11-08 15:58:27 +02:00
Stefan Prodan d9296967d1
Merge pull request #482 from fluxcd/DeletePropagationBackground
Set delete propagation policy to background
2021-11-08 15:19:42 +02:00
Stefan Prodan f2715a74c8
Set delete propagation policy to background
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-11-08 15:02:12 +02:00
Aurel Canciu 6a3e01a307
Merge pull request #481 from fluxcd/error-messages-lowercase
Lowercase first letters for fmt.Errorf messages
2021-11-04 20:10:19 +01:00
Aurel Canciu 4410e8df6d
Lowercase first letters for fmt.Errorf messages
Some of these error messages were likely imported from somewhere else.

Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2021-11-04 19:32:52 +01:00
Stefan Prodan 984d2a47b8
Merge pull request #480 from fluxcd/gopass-replacement
Remove gopass dependency
2021-11-04 15:08:18 +02:00
Aurel Canciu f03d2c9b05
Remove PGP passphrase prompt
We do not support encrypted PGP private keys hence the prompt function
logic can be reduced to signaling an error.

Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2021-11-04 13:14:25 +01:00
Aurel Canciu 6712ece2c7
Update google.golang.org/grpc to v1.42.0
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2021-11-04 12:57:06 +01:00
Aurel Canciu 1bfbd9add2
Update hashicorp/go-retryablehttp to v0.7.0
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2021-11-04 12:56:28 +01:00
Hidde Beydals 0cd63f8a06
Merge pull request #479 from rishabh96b/rm-ioutil 2021-10-30 00:44:43 +02:00