Skip to content

Could we list secret names for functions on faas-cli describe? #913

@alexellis

Description

@alexellis

Could we list secret names for functions on faas-cli describe?

Expected Behaviour

faas-cli describe should list secret names for the function

https://github.com/openfaas/faas-provider/blob/master/types/function_status.go#L28

Current Behaviour

Not available because it was only added to the API response recently.

List All Possible Solutions and Workarounds

See example printing code for annotations in the describe command https://github.com/openfaas/faas-cli/blob/master/commands/describe.go

Which Solution Do You Recommend?

Option 1

Steps to Reproduce (for bugs)

  1. Deploy a function with a secret
  2. Run faas-cli describe and see no secrets listed

Context

Your Environment

Should work the same on faas-netes and faasd.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions