Skip to main content
New to Testkube? Unleash the power of cloud native testing in Kubernetes with Testkube. Get Started >


testkube update template

Update Template


Update Template Custom Resource.

testkube update template [flags]


      --body string            a path to template file to use as template body
-h, --help help for template
-l, --label stringToString label key value pair: --label key1=value1 (default [])
-n, --name string unique template name - mandatory
--template-type string template type one of job|container|cronjob|scraper|pvc|webhook

Options inherited from parent commands

  -a, --api-uri string     api uri, default value read from config if set (default "")
-c, --client string client used for connecting to Testkube API one of proxy|direct (default "proxy")
--insecure insecure connection for direct client
--namespace string Kubernetes namespace, default value read from config if set (default "testkube")
--oauth-enabled enable oauth
--verbose show additional debug messages