Adding Helm Command Specification

You can run Helm commands directly and view the output in the logs. Supported Helm commands are:

  • list
  • status
  • env
  • get and its subcommands
  • history
  • show 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.

    1. Open the navigation menu and click Developer Services. Under DevOps, click Projects.
    2. On the DevOps Projects page, select the project for which you want to add an artifact.
    3. On the details page of the project, from the left side, click Artifacts.
    4. On the Artifacts page, click Add artifact.
    5. In the Add artifact panel, provide the following details:
      1. Enter a name for the artifact.
      2. For Type, select Helm command specification.
      3. For Value, enter the Helm commands.
      4. Select Allow parameterization to replace the placeholders in the artifact content by argument values provided during the deployment. For more information, see Configuring Parameters.
      5. (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.

    6. Click Add.
  • To add a Helm command specification artifact, run the create-helm-command-spec command:

    oci devops deploy-artifact create-helm-command-spec --options

    To get all the commands for deploy-artifact:

    oci devops deploy-artifact -h

    To get help for the create-helm-command-spec command:

    oci devops deploy-artifact create-helm-command-spec -h
  • To add a Helm command specification, use the CreateDeployArtifact operation. For the deployArtifactType attribute, specify the value as HELM_COMMAND_SPEC.