Skip to main content

cyctl create templateauthrules

Create templateauthrules

Synopsis​

The create templateauthrules command allows you to create templateauthrules from the Cyclops API.

cyctl create templateauthrules NAME --username='name:key' --password='name:key' [flags]

Examples​

# Create templateauth rule
cyctl create templateauthrule NAME --repo='github.com/repo/a' --username='name:key' --password='name:key'

# Create templateauthrule
cyctl create templateauthrule demo-templateauthrule --repo='https://github.com/cyclops-ui/templates' --username='name:john' --password='name:random'

Options​

  -h, --help               help for templateauthrules
-n, --namespace string Namespace where the templateauthrule will be created (default "cyclops")
-p, --password string Password in the format 'name:key'
-r, --repo string Repository URL of the template
-u, --username string Username in the format 'name:key'

SEE ALSO​

  • cyctl create - Create custom resources like modules, templates, and templateauthrules
Auto generated by spf13/cobra on 29-Jul-2024​