Last modified November 29, 2024

'kubectl gs template organization' command reference

The template organization command creates an organization manifest which can be applied to a management cluster, e. g. via kubectl apply. The manifest will define an Organization resource (API group/version security.giantswarm.io/v1alpha1).

Usage

The command to execute is kubectl gs template organization.

It supports the following required flag:

  • --name - Organization name.
  • --output - Output file path. If not set, output is written to STDOUT.

Example command:

kubectl gs template organization \
  --name example-organization

Output

As a result, the command will produce a YAML document of the Organization resource.

The following example illustrates the output generated:

apiVersion: security.giantswarm.io/v1alpha1
kind: Organization
metadata:
  name: example-organization
spec: {}
status: {}

This part of our documentation refers to our vintage product. The content may be not valid anymore for our current product. Please check our new documentation hub for the latest state of our docs.