jkube icon indicating copy to clipboard operation
jkube copied to clipboard

When k8s:push identifies a push to ECR, JKube should allow autocreating repo using aws-sdk if the repository does not exist

Open nightswimmings opened this issue 1 year ago • 2 comments

Component

Kubernetes Maven Plugin

Is your enhancement related to a problem? Please describe

ECR requires precreation of repositories in order for jkube being able to push images

Describe the solution you'd like

Since the repo information is configured at pom.xml/jkube level (with image name etc..), on a multi-project pipeline, and provided JKube can identify and connect to ECR repositories using aws-sdk specific code, I think there should be an optional flag to request auocreation of repository if the remote repo is not created

Describe alternatives you've considered

Having to parse project's pom.xml jkube metadata in order to infer the future repository name and later on attempt to create it from the pipeline script

Additional context

No response

nightswimmings avatar Oct 24 '23 09:10 nightswimmings