Max Jonas Werner
31771f3575
fix: improve wording
...
Signed-off-by: Max Jonas Werner <mail@makk.es>
3 years ago
Max Jonas Werner
ffcd7d8059
feat: prompt for access tokens in 'bootstrap' command
...
This change adds functionality to both, `bootstrap github` and
`bootstrap gitlab` to prompt the user for the personal access tokens
if those can't be derived from the shell environment. Echoing is
turned off for better privacy.
Instead of having to interactively type the token or manually paste it
from the clipboard, users can also pipe it to Flux which comes in
handy e.g. when executing Flux remotely over an SSH connection:
```
$ echo 'asdf' | flux bootstrap github
```
Otherwise, Flux will prompt the user:
```
$ flux bootstrap github
Please type your GitHub personal access token:
```
closes #2011
Signed-off-by: Max Jonas Werner <mail@makk.es>
3 years ago
Stefan Prodan
4bc4aa1397
Merge pull request #2050 from fluxcd/do-not-edit-warn
...
Add `DO NOT EDIT` warn to bootstrap sync manifests
3 years ago
Stefan Prodan
04faba95cd
Add DO NOT EDIT warn to bootstrap sync manifests
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
3 years ago
Sunny
f712dadab5
Merge pull request #2051 from fluxcd/update-components
...
Update toolkit components
3 years ago
fluxcdbot
58b3150ce3
Update toolkit components
...
- source-controller to v0.17.2
https://github.com/fluxcd/source-controller/blob/v0.17.2/CHANGELOG.md
- image-automation-controller to v0.16.1
https://github.com/fluxcd/image-automation-controller/blob/v0.16.1/CHANGELOG.md
Signed-off-by: GitHub <noreply@github.com>
3 years ago
Stefan Prodan
e7225db397
Merge pull request #2046 from vespian/prozlach/support_http_proxy_envs
...
Use full domain name for notification-controller
3 years ago
Pawel Rozlach
8ec5492d87
fix: use full domain name for notification-controller
...
Signed-off-by: Pawel Rozlach <vespian@users.noreply.github.com>
3 years ago
Stefan Prodan
c2c64a70c4
Merge pull request #2042 from fluxcd/ecdsa-default
...
Set ECDSA as the default algorithm for `flux create source git`
3 years ago
Stefan Prodan
4621576f40
Set ECDSA as the default algorithm for `flux create source git`
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
3 years ago
Stefan Prodan
3b609e9b03
Merge pull request #2041 from fluxcd/bootstrap-ecdsa-default
...
bootstrap: Set ECDSA as the default SSH key algorithm
3 years ago
Stefan Prodan
4f2ebd78be
Set ECDSA as the default algorithm for `flux create secret git`
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
3 years ago
Stefan Prodan
88dacebc94
bootstrap: Set ECDSA as the default SSH key algorithm
...
Motivation: RSA SHA-1 SSH keys are no longer accepted by GitHub https://github.blog/2021-09-01-improving-git-protocol-security-github/ .
Given this we are switching the default from RSA to ECDSA for `git`, `github` and `gitlab` variants of `flux bootstrap`.
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
3 years ago
Stefan Prodan
92e7d1ad1e
Merge pull request #2036 from fluxcd/part-of-selector
...
Switch to `app.kubernetes.io/part-of` label selector
3 years ago
Stefan Prodan
d5d8c340c8
Switch to app.kubernetes.io/part-of label selector
...
Use `app.kubernetes.io/part-of: flux` label instead of `app.kubernetes.io/instance` to select the in-cluster objects used in flux version, check, logs and uninstall commands.
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
3 years ago
Stefan Prodan
b8a85b809a
Merge pull request #2035 from fluxcd/source-fetch-timeout
...
Add fetch timeout arg to create source commands
3 years ago
Stefan Prodan
61be0775af
Add fetch timeout arg to create source commands
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
3 years ago
Stefan Prodan
404ffa5a91
Merge pull request #2034 from fluxcd/default-namespace-from-env
...
Set default ns with `FLUX_SYSTEM_NAMESPACE` env var
3 years ago
Stefan Prodan
f2de7e04b8
Set default ns with FLUX_SYSTEM_NAMESPACE env var
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
3 years ago
Stefan Prodan
8b3e3b1dd7
Merge pull request #2033 from fluxcd/update-issue-template
...
Add flux version to issue template
3 years ago
Stefan Prodan
81e91ac3f5
Add flux version to issue template
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
3 years ago
Stefan Prodan
b9bde94d08
Merge pull request #2032 from fluxcd/tree-completion
...
Enable completion for flux tree cmd
3 years ago
Stefan Prodan
37746023c1
Enable completion for flux tree cmd
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
3 years ago
Stefan Prodan
d3e529b8a4
Merge pull request #2015 from SomtochiAma/test-export-cmd
...
Add unit tests for export
3 years ago
Somtochi Onyekwere
eb69083ef5
Add unit tests for export
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
3 years ago
Hidde Beydals
96aac387c9
Merge pull request #2028 from fluxcd/update-components
3 years ago
fluxcdbot
870f18c621
Update toolkit components
...
- source-controller to v0.17.1
https://github.com/fluxcd/source-controller/blob/v0.17.1/CHANGELOG.md
Signed-off-by: GitHub <noreply@github.com>
3 years ago
Hidde Beydals
57b33e29f7
Merge pull request #2024 from kingdonb/fix-error-message-quoting
3 years ago
Kingdon Barrett
94b7917679
Fix quoting around reconciliation error message
...
While fixing an unrelated issue, I noticed:
✗ GitRepository reconciliation failed: ''PGP public keys secret error: expected pointer, but got nil
the single quote should surround the readyCond.Message
Signed-off-by: Kingdon Barrett <yebyen@gmail.com>
3 years ago
Hidde Beydals
98fa0c4271
Merge pull request #2023 from fluxcd/update-components-test
3 years ago
Hidde Beydals
8282907bce
Update toolkit components tests
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
3 years ago
Hidde Beydals
323f4f5e5f
Merge pull request #2022 from fluxcd/update-components
3 years ago
fluxcdbot
744b3ebd0a
Update toolkit components
...
- source-controller to v0.17.0
https://github.com/fluxcd/source-controller/blob/v0.17.0/CHANGELOG.md
- image-automation-controller to v0.16.0
https://github.com/fluxcd/image-automation-controller/blob/v0.16.0/CHANGELOG.md
Signed-off-by: GitHub <noreply@github.com>
3 years ago
Stefan Prodan
3fdba35993
Merge pull request #2021 from fluxcd/e2e-retry-gh-get
...
e2e: Retry the GitHub API calls
3 years ago
Stefan Prodan
ebdf9ed379
e2e: Retry the GitHub API calls
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
3 years ago
Stefan Prodan
a572274c5c
Merge pull request #1932 from SomtochiAma/test-bootstrap
...
Add test for customizing bootstrap
3 years ago
Somtochi Onyekwere
6a6bba8669
Add test for customizing bootstrap
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
3 years ago
Stefan Prodan
1d1d4bbf4b
Merge pull request #2008 from fluxcd/expand-hr-in-tree-ks
...
Expand Helm releases in flux tree cmd
3 years ago
Stefan Prodan
d9bb4c631e
Add flux tree to e2e tests
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
3 years ago
Stefan Prodan
722962c138
Expand Helm releases in flux tree cmd
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
3 years ago
Stefan Prodan
c98ff6ae87
Merge pull request #1988 from darkowlzz/update-maintainers
...
Add @darkowlzz to maintainers list
3 years ago
Sunny
cbef6a4cad
Add @darkowlzz to maintainers list
...
Signed-off-by: Sunny <darkowlzz@protonmail.com>
3 years ago
Stefan Prodan
f887a2c029
Merge pull request #1998 from fluxcd/tree-cmd
...
Add flux tree command
3 years ago
Stefan Prodan
078cfe92c2
Add JSON and YAML output options to flux tree cmd
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
3 years ago
Stefan Prodan
80ef184b60
Add flux tree command
...
The `flux tree kustomization` command prints the resources reconciled by the given Kustomization.
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
3 years ago
Hidde Beydals
f2475988bd
Merge pull request #2000 from wingkwong/refak/ioutil
3 years ago
WONG, Wing Kam
45526108e0
Remove use of deprecated io/ioutil
...
Signed-off-by: WONG, Wing Kam <wingkwong.code@gmail.com>
3 years ago
Stefan Prodan
414c0bbbdc
Merge pull request #1997 from johngmyers/contrib-slack
...
Update Slack channel in CONTRIBUTING.md
3 years ago
John Gardiner Myers
6873a710d9
Update Slack channel in CONTRIBUTING.md
...
Signed-off-by: John Gardiner Myers <jgmyers@proofpoint.com>
3 years ago
Hidde Beydals
8a44006384
Merge pull request #1996 from fluxcd/e2e-azure-update
3 years ago