Closed ginglis13 closed 11 months ago
Describe the bug Finch hardcodes a hash of the v0.7.0 arm64 ECR credential helper binary here:
v0.7.0
arm64
https://github.com/runfinch/finch/blob/c199b6701824ab32d1b00676b6f7f072fa4f8c01/pkg/dependency/credhelper/cred_helper.go#L70
but the check for if this matches in its Installed() function will always fail on x86_64 machines because this hash is for the arm64 binary of ECR credential helper.
Installed()
x86_64
https://github.com/runfinch/finch/blob/c199b6701824ab32d1b00676b6f7f072fa4f8c01/pkg/dependency/credhelper/cred_helper_binary.go#L142-L153
Expected behavior
Finch either dynamically fetches the correct hash or confirms an installed ECR credential helper by other means.
Fixed by #668.
Describe the bug Finch hardcodes a hash of the
v0.7.0
arm64
ECR credential helper binary here:https://github.com/runfinch/finch/blob/c199b6701824ab32d1b00676b6f7f072fa4f8c01/pkg/dependency/credhelper/cred_helper.go#L70
but the check for if this matches in its
Installed()
function will always fail onx86_64
machines because this hash is for the arm64 binary of ECR credential helper.https://github.com/runfinch/finch/blob/c199b6701824ab32d1b00676b6f7f072fa4f8c01/pkg/dependency/credhelper/cred_helper_binary.go#L142-L153
Expected behavior
Finch either dynamically fetches the correct hash or confirms an installed ECR credential helper by other means.