Oracle Cloud Infrastructure Object Storage

Spinnaker supports using Oracle Object Storage for persisting your Application settings and configured Pipelines.

Using Oracle Object Storage as a storage source means that Spinnaker will store all of its persistent data in a Bucket .

Prerequisites

If you have enabled Oracle Cloud provider in Spinnaker, you may use the same region, Tenancy’s OCID, user’s OCID, Compartment’s OCID, private key file, and fingerprint to enable Oracle Object Storage. You will need the following to enable Oracle Object Storage in Spinnaker:

  • A user in IAM for the person or system who will be using Spinnaker, and that user must be granted access to Object Storage or in one IAM group with permissions of Object Storage.

    See Adding Users , and Object Storage Policy

  • The user’s home region.

    See Managing Regions . (e.g. --region us-ashburn-1)

  • RSA key pair in PEM format (minimum 2048 bits).

    See How to Generate an API Signing Key . (e.g. --ssh-private-key-file-path /home/ubuntu/.oci/myPrivateKey.pem)

  • Fingerprint of the public key.

    See How to Get the Key’s Fingerprint . (e.g. --fingerprint 11:22:33:..:aa)

  • Tenancy’s OCID and user’s OCID.

    See Where to Get the Tenancy’s OCID and User’s OCID . (e.g. --tenancyId ocid1.tenancy.oc1..aa... --user-id ocid1.user.oc1..aa...)

  • Compartment OCID: On Oracle Cloud Console, open the navigation menu. Under Governance and Administration, go to Identity and click Compartments.

    See Managing Compartments . (e.g. --compartment-id ocid1.compartment.oc1..aa...)

  • Upload the public key from the key pair in the Console.

    See How to Upload the Public Key .

  • Namespace: this is your Tenancy name. On Oracle Cloud Console, click on the user menu. The Tenancy name is next to your user name.

    See Object Storage Namespaces , and Managing Compartments . (e.g. --namespace my-tenancy)

  • A bucket to store persistent data within the Object Storage namespace. If you do not already have a bucket that you want to use, Halyard will create one for you (either with the --bucket-name value provided, or _spinnaker_front50_data by default).

    See Managing Buckets . (e.g. --bucket-name my-spinnaker-bucket)

Add Oracle Object Storage to Spinnaker

  1. Run the following hal command to edit your storage settings. See command reference .

    1. hal config storage oracle edit \
    2. --bucket-name $BUCKET_NAME \
    3. --compartment-id $COMPARTMENT_OCID \
    4. --fingerprint $API_KEY_FINGERPRINT \
    5. --namespace $TENANCY_NAME \
    6. --region $REGION \
    7. --ssh-private-key-file-path $PRIVATE_KEY_FILE \
    8. --tenancy-id $TENANCY_OCID \
    9. --user-id $USER_OCID

For example:

  1. hal config storage oracle edit \
  2. --bucket-name spinnaker \
  3. --compartment-id ocid1.compartment.oc1..aaaaaaaatjuwhxwkspkxhumqke \
  4. --fingerprint 8f:05:f4:94:f3:5f:e3:30:ec:35:8e:77:3e:40:34:10 \
  5. --namespace oracle-cloud-tenancy \
  6. --region us-phoenix-1 \
  7. --ssh-private-key-file-path /Users/.oci/oci_api_key.pem \
  8. --tenancy-id ocid1.tenancy.oc1..aaaaaaaa225wmphohitdve3d2qmq4a \
  9. --user-id ocid1.user.oc1..aaaaaaaagosdr3zsh3clobgeqqawsq
  1. Set the storage source to Oracle Object Storage:

    1. hal config storage edit --type oracle

Next steps

After you’ve set up Oracle Object Storage as your external storage service, you’re ready to deploy Spinnaker .

Last modified May 4, 2021: rest of migration (700781a)