Max Jonas Werner
995df0f8fa
fix: improve wording
...
Signed-off-by: Max Jonas Werner <mail@makk.es>
3 years ago
Max Jonas Werner
0cf3f45f1e
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
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
Hidde Beydals
1b6061066a
e2e/azure: update dependencies
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
3 years ago
Hidde Beydals
3a8a5982c6
Merge pull request #1977 from fluxcd/libgit2-semver-e2e
3 years ago
Stefan Prodan
ccff578492
e2e: Add test for libgit2 tag semver range
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
3 years ago
Hidde Beydals
e2402e3d84
Merge pull request #1993 from fluxcd/update-components
3 years ago
fluxcdbot
f13b1629cf
Update toolkit components
...
- source-controller to v0.16.1
https://github.com/fluxcd/source-controller/blob/v0.16.1/CHANGELOG.md
- notification-controller to v0.18.1
https://github.com/fluxcd/notification-controller/blob/v0.18.1/CHANGELOG.md
Signed-off-by: GitHub <noreply@github.com>
3 years ago
Stefan Prodan
72a97bb70a
Merge pull request #1983 from SomtochiAma/test-create-secret-export
...
Add unit tests for create secret export
3 years ago
Somtochi Onyekwere
67b393ce09
Add test for create secret
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
3 years ago
Stefan Prodan
48e89b95bb
Merge pull request #1985 from makkes/add-myself-to-maintainers
...
Add Max Jonas Werner to maintainer list
3 years ago
Max Jonas Werner
2159ed62d0
Add Max Jonas Werner to maintainer list
...
Signed-off-by: Max Jonas Werner <mail@makk.es>
3 years ago
Stefan Prodan
8bb65719cd
Merge pull request #1984 from fluxcd/fix-bootstrap-path-check
...
Fix bootstrap path check
3 years ago
Stefan Prodan
4352915945
Fix bootstrap path check
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
3 years ago