Image fail to deploy
Summary
The application fail to deploy and show the following error:
Error: failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/ko-app": is a directory: unknown
Steps to reproduce
use the instructions on the cert-manager installation and the cert-manager approver-policy installation, making sure to enable the CRD in cert-manager and specifying the version in the approver (v0.14.1)
Once everything is working proceed and modify the value file and re-install or add --set image.repository=registry1.dso.mil/ironbank/opensource/jetstack/cert-manager-approver-policy
, --set imagePullSecrets[0].name=your-docker-secret
and --set image.tag=v0.14.1
to specify the tag present on ironbank
e.g.
helm upgrade cert-manager-approver-policy jetstack/cert-manager-approver-policy \
--install \
--version v0.14.1 \
--namespace cert-manager \
--set image.repository=registry1.dso.mil/ironbank/opensource/jetstack/cert-manager-approver-policy \
--set imagePullSecrets[0].name=your-docker-secret \
--set image.tag=v0.14.1 \
--wait
you will have to create a secret in the cluster called the same way as the image pull secret
kubectl create secret docker-registry your-docker-secret \
--docker-server=your.repository.mil \
--docker-username="your_user" \
--docker-password="your_password" -n cert-manager
What is the current bug behavior?
when using the ironbank image the pod is constantly rebooting CrashLoopBackOff
What is the expected correct behavior?
it should be in ready state
Relevant logs and/or screenshots
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)
Tasks
-
Bug has been identified and corrected within the container
Please read the Iron Bank Documentation for more info