Closed nickfortyau closed 1 year ago
(Oracle restricts GitHub Actions too, so I understand the issue well).
On your actual issue: unfortunately the GitHub Actions don't support encrypted private keys. You will either have to remove the pass phrase from your key, or create a new key or a new service account with its own key.
Alternatively, you could spin up an OCI instance to run a self-hosted GitHub Runner that uses instance principal authentication instead of keys.
Okay, that makes sense. Do you know what private key in particular? Would it be for the OCI CLI or kubectl CLI? I'm having trouble finding a .pem key.
On Fri, Oct 7, 2022 at 9:09 PM Avi Miller @.***> wrote:
(Oracle restricts GitHub Actions too, so I understand the issue well).
On your actual issue: unfortunately the GitHub Actions don't support encrypted private keys. You will either have to remove the pass phrase from your key, or create a new key or a new service account with its own key.
Alternatively, you could spin up an OCI instance to run a self-hosted GitHub Runner that uses instance principal authentication instead of keys.
— Reply to this email directly, view it on GitHub https://github.com/oracle-actions/configure-kubectl-oke/issues/16#issuecomment-1272185933, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZC2HE7OJKXOSPORWL3Z7FLWCDCS5ANCNFSM6AAAAAAQ7ZXROM . You are receiving this because you authored the thread.Message ID: @.***>
It's the OCI API/CLI key stored in the OCI_CLI_KEY_CONTENT
secret.
Aha, of course. Thanks!
On Fri, Oct 7, 2022 at 11:27 PM Avi Miller @.***> wrote:
It's the OCI API/CLI key stored in the OCI_CLI_KEY_CONTENT secret.
— Reply to this email directly, view it on GitHub https://github.com/oracle-actions/configure-kubectl-oke/issues/16#issuecomment-1272212850, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZC2HE53PI4XFEHESRCGALLWCDSYLANCNFSM6AAAAAAQ7ZXROM . You are receiving this because you authored the thread.Message ID: @.***>
You're welcome.
Closing as @Djelibeybi proposed the solution above.
Hello! I'm attempting to use this github action to connect to a Kubernetes cluster. I've setup all of the required environment variables, and provided the cluster ID. However, I'm getting a failure on the "PEM format key". This cluster has a public endpoint as well.
Below is the output in github of the workflow execution: Note: ignore the fact that it's nested under
uhg-actions
and notoracle-actions
. that's just how my company approves github actions, wrapping them in our own.