WARNING: Jenkins X version 2.x is unmaintained. Do not use it.
Please refer to the v3 documentation for the latest supported version.
jx create addon environment
list of jx commands
jx create addon environment
Create an Environment Controller to handle webhooks and promote changes from GitOps
Synopsis
Create an Environment Controller to handle webhooks and promote changes from GitOps
jx create addon environment controller [flags]
Examples
# Creates the environment controller using a specific environment git repository, project, git user, chart repo
jx create addon envctl -s https://github.com/myorg/env-production.git --project-id myproject --docker-registry gcr.io --cluster-rbac true --user mygituser --token mygittoken
Options
--buildpack-ref string The Git reference (branch,tag,sha) in the Git repository to use
--buildpack-url string The URL for the build pack Git repository
--cluster-rbac Whether to enable cluster level RBAC on Tekton
--cluster-role string The cluster role for the current user to be able to install Cluster RBAC based Environment Controller (default "cluster-admin")
--docker-registry string The Docker Registry host name to use which is added as a prefix to docker images
--docker-registry-org string The Docker registry organisation. If blank the git repository owner is used
--git-kind string The kind of git repository. Should be one of: bitbucketcloud, bitbucketserver, gitea, github, gitlab
-h, --help help for environment
-n, --namespace string The namespace to install the controller
--no-cluster-admin If using cluster RBAC the current user needs 'cluster-admin' karma which this command will add if its possible
--project-id string The cloud project ID
-r, --release string The chart release name (default "jxet")
--set string The chart set values (can specify multiple or separate values with commas: key1=val1,key2=val2)
-s, --source-url string The git URL of the environment repository to promote from
--timeout int The timeout value for how long to wait for the install to succeed (default 600000)
-t, --token string The git token to clone and tag the git repository
-u, --user string The git user to use to clone and tag the git repository
--version string The version of the chart to use - otherwise the latest version is used
-w, --webhook-url string The webhook URL used to expose the exposecontroller and register with the git provider's webhooks
Options inherited from parent commands
-b, --batch-mode Runs in batch mode without prompting for user input
--verbose Enables verbose output. The environment variable JX_LOG_LEVEL has precedence over this flag and allows setting the logging level to any value of: panic, fatal, error, warn, info, debug, trace
SEE ALSO
- jx create addon - Creates an addon
Auto generated by spf13/cobra on 2-Sep-2020
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified September 2, 2020: updated jx commands & API docs from 2.1.138 (4fc0bedc90)