kubernetes

Description

Create a secret-store Kubernetes context.

Secret-Store context are used during pipeline execution as API to resolve variables that are parse of Codefresh.

Command

codefresh create context secret-store kubernetes <name>

Options

Option Alias Type Default Description
--sharing-policy string AccountAdmins Set the sharing policy for secret-store context

Possible values:
- AccountAdmins
- AllUsersInAccount
--help Print help information
--cluster Name of the Kubernetes clsuter as it saved in Codefresh. required
--namespace string default Name of the Kubernetes namespace. required
--resource-type Type of the resource in Kubernetes. required

Possible values:
- secret
- configmap
--resource-name Name of the resource in Kubernetes