Skip to content

Using API toolkit to list flux custom resources .. #4650

Answered by stefanprodan
talha9251 asked this question in General
Discussion options

You must be logged in to vote

That's for selecting a single object, there is a List type you can use, the namespace would be string empty to list all. Example here https://github.com/fluxcd/notification-controller/blob/e73db32382a1f60646d2540e8525eaa55ec66f5c/internal/server/event_handlers.go#L94-L98

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@talha9251
Comment options

@stefanprodan
Comment options

Answer selected by talha9251
@talha9251
Comment options

@stefanprodan
Comment options

@talha9251
Comment options

@stefanprodan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants