Skip to content

Commit

Permalink
Merge pull request GoogleCloudPlatform#2351 from barney-s/fix_firstgc…
Browse files Browse the repository at this point in the history
…psample

Fix the first-gcp composition to use the correct spec fields
  • Loading branch information
google-oss-prow[bot] authored Jul 23, 2024
2 parents ffb14fb + c17eab5 commit 5c33d73
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ spec:
- action:
type: Delete
condition:
age: {{ crbuckets.spec.retention }}
age: {{ crbuckets.spec.retentionDays }}
withState: ANY
versioning:
enabled: true
uniformBucketLevelAccess: true
{% if crbuckets.spec.corsurl != '' %}
{% if crbuckets.spec.corsURL != '' %}
cors:
- origin: ["{{ crbuckets.spec.corsurl }}"]
- origin: ["{{ crbuckets.spec.corsURL }}"]
responseHeader: ["Content-Type"]
method: ["GET", "HEAD", "DELETE"]
maxAgeSeconds: 3600
Expand Down

0 comments on commit 5c33d73

Please sign in to comment.