Adding Helm Command Specification
You can run Helm commands directly and view the output in the logs. Supported Helm commands are:
liststatusenvget and its subcommandshistoryshow and its subcommands
You can specify the Helm commands as an inline artifact that can be added to the Helm stage for deployment.
For accessing DevOps using the Oracle Cloud Console, REST API, and CLI, see Accessing DevOps.
- Open the navigation menu and click Developer Services. Under DevOps, click Projects.
- On the DevOps Projects page, select the project for which you want to add an artifact.
- On the details page of the project, from the left side, click Artifacts.
- On the Artifacts page, click Add artifact.
- In the Add artifact panel, provide the following details:
- Enter a name for the artifact.
- For Type, select Helm command specification.
- For Value, enter the Helm commands.
- Select Allow parameterization to replace the placeholders in the artifact content by argument values provided during the deployment. For more information, see Configuring Parameters.
- (Optional) To add tags to the artifact, click Show tagging options. Tagging is a metadata system that lets you organize and track the resources in the tenancy.
If you have permissions to create a resource, you also have permissions to add free-form tags to that resource.
To add a defined tag, you must have permissions to use the tag namespace.
For more information, see Resource Tags.
- Click Add.
To add a Helm command specification artifact, run the
create-helm-command-speccommand:oci devops deploy-artifact create-helm-command-spec --optionsTo get all the commands for
deploy-artifact:oci devops deploy-artifact -hTo get help for the
create-helm-command-speccommand:oci devops deploy-artifact create-helm-command-spec -hTo add a Helm command specification, use the
CreateDeployArtifactoperation. For thedeployArtifactTypeattribute, specify the value asHELM_COMMAND_SPEC.