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: {}
Need help, got feedback?
We listen to your Slack support channel. You can also reach us at support@giantswarm.io. And of course, we welcome your pull requests!