| # Copyright 2018 Google Inc. All Rights Reserved. |
| |
| resources: |
| |
| # storage for cmd cache (cluster local) |
| - name: {{ env['project'] + '-' + properties['cluster'] }}-cmd-cache |
| type: storage.v1.bucket |
| properties: |
| name: {{ env['project'] + '-' + properties['cluster'] }}-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 (cluster local) |
| - name: {{ env['project'] + '-' + properties['cluster'] }}-file-cache |
| type: storage.v1.bucket |
| properties: |
| name: {{ env['project'] + '-' + properties['cluster'] }}-file-cache |
| storageClass: MULTI_REGIONAL |
| lifecycle: |
| rule: |
| - action: |
| type: Delete |
| condition: |
| age: 1 |