| # Copyright 2019 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| resources: |
| # storage for toolchain config |
| - name: {{ env['project'] }}-toolchain-config |
| type: storage.v1.bucket |
| properties: |
| name: {{ env['project'] }}-toolchain-config |
| storageClass: MULTI_REGIONAL |
| versioning: |
| enabled: true |
| |
| # storage for files |
| - name: {{ env['project'] }}-files |
| type: storage.v1.bucket |
| properties: |
| name: {{ env['project'] }}-files |
| storageClass: MULTI_REGIONAL |
| |
| # storage for cmd cache (shared by clusters) |
| - name: {{ env['project'] }}-cmd-cache |
| type: storage.v1.bucket |
| properties: |
| name: {{ env['project'] }}-cmd-cache |
| storageClass: MULTI_REGIONAL |
| versioning: |
| enabled: true |
| lifecycle: |
| rule: |
| - action: |
| type: Delete |
| condition: |
| age: 1 |
| isLive: true |
| - action: |
| type: Delete |
| condition: |
| age: 1 |
| isLive: false |
| |
| # storage for file cache (shared by clusters) |
| - name: {{ env['project'] }}-file-cache |
| type: storage.v1.bucket |
| properties: |
| name: {{ env['project'] }}-file-cache |
| storageClass: MULTI_REGIONAL |
| lifecycle: |
| rule: |
| - action: |
| type: Delete |
| condition: |
| age: 1 |