Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pod fails to start with certificate error due to unknown signing authority #39

Open
LP0101 opened this issue Jul 13, 2023 · 7 comments
Open
Labels
bug Something isn't working

Comments

@LP0101
Copy link

LP0101 commented Jul 13, 2023

Your environment

Secret Injector Version: 1.0.2

1Password CLI Version: 2-beta, 2

Connect Server Version: N/A, using service account

What happened?

When deploying the pod, it fails with a certificate error, putting the pod into an error state followed by crashloopbackoff

What did you expect to happen?

The pod should run

Notes & Logs

[ERROR] 2023/07/13 22:09:45 error initializing client: Authentication: (failed to auth.LookupAuth), Network: (failed to request.DoUnencrypted), Get "https://<COMPANY_NAME>.1password.com/api/v2/auth/<REDACTED>@1passwordserviceaccounts.com/A3/Q7SJZ8/<REDACTED>": tls: failed to verify certificate: x509: certificate signed by unknown authority

@LP0101 LP0101 added the bug Something isn't working label Jul 13, 2023
@dipakparmar
Copy link
Contributor

@LP0101 are you using make deploy to install? I also had the same issue ...

@LP0101
Copy link
Author

LP0101 commented Jul 14, 2023

Yup, also same issue when just deploying it manually with kustomize

@dipakparmar
Copy link
Contributor

Yup, also same issue when just deploying it manually with customize

I think it has an issue with resource clean up issue, try cleaning up all the resources it created. Then redeploy!

@daniandl
Copy link

daniandl commented Sep 5, 2023

I'm also having this issue, no clue how to fix. It only seems to happen with images I built myself?
Running it inside a common node:20 image works, for example.

The URL that gets presumably called returns HTTP 445 with { reason: deprecated }

@rkirimov
Copy link

Dealing with exact same issue at the moment. I tried deleting all the associated resources and redeploying (I'm using Helm) but no success. Anyone figured out the solution?

@dipakparmar
Copy link
Contributor

Dealing with exact same issue at the moment. I tried deleting all the associated resources and redeploying (I'm using Helm) but no success. Anyone figured out the solution?

@rkirimov probably best to reach out to Support!

@rkirimov
Copy link

In case anyone has the same issue, adding this line to my Dockerfile fixed it

RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants