Commit Graph

73 Commits

Author SHA1 Message Date
Stefan Prodan 38541078fa
Revoke kubectl managed fields ownership
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-01-31 11:25:11 +02:00
Soule BA f1327dca09
Add Permissions to github Workflows
Improve GITHUB_TOKEN permissions in the workflows.

Signed-off-by: Soule BA <bah.soule@gmail.com>
2022-01-20 16:35:43 +01:00
Stefan Prodan be87d12e59
Publish SBOM and sign release artifacts
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-01-20 15:04:08 +02:00
Soule BA c579e71430
add native support for sops decryption/encryption with Vault
If implemented, the kustomize controller will be able to retrieve a
secret containing a VAULT TOKEN and use it to decrypt the sops encrypted
master key. It will then use it to decrypt the data key and finally use the data
key to decrypt the final data.

Signed-off-by: Soule BA <bah.soule@gmail.com>
2022-01-19 21:59:10 +01:00
Paulo Gomes 50c043eb4f
Refactor fuzzing
Structure the fuzz implementation to be closer to what go native will support.
Add Makefile target to enable smoketesting fuzzers.
Add smoketest as CI workflow.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-01-14 15:38:24 +00: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
Sunny 0a38c12817 workflows/e2e: Use buildkit local cache
Signed-off-by: Sunny <darkowlzz@protonmail.com>
2021-10-13 19:54:05 +05:30
Sunny 8d89ab20be Update github actions to work with new builds
e2e:
- Enable buildx.
- Build only for linux/amd64 and export the built image.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
2021-10-13 03:39:44 +05:30
Stefan Prodan 6346591f02
Use ssa package from fluxcd/pkg
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-10-01 10:21:15 +03:00
Stefan Prodan 9c533e4a52
Run SSA resource manager tests in CI
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-09-30 18:35:40 +03:00
Stefan Prodan 8baead9b2e
Add e2e test for CRDs+CRs reconciliation using cert-manager
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-09-30 18:35:39 +03:00
Stefan Prodan 3cb1ce8029
Run tests with envtest installed in testbin
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-09-10 15:08:31 +03:00
Max Jonas Werner d7690d8564
feat: set default observedGeneration to -1 on Kustomizations
This is a follow-up to
https://github.com/fluxcd/helm-controller/pull/294, porting the same
code to the kustomize-controller so that all Flux 2 controllers work
the same way in this regard.

Signed-off-by: Max Jonas Werner <mail@makk.es>
2021-08-27 17:15:24 +02:00
Stefan Prodan 5b2711f943
Update Alpine and kubectl
Update Alpine to v3.14
Update kubectl to v1.21.2

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-07-05 14:09:33 +03:00
Stefan Prodan 4f4106bfa1
Update kubectl to v1.21.1
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-06-30 11:38:54 +03:00
Stefan Prodan f99a04658a
e2e: Update Kubernetes to v1.21.1
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-06-29 17:08:54 +03:00
Stefan Prodan 4621ef30aa
Fix CI: Override kubebuilder kubectl
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-06-28 13:40:32 +03:00
Stefan Prodan f6e0a23623
Use github.repository for nightly builds
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-06-09 14:06:13 +03:00
Stefan Prodan 58bba7c19a
Add nightly builds workflow
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-06-08 20:17:58 +03:00
Stefan Prodan 8dd53f60fc
Update Go to v1.16
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-05-26 16:45:53 +03:00
Stefan Prodan 598c34eff4
Publish on-demand RC container images
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-05-11 10:57:55 +03:00
Stefan Prodan 9125f335e0
Update dependencies
- kubectl v1.21.0
- go.mozilla.org/sops/v3 v3.7.1

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-04-14 12:53:58 +03:00
Hidde Beydals fa6565b806 Move GC test to Go test suite
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-04-08 10:18:02 +02:00
Hidde Beydals 5a8d5026f6 Move Kustomize patch tests to Go test suite
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-04-06 11:18:11 +02:00
Hidde Beydals 21996ec82a Test SOPS decryption in Go tests and remove e2e
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-04-01 13:02:43 +02:00
Stefan Prodan 5ce0db3a75
Add CodeQL scanning to CI
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-03-15 16:30:13 +02:00
Stefan Prodan f375697690
Release v0.9.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-02-24 12:27:41 +02:00
Stefan Prodan 8a98b0ff68
Refactor release workflow
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-02-23 16:04:56 +02:00
Stefan Prodan a1ab63e8f8
Update kubectl to v1.20.4
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-02-23 11:54:31 +02:00
Aurel Canciu 729dc9770e
Support recreating objects on immutable field updates
Allow passing --force to kubectl apply. Useful when dealing with
immutable field changes in resources.

Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2021-02-22 16:59:01 +02:00
Hidde Beydals 6e2ac22901 Test Strategic Merge and JSON 6902 patches
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-03 22:40:17 +01:00
Hidde Beydals 74ee869133 Publish as single multi-arch Docker image
This commit bundles the `kustomize-controller:$VER-arm64` ARM image tag
range that was previously released separately with the
`kustomize-controller:$VER` image, as GitHub now provides us insights
into image layer statistics.

Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-01-11 12:57:25 +01:00
Stefan Prodan 5a0e5abd9a
Setup impersonation for GC and health checks
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-04 11:51:04 +02:00
Somtochi Onyekwere ddc4eb631e Adds e2e tests for image override
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2020-12-10 14:59:20 +01:00
Stefan Prodan c150d15251
Add impersonation e2e test
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-11-20 11:22:28 +02:00
Stefan Prodan b0917e332e
Update engineerd/setup-kind to v0.5.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-11-12 11:57:58 +02:00
Stefan Prodan fafe8539c7
Update fossa and add rebase action
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-16 12:39:29 +03:00
Hidde Beydals 9be9ca924c
Merge pull request #134 from fluxcd/build/fluxcd-pkg-main
Use GitHub actions from fluxcd/pkg@main
2020-10-06 09:56:19 +02:00
Hidde Beydals b93ca7558d Use GitHub actions from fluxcd/pkg@main
As `master` was replaced with `main`.
2020-10-06 09:39:00 +02:00
stefanprodan d15726935a Set default branch to main 2020-10-05 15:41:20 +03:00
stefanprodan 50104826ae Promote API to v1beta1 2020-09-30 19:10:27 +03:00
stefanprodan b1785349c7 Publish ARM v7/v8 multi-arch image to GHCR 2020-09-21 09:47:15 +03:00
stefanprodan 920522d628 ci: Add sanity check for container images 2020-09-17 20:12:40 +03:00
Ihor Dvoretskyi 26f87422e5 FOSSA scan enabled
Signed-off-by: Ihor Dvoretskyi <ihor@linux.com>
2020-09-16 16:06:10 +00:00
stefanprodan 04c6802995 ci: Update build-push-action to v2 2020-09-05 10:58:16 +03:00
stefanprodan f777dd8f0d Add opencontainers source label 2020-09-02 18:56:34 +03:00
stefanprodan 02857c24f9 Publish amd64/arm64 images to GHCR 2020-09-02 17:06:49 +03:00
stefanprodan 2f33ba0ae6 Add secrets decryption section to docs 2020-09-01 18:41:57 +03:00
stefanprodan e2743c72f2 Add SOPS decryption e2e tests 2020-09-01 15:51:41 +03:00
Michael Bridgen 14be04818f Remove local actions and use those from pkg 2020-07-24 12:16:12 +01:00