Table of contents
Topics on this page

Update GCP stacks

You must manually update the File Storage Security stacks to take advantage of certain features and fixes. (Currently, File Storage Security does not support automatic updates for stacks or components.)

Not all features and fixes require a stack update. See What's New for details.

Before you begin

Check What's New to see which stack (scanner or storage) you need to update for the feature you want.

Features and fixes that require a stack update are described with the phrase "This functionality requires a stack update".

Update a stack

  1. Go to Stack Management > GCP > Deploy > Deploy Scanner Stack and Storage Stack.

  2. Click Launch Stack to open the Cloud Shell Editor

  3. Replace scanner.yaml properties with the properties from the deployments on GCP Deployment Manager and modify the properties as required:

    1. Under GCP, select scanner.yaml.
    2. Go to GCP Deployment Manager and find the deployment of the scanner stack.
    3. Copy the resource properties of scanner stack’s deployment from the GCP Deployment Manager.
    4. Paste the properties into scanner.yaml file to overwrite the value of properties in the template. (Do not overwrite the properties if they do not exist in the old deployment.)
    5. Modify the value of properties as required.
    6. Copy the information found in the managementServiceAccount field.
    7. Paste the information copied in step 6 into the resources > properties > managementServiceAccount field.
    8. Copy the secret scanner name and value from the GCP Deployment Manager.
    9. Paste the data from the step above into the scannerSecretName field.
  4. Replace storage.yaml properties with the properties from the deployments on GCP Deployment Manager and modify the properties as required:

    1. Under GCP, select storage.yaml.
    2. Go to GCP Deployment Manager and find the deployment of the scanner storage stack.
    3. Copy the resource properties of storage stack’s deployment from the GCP Deployment Manager.
    4. Paste the properties into storage.yaml to overwrite the value of properties in template. (Do not overwrite the properties if they do not exist in the old deployment.)
    5. Modify the value of properties by the requirements
    6. Copy the information found in the managementServiceAccount field.
    7. Paste the information into the resources > properties > managementServiceAccount field.
  5. Run the update commands in Cloud Shell:

    • Update scanner stack

      gcloud deployment-manager deployments update ${DEPLOYMENT_NAME} --config scanner.yaml

    • Update storage stack

      gcloud deployment-manager deployments update ${DEPLOYMENT_NAME} --config storage.yaml