Skip to content

7.0.0

Compare
Choose a tag to compare
@pcf-platform-automation pcf-platform-automation released this 11 Nov 18:49
· 255 commits to main since this release

Breaking Changes

  • Because of code changes in om, the long command line flags no longer support single dash assignment.
    For example, if you had been doing:

    om --env env.yml diagnostic-report -format json

    You now have to:

    om --env env.yml diagnostic-report --format json
  • Some commands have different short command line flags.
    For example:

    om --env env.yml apply-changes -sdp

    Must now be called like

    om --env env.yml apply-changes -s

    List of changes:

    command original short new short
    global -tr n/a
    apply-changes -sdp -s
    configure-authentication -dp -d
    configure-ldap-authentication -dp -d
    configure-saml-authentication -dp -d
    import-installation -pi -p
    upload-product -pi -p

Features

  • om bosh-env now supports being able to --unset environment variables.
    This can also unset --bosh and --credhub vars only
    when used with the new --unset flag.
    This resolved issue #457.
    Thanks to @iplay88keys for the PR!

  • Format of the help command has been changed.
    This is due to a transition to jessevdk/go-flags from pivotal-cf/jhanda

  • vm-lifecyle command had been added.
    This command will create, delete, or upgrade the Ops Manager VM.
    For users of Platform Automation
    will recognize this command.
    It is the om equivalent of p-automator.

    Most of these subcommands require the IAAS CLI to be installed.
    These clis are:

    IAAS Required CLI Version
    AWS aws v1.18.163+
    Azure az v2.13.0+
    GCP gcloud v315.0.0+
    Openstack openstack n/a
    vSphere govc 0.23.0+
  • vm-lifecycle create-vm will create an Ops Manager VM on a given IAAS.
    NOTE: this command requires the relevant IAAS CLI to be installed.

  • vm-lifecycle delete-vm will delete an Ops Manager VM on a given IAAS.
    NOTE: this command requires the relevant IAAS CLI to be installed.

  • vm-lifecycle export-opsman-config will export an opsman.yml
    (for use in create-vm and delete-vm) for an existing Ops Manager VM.

  • vm-lifecycle prepare-tasks-with-secrets modifies a Concourse task to include
    configuration secrets as params.

  • vm-lifecycle upgrade-opsman is a command that will call
    delete-vm, create-vm, and import-installation, with additional safeguards
    to prevent accidental deletion of importan Ops Manager VM data.
    This command is idempotent, has strict command line requirements,
    and tracks state via a state file.