kubernetes-sigs / aws-encryption-provider

APIServer encryption provider, backed by AWS KMS
Apache License 2.0
210 stars 76 forks source link

add a clean-up for the unix domain socket before listen on it #93

Closed nnmin-aws closed 1 year ago

nnmin-aws commented 1 year ago

The existing code didn't check if the socket file exists or not. In the scenario when the file has already exists, Listen failed.

This PR adds a clean-up for the unix domain socket file before listening on it.

nnmin-aws commented 1 year ago

/retest

k8s-ci-robot commented 1 year ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: micahhausler, nnmin-aws

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/kubernetes-sigs/aws-encryption-provider/blob/master/OWNERS)~~ [micahhausler] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment