Skip to content

Conversation

@rish2320
Copy link
Contributor

@rish2320 rish2320 commented Mar 10, 2023

Description

When using a custom docker registry (with a custom port) and deploying an application, the deployed pod fails with ImagePullBackOff. Looking at the gitops repo, the generated values of the image name and tag are incorrect. I am using Nexus as the docker repo and devtron v0.6.10.

Fixes #2845

How Has This Been Tested?

1: To start with I created multiple apps with single colon in registry url and inspected the image value and tags .
2: Moving Forward I created a nexus private repository to test with multiple colons .
3: We got to know the CI-runner was producing the image right but during deployment the image was getting broken .
4: Furthermore I followed the API triggered and to the point where image was getting broken and fixed it at the backend .
5: Finally after fixing it tested it again and the image and image tags were produced right this time in yaml file .

Checklist:

  • The title of the PR states what changed and the related issues number (used for the release note).
  • Does this PR requires documentation updates?
  • I've updated documentation as required by this PR.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have tested it for all user roles.
  • I have added all the required unit/api test cases.

Does this PR introduce a user-facing change?


@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@rish2320 rish2320 merged commit 58ea126 into main Mar 13, 2023
@rish2320 rish2320 deleted the showing-right-image-imagetags-in-multiplecolons-in-registry-url branch March 13, 2023 07:34
kartik-579 pushed a commit that referenced this pull request Mar 28, 2023
…3103)

* main-test-for-docker-image

* main-test-for-docker-image

* main-test-for-docker-image

* main-test-for-docker-image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Deployment image name and tag incorrectly parsed when using a custom docker repository and port

3 participants