Sanskar Jaiswal
08370cb3a6
clean dir before cloning git repo
...
Remove all files/subdirs from the directory we are cloning into. This is
needed because go-git returns a `repository already exists` error if
the directory is non-empty, which is possible since we retry cloning
(into the same dir) if the first attempt fails.
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com >
2023-04-12 14:29:45 +05:30
Stefan Prodan
2dce1f23b0
Merge pull request #3764 from somtochiama/get-selector
...
Add label selector flag to get cmd
2023-04-11 19:20:27 +03:00
Somtochi Onyekwere
a52f5aaa75
Add label selector flag to get cmd
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com >
2023-04-11 17:00:57 +01:00
Max Jonas Werner
ef5f7bca64
Merge pull request #3778 from fluxcd/dependabot/github_actions/sigstore/cosign-installer-3.0.2
...
build(deps): bump sigstore/cosign-installer from 3.0.1 to 3.0.2
2023-04-11 08:48:22 +02:00
dependabot[bot]
1435c71d9c
build(deps): bump sigstore/cosign-installer from 3.0.1 to 3.0.2
...
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer ) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/sigstore/cosign-installer/releases )
- [Commits](c3667d9942...9e9de2292d )
---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-10 11:36:28 +00:00
Stefan Prodan
0d2517b96d
Merge pull request #3780 from fluxcd/dependabot/github_actions/github/codeql-action-2.2.11
...
build(deps): bump github/codeql-action from 2.2.9 to 2.2.11
2023-04-10 14:35:46 +03:00
dependabot[bot]
48a1c0f5d4
build(deps): bump github/codeql-action from 2.2.9 to 2.2.11
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.2.9 to 2.2.11.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](04df1262e6...d186a2a36c )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-10 07:52:00 +00:00
Stefan Prodan
64fb04b77b
Merge pull request #3779 from fluxcd/dependabot/github_actions/peter-evans/create-pull-request-5.0.0
...
build(deps): bump peter-evans/create-pull-request from 4.2.4 to 5.0.0
2023-04-10 10:51:22 +03:00
dependabot[bot]
2696a93ee0
build(deps): bump peter-evans/create-pull-request from 4.2.4 to 5.0.0
...
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request ) from 4.2.4 to 5.0.0.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases )
- [Commits](38e0b6e68b...5b4a9f6a9e )
---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-10 01:03:48 +00:00
Stefan Prodan
c350e300f9
Merge pull request #3763 from souleb/feat-ignore
...
Add the possibility to ignore files with build and diff Kustomization
v2.0.0-rc.1
2023-04-06 12:46:15 +03:00
Soule BA
b74638c25c
Add the possibility to ignore files with build and diff ks
...
If implemented, user will be able to ignore files when using `build
kustomization` and `diff kustomization` both with .sourceignore and
`ignore-paths` flag.
Signed-off-by: Soule BA <bah.soule@gmail.com >
2023-04-06 11:33:13 +02:00
Stefan Prodan
f00fee5328
Merge pull request #3762 from fluxcd/dependabot/go_modules/github.com/docker/docker-23.0.3incompatible
...
build(deps): bump github.com/docker/docker from 23.0.1 to 23.0.3
2023-04-06 12:01:38 +03:00
dependabot[bot]
c3aa940c2b
build(deps): bump github.com/docker/docker
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 23.0.1+incompatible to 23.0.3+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v23.0.1...v23.0.3 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-06 08:48:02 +00:00
Stefan Prodan
3fc15c42c4
Merge pull request #3758 from fluxcd/release-v2.0.0-rc.1
...
Release Flux v2.0.0-rc.1
2023-04-06 11:47:04 +03:00
Stefan Prodan
f0c498ff54
Add support for .sourceignore to flux build/diff
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2023-04-05 16:33:34 +03:00
Stefan Prodan
cecffc0588
Add commonMetadata to flux build/diff
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2023-04-05 16:09:49 +03:00
Stefan Prodan
9293781702
Update dependencies
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2023-04-05 16:07:34 +03:00
Sanskar Jaiswal
97b064be13
add a preview note for all non-bootstrap commands
...
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com >
2023-04-05 16:05:21 +03:00
Max Jonas Werner
52acac1a37
Add /v2 suffix to module name in preparation of 2.0.0 release
...
Signed-off-by: Max Jonas Werner <mail@makk.es >
2023-04-05 16:05:21 +03:00
Somtochi Onyekwere
a296afdd69
update azure e2e tests
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com >
2023-04-05 16:05:21 +03:00
Somtochi Onyekwere
2e71c718ce
update internal flags
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com >
2023-04-05 16:05:20 +03:00
Somtochi Onyekwere
e44ab85880
update testdata yamls
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com >
2023-04-05 16:05:20 +03:00
Somtochi Onyekwere
24452ecd37
Update GitRepository Receiver, and Kustomization to v1
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com >
2023-04-05 16:05:20 +03:00
Stefan Prodan
ccb7d62d95
ci: Run the e2e tests for the release branches
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2023-04-05 16:05:20 +03:00
fluxcdbot
83d2739dc5
Update toolkit components
...
- helm-controller to v0.32.1
https://github.com/fluxcd/helm-controller/blob/v0.32.1/CHANGELOG.md
- kustomize-controller to v1.0.0-rc.1
https://github.com/fluxcd/kustomize-controller/blob/v1.0.0-rc.1/CHANGELOG.md
- source-controller to v1.0.0-rc.1
https://github.com/fluxcd/source-controller/blob/v1.0.0-rc.1/CHANGELOG.md
- notification-controller to v1.0.0-rc.1
https://github.com/fluxcd/notification-controller/blob/v1.0.0-rc.1/CHANGELOG.md
- image-reflector-controller to v0.27.0
https://github.com/fluxcd/image-reflector-controller/blob/v0.27.0/CHANGELOG.md
- image-automation-controller to v0.32.0
https://github.com/fluxcd/image-automation-controller/blob/v0.32.0/CHANGELOG.md
Signed-off-by: GitHub <noreply@github.com >
2023-04-05 16:05:19 +03:00
Stefan Prodan
c0aa1b99b5
Merge pull request #3756 from fluxcd/dependabot/go_modules/github.com/docker/docker-20.10.24incompatible
...
build(deps): bump github.com/docker/docker from 20.10.20+incompatible to 20.10.24+incompatible
2023-04-05 09:22:57 +03:00
dependabot[bot]
1260db1bcf
build(deps): bump github.com/docker/docker
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 20.10.20+incompatible to 20.10.24+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v20.10.20...v20.10.24 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-04 21:19:03 +00:00
Stefan Prodan
0625bf8185
Merge pull request #3744 from fluxcd/dependabot/github_actions/anchore/sbom-action-0.14.1
...
build(deps): bump anchore/sbom-action from 0.13.4 to 0.14.1
2023-04-03 10:23:45 +03:00
dependabot[bot]
403ea39825
build(deps): bump anchore/sbom-action from 0.13.4 to 0.14.1
...
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action ) from 0.13.4 to 0.14.1.
- [Release notes](https://github.com/anchore/sbom-action/releases )
- [Commits](448520c4f1...422cb34a0f )
---
updated-dependencies:
- dependency-name: anchore/sbom-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-03 07:09:38 +00:00
Stefan Prodan
28e1f6e3c7
Merge pull request #3745 from fluxcd/dependabot/github_actions/github/codeql-action-2.2.9
...
build(deps): bump github/codeql-action from 2.2.8 to 2.2.9
2023-04-03 10:02:56 +03:00
dependabot[bot]
7ee92db427
build(deps): bump github/codeql-action from 2.2.8 to 2.2.9
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.2.8 to 2.2.9.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](67a35a0858...04df1262e6 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-03 01:35:22 +00:00
Hidde Beydals
d4cc45f55e
Merge pull request #3728 from fluxcd/dependabot/github_actions/anchore/sbom-action-0.13.4
2023-03-27 09:06:27 +02:00
dependabot[bot]
8240d19fbd
build(deps): bump anchore/sbom-action from 0.13.3 to 0.13.4
...
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action ) from 0.13.3 to 0.13.4.
- [Release notes](https://github.com/anchore/sbom-action/releases )
- [Commits](07978da4bd...448520c4f1 )
---
updated-dependencies:
- dependency-name: anchore/sbom-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-27 06:37:54 +00:00
Hidde Beydals
a158360d7a
Merge pull request #3729 from fluxcd/dependabot/github_actions/actions/checkout-3.5.0
2023-03-27 08:37:14 +02:00
dependabot[bot]
a30f77f8a4
build(deps): bump actions/checkout from 3.4.0 to 3.5.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](24cb908017...8f4b7f8486 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-27 06:12:24 +00:00
Hidde Beydals
8ec9e9ef4d
Merge pull request #3730 from fluxcd/dependabot/github_actions/github/codeql-action-2.2.8
2023-03-27 08:09:35 +02:00
dependabot[bot]
dbfb4269cb
build(deps): bump github/codeql-action from 2.2.7 to 2.2.8
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.2.7 to 2.2.8.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](168b99b3c2...67a35a0858 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-27 01:27:08 +00:00
Sunny
fad7112dd0
Merge pull request #3643 from Santosh1176/fix-3597
...
Add support for create source git with --commit and --ref-name flags
2023-03-24 18:08:18 +05:30
Santosh Kaluskar
6afef04a88
Add support for create source git with --commit and --ref-name flags
...
Signed-off-by: Santosh Kaluskar <dtshbl@gmail.com >
2023-03-24 16:54:50 +05:30
Hidde Beydals
10f8849e12
Merge pull request #3721 from yiannistri/3593-fix-double-newline
...
fix: Avoid printing an extra newline when exporting resources
2023-03-24 11:07:23 +01:00
Yiannis
b55f49b4fe
fix: Remove any leading and trailing whitespace from resource before
...
exporting
Signed-off-by: Yiannis <yiannistri@users.noreply.github.com >
2023-03-24 09:07:36 +00:00
Max Jonas Werner
883815cd53
Merge pull request #3717 from fluxcd/dependabot/go_modules/google.golang.org/protobuf-1.29.1
...
build(deps): bump google.golang.org/protobuf from 1.29.0 to 1.29.1
2023-03-23 11:50:38 +01:00
dependabot[bot]
c9e73edd86
build(deps): bump google.golang.org/protobuf from 1.29.0 to 1.29.1
...
Bumps [google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go ) from 1.29.0 to 1.29.1.
- [Release notes](https://github.com/protocolbuffers/protobuf-go/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf-go/blob/master/release.bash )
- [Commits](https://github.com/protocolbuffers/protobuf-go/compare/v1.29.0...v1.29.1 )
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-23 10:35:38 +00:00
Max Jonas Werner
2ac2a75c8c
Merge pull request #3654 from timofurrer/gitlab-deploy-token-auth
...
Implement `--deploy-token-auth` in GitLab bootstrapping
2023-03-23 11:34:43 +01:00
Timo Furrer
2e1721ca85
Implement --deploy-token-auth in GitLab bootstrapping
...
This change set implements support for the `--deploy-token-auth` option
in the `flux bootstrap gitlab` command.
That option will reconcile a GitLab Project Deploy Token to use for the
authentication of the GitLab git repository.
A GitLab Project Deploy Token can be used the same way as a Personal
Access Token which is already supported via `--token-auth`.
The difference with the GitLab Project Deploy Token is that the token is
managed (created, updated, deleted) by Flux and not provided by the
user.
This change is transparent to the source-controller.
A prerequisite for this change is the
`fluxcd/go-git-providers` change here:
* https://github.com/fluxcd/go-git-providers/pull/191
See related discussion here: https://github.com/fluxcd/flux2/discussions/3595
GitLab Issue here: https://gitlab.com/gitlab-org/gitlab/-/issues/392605
Signed-off-by: Timo Furrer <tuxtimo@gmail.com >
2023-03-21 14:03:09 +01:00
Timo Furrer
91d1e1df48
Update go-git-providers to v0.15.0
...
Signed-off-by: Timo Furrer <tuxtimo@gmail.com >
2023-03-21 14:03:09 +01:00
Stefan Prodan
2cfdeeb5a2
Merge pull request #3696 from matheuscscp/retry-interval
...
Add retry interval option to create kustomization command
2023-03-21 14:56:20 +02:00
Matheus Pimenta
c9fea671a7
Add retry interval option to create kustomization command
...
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com >
2023-03-21 12:36:07 +00:00
Hidde Beydals
dbda8fbdb8
Merge pull request #3710 from fluxcd/update-test-components
...
tests/azure: update toolkit components
v0.41.2
2023-03-20 18:52:03 +01:00
Hidde Beydals
e2012a8272
tests/azure: update toolkit components
...
- github.com/fluxcd/helm-controller/api to v0.31.2
- github.com/fluxcd/image-reflector-controller/api to v0.26.1
- github.com/fluxcd/kustomize-controller/api to v0.35.1
- github.com/fluxcd/source-controller/api to v0.36.1
Signed-off-by: Hidde Beydals <hidde@hhh.computer >
2023-03-20 18:25:47 +01:00