-
Notifications
You must be signed in to change notification settings - Fork 472
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update faas-provider and populate secrets list in fnc status
**What** - Update faas-provider to v0.16.1 - When listing or reading the function status, populate the configured secrets list. This will happen in both the HTTP handler and the operator handlers. The `FunctionStatus` instance is now constructed via the `k8s.AsFunctionStatus` in the handlers and this should now be consistently used anywhere that a `FunctionStaus` was being constructed before. For the operator, there is now a private utility method `toFunctionStatus` that can parse the `Function` CRD type into the `FunctionStatus`. This will parse all possible values that overlap between the two types and is now used anywhere that a `FunctionStatus` was being constructed from the `Function` type. - Add test to confirm that the parse function can correctly read the results from the ConfigureSecrets method. Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
- Loading branch information
1 parent
7b95916
commit 8d6b0e3
Showing
7 changed files
with
197 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.