This repository has been archived on 2024-12-15. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
onechart/website/docs/examples/deploying-a-private-image.md
2020-10-09 14:26:52 +02:00

654 B

OneChart settings for deploying my-web-app image from Amazon ECR:

image:
  repository: aws_account_id.dkr.ecr.region.amazonaws.com/my-web-app
  tag: x.y.z

imagePullSecrets: 
 - name: regcred

Check the Kubernetes manifest:

cat << EOF > values.yaml
image:
  repository: aws_account_id.dkr.ecr.region.amazonaws.com/my-web-app
  tag: x.y.z

imagePullSecrets: 
 - name: regcred
EOF

helm template my-release onechart/onechart -f values.yaml

!!! warning The regcred image pull credentials must be set up in the cluster.

See how: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/