Skip to content

Unable to remove LifecycleRule from GCS Resources again #595

Description

@erik-carlson

Checklist

Bug Description

Per #554 we have been setting lifecycleRule to an empty list to remove lifecycle rules (and actually on all buckets with no lifecycle policy defined), which worked on config connector version 1.60.0. However, we recently noticed (on config connector version 1.69.0) that config connector fails with that configuration with "StorageBucket: cannot interpret non-list as list". In #554 it looks like kishorv06 had the same issue on config connector version 1.63.0

Additional Diagnostic Information

Kubernetes Cluster Version

Client Version: 1.20.8-dispatcher
Server Version: 1.20.10-gke.1600

Config Connector Version

1.69.0

Config Connector Mode

namespaced

Log Output

StorageBucket: cannot interpret non-list as list

Steps to Reproduce

Steps to reproduce the issue

Create a storgebucket resource with a lifecycleRule set to an empty list: []

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions