crossplane-contrib / provider-upjet-gcp

Official GCP Provider for Crossplane by Upbound.
Apache License 2.0
60 stars 61 forks source link

Add google_storage_hmac_key #546

Closed jake-ciolek closed 1 week ago

jake-ciolek commented 2 weeks ago

Allow creating HMAC keys for GCP Cloud Storage.

This has been tested and applying the following results in a successful creation of a HMAC key. Its private key is written to the target namespace. To check on your machine, try out the example in:

examples/storage/v1beta1/hmackey.yaml

We at AlphaSense would appreciate if you could review this one as we rely on it for one of our internal initiatives.

Description of your changes

This adds the ability to manage GCP Cloud Storage HMAC keys through Crossplane.

There was an earlier pull request by someone else, see #261 which unfortunately got closed due to issues with Upjet and import cycles. Those issues were resolved since then.

I have:

How has this code been tested

Ran make reviewable and also tried out the resource in my GCP project (creation, deletion and secret creation).

A successful uptest run: https://github.com/crossplane-contrib/provider-upjet-gcp/actions/runs/9565894913

jeanduplessis commented 2 weeks ago

/test-examples="examples/storage/v1beta1/hmackey.yaml"

jeanduplessis commented 2 weeks ago

@jake-ciolek thank you for this contribution. The maintainers are on PTO this week, but we'll look at it when they are back and aim to release a new version of the provider before month end.