You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have an AKS cluster and a kubernetes namespace, with the label azure-key-vault-env-injection: enabled. I use env injection for only one of my workloads. The others don't reference akv2k8s at all. Still, the ones that are NOT referencing keyvault secrets sometimes fail to schedule with the following error message:
Error creating: Internal error occurred: failed calling webhook "pods.env-injector.admission.spv.no": failed to call webhook: Post "https://akv2k8s-envinjector.akv2k8s.svc:443/pods?timeout=10s": tls: failed to verify certificate: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "svc-cat-ca")
If I restart the injector pods it sometimes solves the issue temporarily, but at some point, I get the above error again.
To Reproduce
Steps to reproduce the behavior:
Install akv2k8s using the latest helm chart (2.6.0) and the default values file.
Add label azure-key-vault-env-injection: enabled to desired namespace
Schedule a pod to the namespace using a deployment (none of the workloads should reference any of the akv2k8s resources)
Expected behavior
The pod should schedule without issues
Additional context
I haven't seen this issue in the older versions of the helm chart (chart version 2.1.0 - Image versions 1.3.0)
The text was updated successfully, but these errors were encountered:
The issue appeared again. I receive the following error message in the envinjector:
When I look up the IP, it is Azure's konnectiviy-agent. Restarting the pods does not help this time.
There are events that the sync of the secrets is successful, but the pod that uses the secret does not get admitted.
Note: Make sure to check out known issues (https://akv2k8s.io/troubleshooting/known-issues/) before submitting
Components and versions
Select which component(s) the bug relates to with [X].
[ ] Controller, version:
x.x.x
(docker image tag)[x] Env-Injector (webhook), version:
1.6.0
(docker image tag)[ ] Other
Describe the bug
I have an AKS cluster and a kubernetes namespace, with the label azure-key-vault-env-injection: enabled. I use env injection for only one of my workloads. The others don't reference akv2k8s at all. Still, the ones that are NOT referencing keyvault secrets sometimes fail to schedule with the following error message:
If I restart the injector pods it sometimes solves the issue temporarily, but at some point, I get the above error again.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The pod should schedule without issues
Additional context
I haven't seen this issue in the older versions of the helm chart (chart version 2.1.0 - Image versions 1.3.0)
The text was updated successfully, but these errors were encountered: