You can fill your custom catalogs with either Helm Charts or Rancher Charts, although we recommend Rancher Charts due to their enhanced user experience.
Recommended: Create an
app-readme.md
file.Use this file to create custom text for your chart’s header in the Rancher UI. You can use this text to notify users that the chart is customized for your environment or provide special instruction on how to use it.
Example:
Recommended: Create a
questions.yml
file.The example below creates a form that prompts users for persistent volume size and a storage class.
For a list of variables you can use when creating a
questions.yml
file, see .categories:
- Blog
- CMS
questions:
default: "false"
description: "Enable persistent volume for WordPress"
type: boolean
required: true
label: WordPress Persistent Volume Enabled
show_subquestion_if: true
group: "WordPress Settings"
subquestions:
default: "10Gi"
description: "WordPress Persistent Volume Size"
type: string
label: WordPress Volume Size
- variable: persistence.storageClass
default: ""
description: "If undefined or null, uses the default StorageClass. Default to null"
type: storageclass
Check the customized chart into your GitHub repo.
Result: Your custom chart is added to the repo. Your Rancher Server will replicate the chart within a few minutes.