nctl edit config
nctl edit config
Edit nctl configuration file
Synopsis
Edit nctl configuration file by opening editor or entering values of repository to add
nctl edit config [flags]
Examples
# Add a repository with a name, type, and authentication details
nctl edit config --name my-repo --type helm --username example-user --gitToken example-token --file=false
# Add a repository with a specific chart repository URL and branch
nctl edit config --name nirmata/kyverno-charts --chartRepo https://nirmata.github.io/kyverno-charts --branch main --file=false
# Add a Helm chart with a name, version, and authentication token
nctl edit config --chartName my-chart --version 1.2.3 --gitToken example-token --file=false
# Add a repository with a branch and authentication token
nctl edit config --name my-repo --branch dev --gitToken example-token --file=false
# Add multiple repository details including username, type, and branch
nctl edit config --name my-repo --type helm --username example-user --branch main --gitToken example-token --file=false
# Add a repository from a specific branch, chart repository, and authentication
nctl edit config --name my-repo --branch dev --chartRepo https://charts.example.com --username example-user --gitToken example-token --file=false
Options
--branch string Branch of the repository to add
--chartName string Name of the chart to add
--chartRepo string URL of the chart repository to add
--file enable to open config file in editor to edit config file (default true)
--gitToken string Git token for authentication to add
-h, --help help for config
--name string Name of the repository to add
--type string Type of the repository to add
--username string Username for authentication to add
--version string Version of the chart to add
Options inherited from parent commands
-v, --v Level log level for V logs
SEE ALSO
- nctl edit - Edit nctl resources