Customize Configurations
To customize configurations in the Helm deployment, you need to create and modify the values.yaml file. Here's how you can do it:
-
Download
values.yamlFile:To obtain the
values.yamlfile, you can use thehelm show valuescommand. Replace<repository-name>with the actual repository name and<version-of-APK>with the desired version of the APK. Run the following command:helm show values wso2apk/apk-helm --version 1.2.0 > values.yamlhelm show values <repository-name>/apk-helm --version <version-of-APK> > values.yaml -
Modify the Configuration:
Once you have the
values.yamlfile, you can modify the configuration parameters according to your requirements. -
Deploy the APK with Customized Configuration:
To deploy the APK using the customized configuration, use the
helm installcommand. Replace<chart-name>,<repository-name>,<version-of-APK>, and<path-to-values.yaml-file>with appropriate values. Run the following command:helm install apk-test wso2apk/apk-helm --version 1.2.0 -f values.yamlhelm install <chart-name> <repository-name>/apk-helm --version <version-of-APK> -f <path-to-values.yaml-file>