Skip to content

Commit

Permalink
Fix the composition to use the correct spec fields
Browse files Browse the repository at this point in the history
  • Loading branch information
barney-s committed Jul 23, 2024
1 parent bd2ca7d commit c17eab5
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 c17eab5

Please sign in to comment.