Stefan Prodan
08412b72bc
Run the CLI as non-root
...
Run the Flux CLI inside the container under the nobody user and group.
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2022-01-26 09:51:50 +02:00
Stefan Prodan
030e166f43
Merge pull request #2336 from souleb/upgrade-go-git-provider
...
Upgrade go-git-providers to v0.5.3
2022-01-25 12:14:50 +02:00
Soule BA
d92dfc56b8
Upgrade go-git-providers to v0.5.3
...
Fixes bug reported on #2332
Signed-off-by: Soule BA <soule@weave.works >
2022-01-25 10:28:14 +01:00
Stefan Prodan
365d2d102d
Merge pull request #2316 from pjbgf/warn-pod-security
...
[security] Enable pod security warnings for flux-system
2022-01-21 13:53:11 +02:00
Paulo Gomes
f7853c4ddf
Enable pod security warnings for flux-system
...
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works >
2022-01-21 11:23:56 +00:00
Hidde Beydals
0a6d5d9267
Merge pull request #2317 from souleb/update-diff-license-header
2022-01-20 17:42:51 +01:00
Soule BA
10b761e4e7
Add license Header to internal/build files
...
This adds an up to date license header to the files.
Signed-off-by: Soule BA <soule@weave.works >
2022-01-20 16:58:12 +01:00
Stefan Prodan
c6f2b410bc
Merge pull request #2167 from souleb/flux-build-kustomization
...
Preview local changes with flux build/diff kustomization
2022-01-20 14:50:02 +02:00
Soule BA
306f8f5715
Add graceful shutdown when interrupted
...
If implemented this permit restoring a clean state in case of signal
interruption.
Signed-off-by: Soule BA <soule@weave.works >
2022-01-20 13:21:07 +01:00
Soule BA
f7d9ee90cd
Add e2e tests for build/diff kustomization
...
Signed-off-by: Soule BA <soule@weave.works >
2022-01-20 11:51:57 +01:00
Soule BA
9376c9a946
Add a diff kustomization feature
...
If implemented it will permit queriying the Kubernetes API to fetch the specified
Flux Kustomization, then uses the specified path to build the overlay.
It will then ssa-dry-run apply and output the diff using homeport/dyff
Signed-off-by: Soule BA <soule@weave.works >
2022-01-20 11:51:56 +01:00
Soule BA
70fb87bc93
Add a build kustomization feature
...
If implemented it will permit queriying the Kubernetes API to fetch the specified
Flux Kustomization, then uses the specified path to build
the overlay.
Signed-off-by: Soule BA <soule@weave.works >
2022-01-20 11:51:56 +01:00
Stefan Prodan
63e54f3575
Merge pull request #2297 from SomtochiAma/commit-sha
...
Shorten Git SHA commit in `flux get` commands output
2022-01-20 12:36:18 +02:00
Somtochi Onyekwere
1e2a497108
Shorten sha commit
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com >
2022-01-20 11:13:25 +01:00
Stefan Prodan
5d95a6e750
Merge pull request #2305 from fluxcd/kubectl-1.23.1
...
Update kubectl to 1.23.1 in flux-cli container image
v0.25.3
2022-01-18 19:01:09 +02:00
Stefan Prodan
af00610a61
Update kubectl to 1.23.1 in flux-cli container image
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2022-01-18 18:34:16 +02:00
Stefan Prodan
809cb79828
Merge pull request #2304 from fluxcd/fix-release-notes-gen
...
ci: Fix release notes generator
2022-01-18 18:33:23 +02:00
Stefan Prodan
e44a58cba0
ci: Fix release notes generator
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2022-01-18 18:13:59 +02:00
Stefan Prodan
10046187a6
Merge pull request #2301 from fluxcd/cosign
...
Sign the release artifacts checksums and images
2022-01-18 14:56:47 +02:00
Stefan Prodan
a402461f9c
Sign the release artifacts checksums and images
...
- add the Flux manifests and API schemas to checksums
- sign the checksum.txt with Cosign and GitHub OIDC
- sign the flux-cli container images with Cosign and GitHub OIDC
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2022-01-18 14:31:37 +02:00
Stefan Prodan
8a6771c9a9
Merge pull request #2300 from fluxcd/ci-fixes
...
Fix Azure e2e tests and GoReleaser buildx directive
2022-01-17 11:03:05 +02:00
Stefan Prodan
7173bd5945
Fix GoReleaser buildx directive
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2022-01-17 10:37:31 +02:00
Stefan Prodan
8e09ade41c
Fix Azure e2e tests
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2022-01-17 10:36:03 +02:00
Stefan Prodan
6ceb8d8338
Merge pull request #2295 from fluxcd/sbom-spdx
...
Publish Flux Software Bill of Materials (SBOM)
2022-01-17 10:33:02 +02:00
Stefan Prodan
11296cd94f
Publish Flux Software Bill of Materials (SBOM) in SPDX format
...
- generate SBOM for Flux Go modules with Syft
- publish the SBOM SPDX JSON files to GitHub releases with GoReleaser
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2022-01-14 16:36:49 +02:00
Aurel Canciu
677dca0bc4
Merge pull request #2296 from fluxcd/fix-pkgbuild-envtest
...
Fix Archlinux PKGBUILD check() run on ARM
2022-01-14 13:55:26 +01:00
Aurel Canciu
8e7b957164
Fix Archlinux PKGBUILD check() run on ARM
...
The check() run started to fail after #2288 since ENVTEST_ARCH was not
set correctly on ARM/ARM64. This should fix the problem for the flux-go
and flux-scm AUR packages.
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com >
2022-01-14 13:20:19 +01:00
Stefan Prodan
8f93e2a9d4
Merge pull request #2294 from fluxcd/ci-del-repo
...
Improve the bootstrap e2e test workflow
2022-01-14 11:48:22 +02:00
Stefan Prodan
62755b4b75
Wait 60s for image automation before failing the test
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2022-01-14 10:30:36 +02:00
Stefan Prodan
dcfb745b1f
Improve the bootstrap e2e cleanup
...
Delete the repository regardless of the bootstrap test exit code.
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2022-01-13 20:44:02 +02:00
Stefan Prodan
f38b83231c
Merge pull request #2291 from fluxcd/update-components
...
Update kustomize-controller to v0.19.1
v0.25.2
2022-01-13 20:33:47 +02:00
fluxcdbot
269f5e2575
Update toolkit components
...
- kustomize-controller to v0.19.1
https://github.com/fluxcd/kustomize-controller/blob/v0.19.1/CHANGELOG.md
Signed-off-by: GitHub <noreply@github.com >
2022-01-13 18:17:27 +00:00
Stefan Prodan
893596383a
Merge pull request #2290 from fluxcd/ssa-v0.10.0
...
Update dependencies
2022-01-13 19:56:47 +02:00
Stefan Prodan
8c67708829
Update dependencies
...
- sigs.k8s.io/cli-utils v0.27.0
- github.com/fluxcd/pkg/ssa v0.10.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2022-01-13 19:37:14 +02:00
Stefan Prodan
c1528503b6
Merge pull request #2141 from schrej/feature/trace-simpler-arguments
...
Simplify arguments of flux trace command
2022-01-13 19:36:56 +02:00
Jakob Schrettenbrunner
d3c56eb3d3
trace: fix lint warning
...
Signed-off-by: Jakob Schrettenbrunner <jakob.schrettenbrunner@telekom.de >
2022-01-13 15:52:47 +01:00
Jakob Schrettenbrunner
b10eee87ee
Simplify arguments of flux trace command
...
It now accepts arguments in the forms <resource>/<name>
and <resource> <name> instead of requiring api version and
kind as flags.
Signed-off-by: Jakob Schrettenbrunner <jakob.schrettenbrunner@telekom.de >
2022-01-13 15:52:47 +01:00
Hidde Beydals
83de469967
Merge pull request #2267 from tomalexander/add_git_build_dep
2022-01-13 15:22:23 +01:00
Tom Alexander
192978125f
build/aur: fix the make target for the manifests
...
Signed-off-by: Tom Alexander <tom@fizz.buzz >
2022-01-13 14:58:46 +01:00
Tom Alexander
b4b3551e39
build/aur: add Git as flux-scm build dependency
...
Without git installed, makepkg fails to fetch the source. This breaks
the build for people who build their aur packages inside temporary
containers (for example aurutils with the -c flag).
Signed-off-by: Tom Alexander <tom@fizz.buzz >
2022-01-13 14:58:33 +01:00
Stefan Prodan
7f580e89d0
Merge pull request #2288 from aryan9600/aryan9600/setup-testenv
...
Fix makefile envtest setup and usage
2022-01-13 13:10:17 +02:00
Sanskar Jaiswal
81a087095a
fix makefile envtest setup and usage
...
Refactor logic to install helper tools into one function in the
Makefile. Add support for envtest to help install tools like kubectl,
etcd which helps users run tests more conveniently.
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com >
2022-01-13 16:09:11 +05:30
Hidde Beydals
bcabde3bdb
Merge pull request #2231 from achetronic/fix-bootstrap-https-port-overwrite
2022-01-13 11:02:22 +01:00
Alby Hernández
c190d80d4a
Avoid overwriting the host port on http requests
...
Remove the overwrite of the repositoryURL.Host variable to include Git
servers deployed on non-standard https ports
Co-authored-by: Sebastián Vargas <develolux@gmail.com >
Signed-off-by: Alby Hernández <me@achetronic.com >
Signed-off-by: Alby Hernández <alby.hernandez@system73.com >
2022-01-13 10:32:10 +01:00
Stefan Prodan
11081e8cb2
Merge pull request #2285 from souleb/issue-2284
...
Update go-git-provider to fix GitLab bootstrap regression bug
v0.25.1
2022-01-12 18:19:23 +02:00
Soule BA
c5890f08ef
reverting go-git-provider to fix #2284
...
Signed-off-by: Soule BA <soule@weave.works >
2022-01-12 16:51:35 +01:00
Stefan Prodan
926d8a1c37
Merge pull request #2234 from souleb/issue-2207
...
Use provided SSH hostname to sync with SSH
v0.25.0
2022-01-12 13:18:52 +02:00
Soule BA
da6dfd5a1b
Use provided ssh hostname to sync with ssh
...
Signed-off-by: Soule BA <soule@weave.works >
2022-01-12 11:52:17 +01:00
Stefan Prodan
4318152141
Merge pull request #2281 from Skarlso/add_bindir_to_action
...
Add optional bindir input to Flux GitHub Action
2022-01-12 12:03:04 +02:00
Gergely Brautigam
759145704f
Update the action to include an optional bindir
...
Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com >
2022-01-12 10:38:19 +01:00