Version: 0.7

kore create serviceaccess

kore create serviceaccess#

Creates service access within the team

Synopsis#

Provisions service access for the given service and saves them as a Kubernetes secret in the target cluster and namespace.

kore create serviceaccess [flags]

Examples#

# To list the available services
$ kore get services
# To list the available clusters
$ kore get clusters
# To list the available namespaces
$ kore get namespaceclaims
# Create a service access
$ kore -t <myteam> create serviceaccess db-access --service my-database \
--cluster my-cluster --cluster-namespace dev
# Check the status of the service access
$ kore -t <myteam> get serviceaccess db-access -o yaml

Options#

-c, --cluster CLUSTER cluster name CLUSTER
--dry-run shows the resource but does not apply or create (defaults: false)
-h, --help help for serviceaccess
-n, --namespace NAMESPACE target namespace in the cluster NAMESPACE
--param KEY=VALUE a series of key value pairs used to override configuration parameters KEY=VALUE
-s, --service SERVICE service name SERVICE
-T, --show-time BOOL shows the time it took to successfully provision a new service BOOL

Options inherited from parent commands#

--debug indicates we should use debug / trace logging (defaults: false)
--force is used to force an operation to happen (defaults: false)
--no-wait indicates if we should wait for resources to provision
-o, --output string the output format of the resource (json,yaml,table,template) (default "table")
--profile string allows you to explicitly set the selected profile
--show-headers indicates we should display headers on table out (default true)
-t, --team string the team you are operating within
--verbose enables verbose logging for debugging purposes (defaults: false)

SEE ALSO#