Anshuman Singh
0ba28f3f91
Allow option to skip tenant namespace creation
...
Add --skip-namespace flag to the 'create tenant' command to skip automatic
namespace creation when the namespace already exists.
Signed-off-by: Anshuman Singh <anshumanchauhan9@gmail.com >
2025-11-21 17:46:12 +05:30
Daniel Guns
cdc37c304a
Adding export source external
...
Signed-off-by: Daniel Guns <danbguns@gmail.com >
2025-10-24 14:52:36 -03:00
Matheus Pimenta
7c5fb2297c
Fix flux migrate -f not considering kind comments
...
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com >
2025-10-04 14:26:54 +01:00
Matheus Pimenta
83213ce83f
Fix migrate -f command to work with comments
...
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com >
2025-10-03 14:54:41 +01:00
Matheus Pimenta
a9b5be7ff4
Extend flux migrate to work with local files
...
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com >
2025-10-02 15:35:02 +01:00
Matheus Pimenta
b5ecb9bc56
Add --show-history flag to debug kustomization
...
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com >
2025-09-26 10:01:31 +01:00
Stefan Prodan
55bb3fe643
Set Kubernetes 1.32 as min supported version
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2025-09-24 10:39:53 +03:00
lukas8219
48d509d838
Implement flux [reconcile|suspend|resume] image policy commands
...
Signed-off-by: lukas8219 <lucas.c4d@gmail.com >
2025-09-20 00:00:10 -03:00
fluxcdbot
99b51ad525
Update toolkit components
...
- image-automation-controller to v1.0.0
https://github.com/fluxcd/image-automation-controller/blob/v1.0.0/CHANGELOG.md
Signed-off-by: GitHub <noreply@github.com >
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com >
2025-09-16 12:08:15 +01:00
fluxcdbot
b4bc0d4932
Update toolkit components
...
- source-controller to v1.7.0
https://github.com/fluxcd/source-controller/blob/v1.7.0/CHANGELOG.md
Signed-off-by: GitHub <noreply@github.com >
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com >
2025-09-15 17:33:20 +01:00
Matheus Pimenta
e765897df7
Update image-reflector-controller API imports to v1
...
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com >
2025-09-15 13:34:32 +01:00
Parthib Mukherjee
bef6f36755
Add --show-history flag to debug helmrelease
...
Signed-off-by: Parthib Mukherjee <parthibmukherjee@gmail.com >
2025-09-04 12:44:28 +00:00
cappyzawa
8b95a09319
Migrate sourcesecret package to runtime/secrets APIs
...
The sourcesecret package now uses pkg/runtime/secrets factory
functions instead of the previous monolithic approach. This
provides standardized secret generation with consistent
validation and error handling across all authentication types.
Signed-off-by: cappyzawa <cappyzawa@gmail.com >
2025-07-29 22:50:56 +09:00
Matheus Pimenta
b3b404ed30
Upgrade fluxcd/pkg dependencies
...
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com >
2025-07-15 10:32:35 +01:00
Stefan Bickel
00d0e1af25
Add tests and golden files for create tenant
...
Signed-off-by: Stefan Bickel <stefan.bickel@cornelsen.de >
2025-06-13 13:25:26 +02:00
Brock Alberry
06e3047a2f
add sparse checkout to cli
...
Signed-off-by: Brock Alberry <brock.alberry@cse-cst.gc.ca >
2025-06-04 12:04:41 -04:00
Stefan Prodan
79fed691ca
Update CLI to OCIRepository v1 (GA)
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2025-05-28 15:12:17 +03:00
Matheus Pimenta
65766ff4fc
Add --interval and --reflect-digest flags to flux create image policy
...
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com >
2025-05-28 08:25:10 +01:00
Matheus Pimenta
13ec11da58
Fix image-reflector-controller tests after output change
...
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com >
2025-05-27 15:57:45 +01:00
Stefan Prodan
a421ce4266
Set Kubernetes 1.31 as min supported version
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2025-05-23 15:15:13 +03:00
Max Jonas Werner
3e80c5809e
Fix flux trace for HRs from OCIRepositorys
...
Before:
```
$ flux -n default trace pod default-podinfo-585856f49c-4jl4m
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x40 pc=0x10618da70]
goroutine 1 [running]:
main.traceHelm({0x106dd7b28, 0x14000201490}, {0x12f34c0d8, 0x14000783100}, {{0x1400071e130?, 0x1061e7795?}, {0x1400071e109?, 0x1000d9c84?}}, 0x140006a6030)
/home/runner/work/flux2/flux2/cmd/flux/trace.go:404 +0x2f0
main.traceObject({0x106dd7b28, 0x14000201490}, {0x12f34c0d8, 0x14000783100}, 0x140006a6030)
/home/runner/work/flux2/flux2/cmd/flux/trace.go:134 +0x11c
main.traceObjects({0x106dd7b28, 0x14000201490}, {0x12f34c0d8, 0x14000783100}, {0x140006a6040, 0x1, 0x0?})
/home/runner/work/flux2/flux2/cmd/flux/trace.go:112 +0x74
main.traceCmdRun(0x14000592800?, {0x140003aea80, 0x2, 0x4})
/home/runner/work/flux2/flux2/cmd/flux/trace.go:107 +0x180
github.com/spf13/cobra.(*Command).execute(0x108341980, {0x140003aea40, 0x4, 0x4})
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:985 +0x834
github.com/spf13/cobra.(*Command).ExecuteC(0x108329280)
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1117 +0x344
github.com/spf13/cobra.(*Command).Execute(...)
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1041
main.main()
/home/runner/work/flux2/flux2/cmd/flux/main.go:189 +0x78
```
After:
```
$ ~/dev/flux/flux2/bin/flux -n default trace pod default-podinfo-585856f49c-4jl4m
Object: Pod/default-podinfo-585856f49c-4jl4m
Namespace: default
Status: Managed by Flux
---
HelmRelease: podinfo
Namespace: flux-system
Target: default
Revision: 6.8.0+2360bdf32ddc
Status: Last reconciled at 2025-05-14 16:10:37 +0200 CEST
Message: Helm install succeeded for release default/default-podinfo.v1 with chart podinfo@6.8.0+2360bdf32ddc
---
OCIRepository: podinfo
Namespace: flux-system
URL: oci://ghcr.io/stefanprodan/charts/podinfo
Tag: 6.8.0
Revision: 6.8.0@sha256:2360bdf32ddc50c05f8e128118173343b0a012a338daf145b16e0da9c80081a4
Status: Last reconciled at 2025-05-14 16:09:17 +0200 CEST
Message: stored artifact for digest '6.8.0@sha256:2360bdf32ddc50c05f8e128118173343b0a012a338daf145b16e0da9c80081a4'
```
Signed-off-by: Max Jonas Werner <max@coppersoft.com >
2025-05-14 18:02:18 +02:00
Matheus Pimenta
24057743bb
Fix command debug hr not taking targetPath into account
...
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com >
2025-03-03 10:56:16 +00:00
Stefan Prodan
14da7d58be
Update Kubernetes min supported version to 1.30
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2025-02-20 14:54:41 +02:00
Dipti Pai
c15eb30b0d
[RFC-007] Flux cmd support for GitHub provider: This commit includes the following changes -
...
- Add flux create secret githubapp command that accepts and validates the inputs to create a github app secret with options to export the secret yaml or create the secret directly in the Kubernetes cluster
- Add tests for flux create secret githubapp command
- Add flux create source git command that accepts and validates the inputs to create a gitrepository source with for github provider with options to export the source yaml or create the github gitrepository source directly in the Kubernetes cluster.
- Add tests for flux create source git command for github provider.
Signed-off-by: Dipti Pai <diptipai89@outlook.com >
2025-02-13 11:36:24 -08:00
Sjors Holtrop
3478fe343d
fix golden file
...
Signed-off-by: Sjors Holtrop <sjors.holtrop@ritense.com >
2025-01-14 13:53:24 +01:00
Matheus Pimenta
055958d533
Fix create command always using imageRepositoryType
...
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com >
2025-01-12 14:09:24 +00:00
Stefan Prodan
928ea24bcb
Add links to status docs in flux debug commands
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2024-12-18 00:50:02 +02:00
Stefan Prodan
5b740c45d1
Implement flux debug kustomization command
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2024-12-13 12:21:41 +02:00
Stefan Prodan
120ec049f9
Implement flux debug helmrelease command
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2024-12-11 11:41:27 +02:00
Stefan Prodan
a3dbf31e87
Remove TLS deprecated flags from flux create secret
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2024-09-27 19:54:11 +03:00
Stefan Prodan
8470f23ad2
Add flux create secret proxy command
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2024-09-27 19:11:10 +03:00
Stefan Prodan
c7daf6466f
Promote bucket commands to GA
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2024-09-27 17:01:21 +03:00
Dipti Pai
a4ef1f6992
Flux CLI change to add provider field to GitRepository spec.
...
- Add provider flag to `flux create source git` command with supported values: azure, generic.
- Unit tests validating the generated yaml and error conditions.
Signed-off-by: Dipti Pai <diptipai89@outlook.com >
2024-09-26 23:50:12 +05:30
Boris Kreitchman
2d37544b06
Recursively build and diff Kustomizations
...
Signed-off-by: Boris Kreitchman <bkreitch@gmail.com >
2024-09-06 21:24:38 +03:00
Soule BA
5feee5c73d
Add support for creating HR with .spec.ChartRef
...
Signed-off-by: Soule BA <bah.soule@gmail.com >
2024-05-11 22:49:52 +02:00
Stefan Prodan
d8e6199b2a
Set Kubernetes 1.28 as min required version
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2024-05-10 18:52:15 +03:00
Stefan Prodan
d5aedaca7d
Update tests to GA APIs
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2024-05-09 19:05:45 +03:00
Stefan Prodan
8856de1478
Update HelmRelease API to v2
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2024-05-09 17:10:00 +03:00
Stefan Prodan
472396728b
Adapt HelmRelease revision to API v2
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2024-05-09 16:52:23 +03:00
Max Jonas Werner
18d5ec4ecd
Add (create|delete|export) source chart commands
...
The `create source chart` command supports all HelmChart.spec fields
except `.valuesFiles` and `ignoreMissingValuesFiles` as these are
assumingly rarely used fields and the CLI usually only supports
commonly used ones.
closes #4760
Co-authored-by: Stefan Prodan <stefan.prodan@gmail.com >
Signed-off-by: Max Jonas Werner <mail@makk.es >
2024-05-09 11:57:38 +02:00
Sunny
4edc640d0c
Update image-automation-controller API to v1beta2
...
Signed-off-by: Sunny <github@darkowlzz.space >
2024-05-07 08:34:10 +00:00
Stefan Prodan
1aaa48fa09
Update Helm Source APIs to v1 (GA)
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2024-05-06 12:28:34 +03:00
Jason
c49ba9d310
Add command for creating notation configuration secrets
...
Signed-off-by: Jason <jagoodse@microsoft.com >
2024-04-23 22:29:23 +10:00
Max Jonas Werner
1bb92548e4
Add flags for issuer/subject OCI signature verification
...
This change introduces two new flags to `create source oci` for
providing the values to the
`OCIRepository.spec.verify.matchOIDCIdentity.(issuer,subject)` fields.
Signed-off-by: Max Jonas Werner <mail@makk.es >
2024-04-17 09:45:33 +02:00
Stefan Prodan
493c1fbdf9
Add flux envsubst command
...
This command can be used to replicate the behavior of the
Flux Kustomization post-build substitutions.
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2024-04-08 17:54:38 +03:00
Stefan Prodan
c22d8f28f9
Drop support for Kubernetes EOL versions
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2023-12-12 16:09:54 +02:00
Stefan Prodan
b4f5d121c8
Update tests to HelmRelease v2beta2
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2023-12-12 11:40:16 +02:00
Hidde Beydals
eeaffd5c0e
Update HelmRelease golden file with new message
...
Signed-off-by: Hidde Beydals <hidde@hhh.computer >
2023-12-12 09:40:44 +01:00
Sunny
e901e8b6f8
Update all the references of NC v1beta2 to v1beta3
...
Signed-off-by: Sunny <darkowlzz@protonmail.com >
2023-12-08 21:16:54 +05:30
Stefan Prodan
80efd29ec0
Update dependencies
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2023-11-20 15:27:46 +02:00