IBM / core-dump-handler

Save core dumps from a Kubernetes Service or RedHat OpenShift to an S3 protocol compatible object store
https://ibm.github.io/core-dump-handler/
MIT License
136 stars 40 forks source link

GCS Service Accounts #166

Open calendlydf opened 1 month ago

calendlydf commented 1 month ago

Is there a way to use this tool using GCS Service Accounts? We no longer use access keys in our projects but can't seem to get an upload to a bucket without providing S3 access key/tokens.

If you could point to how to configure this to make it work, or where a PR might be useful to allow this functionality that would be great.

Thanks!

No9 commented 1 month ago

Hi @calendlydf

Not sure about the details of GCS SA's and how they integrate with GKS.

If you could provide a link on how they work I can review and suggest an approach.

Not sure how relevent it is but we have had PRs that integrate with AWS service accounts so you might want to start buy looking at how this flag is implemented

https://github.com/IBM/core-dump-handler/blob/main/charts/core-dump-handler/values.aws.yaml#L7

https://github.com/IBM/core-dump-handler/blob/327ed2e75c33f47b15c035a200b21f15074fdba5/charts/core-dump-handler/templates/sa-token-secret.yaml#L4