Skip to content

cyctl create command for template and templateauthrule#299

Merged
petar-cvit merged 10 commits intocyclops-ui:mainfrom
siddhantprateek:cyctl-create-template
Jun 4, 2024
Merged

cyctl create command for template and templateauthrule#299
petar-cvit merged 10 commits intocyclops-ui:mainfrom
siddhantprateek:cyctl-create-template

Conversation

@siddhantprateek
Copy link
Copy Markdown
Contributor

closes #298 and #296

📑 Description

Available commands for creating templatestore custom resources

cyctl create template demo-template-5 -r 'github.com/sidhant/random' -p '/path'

cyctl create template demo-template-5 -r 'github.com/sidhant/random' -p '/path' --version 'main'

cyctl create template demo-template-5 \
 -r 'github.com/sidhant/random' \  
 -p '/path' \
 -v 'main' \
 -n default

Available commands for creating templateauthrule custom resources

cyctl create templateauthrule NAME \ 
--username='name:key' \
--password='name:passkey' \ 
--repo='github.com/github/demo' \


cyctl create templateauthrule templateauth3 \ 
--username='dextor:john' \
--password=':pass' \ 
--repo='github.com/github/demo' 


cyctl create templateauthrule templateauth3 \ 
--username=':john' \
--password=':pass' \ 
--repo='github.com/github/demo' \
-n default

@siddhantprateek siddhantprateek requested a review from a team as a code owner May 26, 2024 07:33
Comment thread cyctl/internal/create/template_auth_rules.go Outdated
Comment thread cyctl/internal/create/template_auth_rules.go Outdated
Comment thread cyctl/internal/create/template_auth_rules.go Outdated
Comment thread cyctl/internal/create/template_auth_rules.go Outdated
Copy link
Copy Markdown
Collaborator

@petar-cvit petar-cvit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@petar-cvit petar-cvit merged commit e7816c4 into cyclops-ui:main Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cyctl: Implement create command for TemplateAuthRule

2 participants