This commit updates the secret commands to use `Secret` struct from the
faas-provider rather than using it's own struct.
Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>
This commit adds `faas-cli secret list` command to the faas-cli which
will be used to get secret list from the cluster.
Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>
Adds new command to seal a secret for use in OpenFaaS Cloud with
new subcommand "cloud". A sealed secret can be pushed into a
public Git repo without others being able to decrypt it.
The `kubeseal` CLI provides the implementation of the sealing
via exec - this is much less code and bloat than vendoring since
the kubeseal client API includes the Kubernetes Go client.
Command tested with SealedSecrets running on Kubernetes with
kubeadm and the faas-cli running on MacOS.
See README.md for usage and more instructions.
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>