Error from server: admission webhook "connaisseur-svc.connaisseur.svc" denied the request: unknown error #246
-
Hi Team, I am using AKS and ACR and the following has been set in the values.yaml file:
However, when I try to pull an image I get the following error message: Error from server: admission webhook "connaisseur-svc.connaisseur.svc" denied the request: unknown error. please check the logs. If I uninstall connaisseur, I am able to successfully pull the docker image. Is there something I am missing in my configuration? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @bally-singh , Most strikingly, your auth:
username: Azure App ID
password: Azure App ID Password In the docs, we just used the
'#' the default key is used if no key is specified in image policy
name: default
key: | # enter your public key below
-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEOXYta5TgdCwXTCnLU09W5T4M4r9f
QQrqJuADP6U7g5r9ICgPSmZuRHP/1AYUfOQW3baveKsT969EfELKj1lfCA==
-----END PUBLIC KEY----- I am not entirely certain what you mean by
kubectl logs -n connaisseur connaisseur-deployment-<ID of your pod(s)> You might have to check separately for all Pods you are running. |
Beta Was this translation helpful? Give feedback.
Hi @bally-singh ,
it seems like you did follow the ACR specific instructions.
Most strikingly, your
auth
configugartion won't work. It should be:In the docs, we just used the
auth.username
notation to express the hierarchy in case of sub-keys. However, in the actual configuration the correct yaml notation must be used.Let me know if that solves your problem. I have a few more notes below: