Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement get all for sources and images #1116

Merged
merged 1 commit into from
Mar 18, 2021
Merged

Conversation

stefanprodan
Copy link
Member

This PR partially addresses #1114

Changes:

  • add flux get sources all command
  • add flux get images all command

Examples:

$ flux get images all
NAME                   	READY	MESSAGE                       	LAST SCAN                	SUSPENDED 
imagerepository/podinfo	True 	successful scan, found 16 tags	2021-03-18T12:38:31+02:00	False    	

NAME               	READY	MESSAGE                                                               	LATEST IMAGE                       
imagepolicy/podinfo	True 	Latest image tag for 'ghcr.io/stefanprodan/podinfo' resolved to: 5.0.3	ghcr.io/stefanprodan/podinfo:5.0.3
$ flux get sources all --all-namespaces
NAMESPACE  	NAME                 	READY	MESSAGE                                                         	REVISION                                      	SUSPENDED 
flux-system	gitrepository/podinfo	True 	Fetched revision: 5.1.4/e43ebfa5bf4b87c46f2e1db495eb571cd398e2f7	5.1.4/e43ebfa5bf4b87c46f2e1db495eb571cd398e2f7	False    	

NAMESPACE  	NAME                  	READY	MESSAGE                                                   	REVISION                                	SUSPENDED 
flux-system	helmrepository/bitnami	True 	Fetched revision: 93687fb96ed93edd4dad9e6702fd9b2b73d8f3fb	93687fb96ed93edd4dad9e6702fd9b2b73d8f3fb	False    

@stefanprodan stefanprodan added enhancement New feature or request area/UX area/source Source API related issues and pull requests area/image-automation Automated image updates related issues and pull requests labels Mar 18, 2021
cmd/flux/get.go Show resolved Hide resolved
cmd/flux/get.go Outdated Show resolved Hide resolved
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
@stefanprodan stefanprodan merged commit 3e85901 into main Mar 18, 2021
@stefanprodan stefanprodan deleted the get-all-sources-images branch March 18, 2021 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/image-automation Automated image updates related issues and pull requests area/source Source API related issues and pull requests enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants