Hidde Beydals
7bb0704401
Merge pull request #1308 from fluxcd/windows-path-boot-git
...
Use slash target path in Git bootstrap sync opts
2021-04-21 12:08:52 +02:00
Hidde Beydals
3aa45e72e7
Use slash target path in Git bootstrap sync opts
...
As otherwise (comparisons to) cluster configuration will fail due to
Separator differences. Was already fixed for provider implementations.
Signed-off-by: Hidde Beydals <hello@hidde.co >
2021-04-21 11:48:36 +02:00
Hidde Beydals
67691e92e3
Merge pull request #1307 from fluxcd/boot-drop-org-repo-autoinit
...
Drop AutoInit from Org repository create
2021-04-21 11:44:17 +02:00
Hidde Beydals
43388ec67b
Drop AutoInit from Org repository create
...
Pushing the first branch is sufficient to set a default, and the
`README.md` (and/or LICENSE) can better be pushed later on so commit
author and templates be configured.
This was already done for User in an earlier patch release.
Signed-off-by: Hidde Beydals <hello@hidde.co >
2021-04-21 11:24:59 +02:00
Stefan Prodan
2fe3934491
Merge pull request #1280 from kaizentm/main
...
Keep network policy order as defined
2021-04-20 10:13:30 +03:00
Eugene
f60ba95b4c
Keep policy order as defined
...
Signed-off-by: Eugene <eugene.fedor@gmail.com >
2021-04-19 13:21:32 -07:00
Hidde Beydals
4ecf541748
Merge pull request #1291 from jlengelsen/bug-install-script-binary-ownership
...
Fix ownership issue in bash install script
2021-04-19 15:01:25 +02:00
Julian Lengelsen
7994829765
Fix ownership issue in bash install script
...
When using tar with sudo the extracted files will retain the ownership
of the files in the archive. When using the bash install script the flux
binary is owned by user ID 1001 and group docker after installation.
This commit fixes the ownership by appending the -o option to the tar
command which will extract files with the correct ownership, namely user
root and group root.
Signed-off-by: Julian Lengelsen <julian.lengelsen@th-koeln.de >
2021-04-18 13:30:09 +02:00
Hidde Beydals
ce14951436
Merge pull request #1288 from sa-spag/doc
2021-04-16 16:35:30 +02:00
Alexis Gauthiez
a5ce8221a3
Suggest an alternative gradual migration technique
...
Signed-off-by: Alexis Gauthiez <alexis.gauthiez@blablacar.com >
2021-04-16 14:45:50 +02:00
Alexis Gauthiez
e6344ef18e
Fix documentation typo
...
Signed-off-by: Alexis Gauthiez <alexis.gauthiez@blablacar.com >
2021-04-16 14:45:50 +02:00
Stefan Prodan
99e60634ad
Merge pull request #1285 from SomtochiAma/reconcile-diff-ns
...
Ensure kustomization/helmrelease is reconciled when source is in a different namespace
2021-04-16 11:25:03 +03:00
Somtochi Onyekwere
6c656b7366
Fix reconcile with source in a different namespace
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com >
2021-04-16 08:53:30 +01:00
Stefan Prodan
fc3a09b5ad
Merge pull request #1278 from alisondy/create-alert-es-ns
...
Change createAlertCmdRun parsing to include namespace
2021-04-16 08:50:26 +03:00
Alison Dowdney
b1484f2f24
Change createAlertCmdRun parsing to include namespace
...
Signed-off-by: Alison Dowdney <alison@alisondowdney.com >
2021-04-15 22:52:15 +01:00
Hidde Beydals
7dcf884e38
Merge pull request #1262 from fluxcd/reconcile-opt
...
Put potentially destructive reconcile behind flag
v0.12.3
2021-04-13 17:38:35 +02:00
Hidde Beydals
b6d349da8c
Put potentially destructive reconcile behind flag
...
The behavior introduced during the introduction of go-git-providers
was more strict, and has proven pretty quickly to not be useful to
all users. Therefore, the reconciliation behavior for repository
configuration has been put behind an opt-in flag, so that it does
not overwrite people their configs by accident.
Signed-off-by: Hidde Beydals <hello@hidde.co >
2021-04-13 17:19:19 +02:00
Stefan Prodan
40ce3d50c2
Merge pull request #1256 from fluxcd/openapi2jsonschema
...
Publish OpenAPI schemas for Flux CRDs
v0.12.2
2021-04-13 15:17:38 +03:00
Stefan Prodan
68046067c5
Generate OpenAPI schema in CI
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2021-04-13 13:17:36 +03:00
Stefan Prodan
e3b12a8a24
Merge pull request #1253 from fluxcd/btstrp-private-flag
...
Change private flag description
2021-04-13 09:26:29 +03:00
Hidde Beydals
f123b9d3cb
Change private flag description
...
To highlight the fact that it configures the repository as defined,
which was not _really_ clear to some users and has resulted in public
repositories accidentally being changed to private (losing important
goodies like stars and linked forks).
Discussion on this is ongoing and there will likely be other
improvements in the near future to protect users against this.
Signed-off-by: Hidde Beydals <hello@hidde.co >
2021-04-12 13:19:46 +02:00
Hidde Beydals
f4ce89ae26
Merge pull request #1242 from fluxcd/bootstrap-health-tweaks
...
Always report components health in bootstrap
v0.12.1
2021-04-09 16:21:37 +02:00
Hidde Beydals
ea451e7e49
Always report components health in bootstrap
...
This is useful in case the `Kustomization` does not reconcile
successfully because for example the controller(s) are in a crash loop,
which is not visible in the resource itself.
Signed-off-by: Hidde Beydals <hello@hidde.co >
2021-04-09 15:20:04 +02:00
Hidde Beydals
d434575047
Merge pull request #1240 from fluxcd/to-slash-to-rescue
2021-04-09 11:09:37 +02:00
Hidde Beydals
e627634184
Detect suspended Kustomization in bootstrap
...
Signed-off-by: Hidde Beydals <hello@hidde.co >
2021-04-09 10:53:00 +02:00
Hidde Beydals
e0dd12505f
Normalize paths to forward slashes
...
Signed-off-by: Hidde Beydals <hello@hidde.co >
2021-04-09 10:52:59 +02:00
Hidde Beydals
5a67f94380
Merge pull request #1241 from fluxcd/private-key-bug
...
Correctly load private key by not decoding PEM twice
2021-04-09 10:37:30 +02:00
Hidde Beydals
5f9dd7a5a5
Correctly load private key by not decoding PEM 2x
...
Signed-off-by: Hidde Beydals <hello@hidde.co >
2021-04-09 10:05:45 +02:00
Stefan Prodan
bce0da2806
Merge pull request #1226 from fluxcd/bootstrap-git-docs
...
Revamp bootstrap documentation
v0.12.0
2021-04-08 15:23:42 +03:00
Stefan Prodan
a58c40f2d7
Add note about providing a SSH key to bootstrap
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2021-04-08 14:06:42 +03:00
Stefan Prodan
65d5cadf29
Update the alert providers list in notifications guide
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2021-04-08 13:31:21 +03:00
Stefan Prodan
1ea5d4d2e3
Remove sourceignore from SOPS guide
...
No longer needed due to https://github.com/fluxcd/source-controller/pull/329
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2021-04-08 13:31:16 +03:00
Stefan Prodan
719ef3c44c
Add flux CLI container image to docs
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2021-04-08 13:31:16 +03:00
Stefan Prodan
f4adfc3029
Add bootstrap git to install docs
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2021-04-08 13:31:16 +03:00
Stefan Prodan
d8d08091cc
Move Azure DevOps bootstrap to Azure docs
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2021-04-08 13:31:15 +03:00
Stefan Prodan
de4b3ef3dc
Merge pull request #1231 from fluxcd/git-custom-pk
...
Take private key from file into account in Git bootstrap
2021-04-08 13:30:51 +03:00
Hidde Beydals
7bd6aedb73
Take PK from file into account in Git bootstrap
...
Signed-off-by: Hidde Beydals <hello@hidde.co >
2021-04-08 12:06:33 +02:00
Stefan Prodan
fffe40fbd4
Merge pull request #1222 from fluxcd/fix-git-http
...
Fix create source git auth for non-HTTPS repos
2021-04-08 11:11:03 +03:00
Stefan Prodan
74feda73af
Add Warningf to logger interface amd impl
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2021-04-08 10:48:27 +03:00
Stefan Prodan
8b5583930e
Fix create source git auth for non-HTTPS repos
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2021-04-08 10:29:23 +03:00
Hidde Beydals
466fdae70e
Merge pull request #1225 from SomtochiAma/refactor-last-cmd
...
Format go imports in cmd/flux
2021-04-07 18:05:30 +02:00
Somtochi Onyekwere
054a62fb30
Format go imports
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com >
2021-04-07 16:40:16 +01:00
Hidde Beydals
c694b570e0
Merge pull request #1224 from SomtochiAma/refactor-last-cmd
...
Refactor reconcile and resume cmd for alert and receiver
2021-04-07 15:02:22 +02:00
Somtochi Onyekwere
4204ec1d43
Refactor reconcile and resume cmd for alert and receiver
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com >
2021-04-07 13:35:12 +01:00
Stefan Prodan
6d4e37ccb2
Merge pull request #1223 from fluxcd/cii-badge
...
Add CII Best Practices badge
2021-04-07 14:39:05 +03:00
Stefan Prodan
eef06c993e
Add CII Best Practices badge
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2021-04-07 14:13:23 +03:00
Stefan Prodan
58362fbbb9
Merge pull request #1191 from fluxcd/recurse-submodules
...
Add recurse submodules arg to create source git and bootstrap cmd
2021-04-07 13:12:05 +03:00
Stefan Prodan
b872e595ae
Add recurse submodules arg to bootstrap cmd
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2021-04-07 12:56:51 +03:00
Stefan Prodan
18c3f79319
Add recurse submodules arg to create source git cmd
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2021-04-07 12:01:25 +03:00
Stefan Prodan
8f0cd35d7a
Allow self-signed certs when using go-git
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2021-04-07 12:00:48 +03:00