Closed edif2008 closed 2 years ago
The injector itself needs the following updates:
v1beta1
to v1
TypeMeta: metav1.TypeMeta{
APIVersion: "admission.k8s.io/v1",
Kind: "AdmissionReview",
}
vendor
directory in the repo by running go mod vendor
The working injector can be found in the test-env-inject
branch.
I have tested the working version of the injector and indeed in the response it passes the User-Agent info required for the CLI.
@jillianwilson The updates for the injector to work are in this PR: https://github.com/1Password/kubernetes-secret-injector/pull/5
Note that the updates don't include the certificate management. That is still work in progress. However, these are valid and shouldn't depend on the certificate management part.
As long as this has been tested and verified to work I am happy with this :)
Have you tested this locally?