Skip to content
tcloud kubernetes iam roles bindings create

kubernetes iam roles bindings create

tcloud kubernetes iam roles bindings create

Create a binding to a user, team, or service account

tcloud kubernetes iam roles bindings create <role> [flags]

Options

      --annotations strings               Annotations as key=value (repeatable)
      --description string                Binding description
  -h, --help                              help for create
      --labels strings                    Labels as key=value (repeatable)
      --name string                       Binding name
      --no-header                         Do not print table headers
      --service-account-identity string   Bind to this service account identity
      --team-identity string              Bind to this team identity
      --user-identity string              Bind to this user identity

Options inherited from parent commands

      --access-token string    Access Token authentication (overrides context)
      --api string             API endpoint (overrides context)
      --client-id string       OIDC client ID for OIDC authentication (overrides context)
      --client-secret string   OIDC client secret for OIDC authentication (overrides context)
  -c, --context string         Context name
      --debug                  Debug mode
      --ignore-dir-config      Ignore directory-local .thalassa defaults
  -O, --organisation string    Organisation slug or identity (overrides context)
  -P, --project string         Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
      --token string           Personal access token (overrides context)

SEE ALSO