Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: login using docker creds on the node to allow to pull the desired image #3682

Merged
merged 5 commits into from
Aug 26, 2024

Conversation

abhimanyubabbar
Copy link
Contributor

@abhimanyubabbar abhimanyubabbar commented Aug 26, 2024

What are the changes introduced in this PR?

We broke the UT tests when we made our images private. This test fixes the docker hub authorization issue but creating a regcred secret through docker credentials to be used for patching deployments and service accounts

What is the related Linear task?

Fixes DAT-1487

Please explain the objectives of your changes below

Put down any required details on the broader aspect of your changes. If there are any dependent changes, mandatorily mention them here

Any changes to existing capabilities/behaviour, mention the reason & what are the changes ?

N/A

Any new dependencies introduced with this change?

N/A

Any new generic utility introduced or modified. Please explain the changes.

N/A

Any technical or performance related pointers to consider with the change?

N/A

@coderabbitai review


Developer checklist

  • My code follows the style guidelines of this project

  • No breaking changes are being introduced.

  • All related docs linked with the PR?

  • All changes manually tested?

  • Any documentation changes needed with this change?

  • Is the PR limited to 10 file changes?

  • Is the PR limited to one linear task?

  • Are relevant unit and component test-cases added in new readability format?

Reviewer checklist

  • Is the type of change in the PR title appropriate as per the changes?

  • Verified that there are no credentials or confidential data exposed with the changes.

@devops-github-rudderstack
Copy link
Contributor

Copy link

codecov bot commented Aug 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.55%. Comparing base (ec0bffe) to head (1fd195d).
Report is 5 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #3682   +/-   ##
========================================
  Coverage    88.55%   88.55%           
========================================
  Files          585      585           
  Lines        31910    31914    +4     
  Branches      7613     7615    +2     
========================================
+ Hits         28258    28262    +4     
+ Misses        3359     3329   -30     
- Partials       293      323   +30     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Jayachand
Jayachand previously approved these changes Aug 26, 2024
sivashanmukh
sivashanmukh previously approved these changes Aug 26, 2024
Copy link
Contributor

@sivashanmukh sivashanmukh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

utsabc
utsabc previously approved these changes Aug 26, 2024
Copy link

sonarcloud bot commented Aug 26, 2024

@sivashanmukh sivashanmukh merged commit fc6bcf7 into develop Aug 26, 2024
27 checks passed
@sivashanmukh sivashanmukh deleted the fix/ut-tests-with-docker-creds branch August 26, 2024 18:07
kanishkkatara pushed a commit that referenced this pull request Aug 27, 2024
…d image (#3682)

* fix: login using docker creds on the node to allow to pull the desired image

* fix: add steps to create regcred secret and then patch deployment with it

* chore: fix the github action

* chore: patch the service account in openfaas-fn ns to allow for pulling openfaas flask base images

* chore: minor fixes
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.

5 participants