Within a project, when you want to deploy applications from catalogs, the applications available in your project will be based on the scope of the catalogs.
If your application is using ingresses, you can program the ingress hostname to an external DNS by setting up a Global DNS entry.
When Rancher deploys a catalog app, it launches an ephemeral instance of a Helm service account that has the permissions of the user deploying the catalog app. Therefore, a user cannot gain more access to the cluster through Helm or a catalog application than they otherwise would have.
To launch an app from a catalog in Rancher, you must have at least one of the following permissions:
- A project-member role in the target cluster, which gives you the ability to create, read, update, and delete the workloads
- A cluster owner role for the cluster that include the target project
Launching a Catalog App
From the Global view, open the project that you want to deploy an app to.
From the main navigation bar, choose Apps. In versions before v2.2.0, choose Catalog Apps on the main navigation bar. Click Launch.
Find the app that you want to launch, and then click View Now.
Under Configuration Options enter a Name. By default, this name is also used to create a Kubernetes namespace for the application.
- If you would like to change the Namespace, click Customize and enter a new name.
- If you want to use a different namespace that already exists, click Customize, and then click Use an existing namespace. Choose a namespace from the list.
Select a Template Version.
Complete the rest of the Configuration Options.
- For native Helm charts (i.e., charts from the Helm Stable or Helm Incubator catalogs), answers are provided as key value pairs in the Answers section.
- Keys and values are available within Detailed Descriptions.
- When entering answers, you must format them using the syntax rules found in Using Helm: The format and limitations of --set, as Rancher passes them as
--setflags to Helm. For example, when entering an answer that includes two values separated by a comma (i.e.,
abc, bcd), wrap the values with double quotes (i.e.,
Review the files in Preview. When you're satisfied, click Launch.
Result: Your application is deployed to your chosen namespace. You can view the application status from the project's Workloads view or Apps view. In versions before v2.2.0, this is the Catalog Apps view.
For each Helm chart, there are a list of desired answers that must be entered in order to successfully deploy the chart. When entering answers, you must format them using the syntax rules found in Using Helm: The format and limitations of –set, as Rancher passes them as
--set flags to Helm.
For example, when entering an answer that includes two values separated by a comma (i.e.
abc, bcd), it is required to wrap the values with double quotes (i.e.,
- Editing YAML Files
Using a questions.yml file
If the Helm chart that you are deploying contains a
questions.yml file, Rancher's UI will translate this file to display an easy to use UI to collect the answers for the questions.
Key Value Pairs for Native Helm Charts
For native Helm charts (i.e., charts from the Helm Stable or Helm Incubator catalogs or a custom Helm chart repository), answers are provided as key value pairs in the Answers section. These answers are used to override the default values.
Available as of v2.1.0
If you do not want to input answers using the UI, you can choose the Edit as YAML option.
With this example YAML:
- port: 80
Key Value Pairs
You can have a YAML file that translates these fields to match how to format custom values so that it can be used with
These values would be translated to:
Available as of v2.2.0
You can directly paste that YAML formatted structure into the YAML editor. By allowing custom values to be set using a YAML formatted structure, Rancher has the ability to easily customize for more complicated input values (e.g. multi-lines, array and JSON objects).