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

TT-9846 allow setting imagePullSecrets #97

Merged
merged 4 commits into from
Sep 6, 2023
Merged

TT-9846 allow setting imagePullSecrets #97

merged 4 commits into from
Sep 6, 2023

Conversation

rakkhin
Copy link
Contributor

@rakkhin rakkhin commented Aug 11, 2023

allow setting imagePullSecrets for charts that allow setting image.repository

Description

Some organizations deploying Tyk in their infrastructure may have policies in place that require use of docker proxy for all 3rd party images. Those proxies almost always will requires authentication, but Tyk helm charts doesn't have option to set imagePullSecrets for those that allow setting image repo, effectively blocking those organizations from using self-hosted Tyk deployments.

Related Issue

Resolves #96

Motivation and Context

Setting imagePullSecrets is required for orgs that use internal docker proxies with authentication.

Test Coverage For This Change

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Refactoring or add test (improvements in base code or adds test coverage to functionality)
  • Documentation updates or improvements.

Checklist

  • Make sure you are requesting to pull a topic/feature/bugfix branch (right side). If PRing from your fork, don't come from your master!
  • Make sure you are making a pull request against our master branch (left side). Also, it would be best if you started your change off our latest master.
  • My change requires a change to the documentation.
    • I have manually updated the README(s)/documentation accordingly.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

for charts that allow setting image.repository
@rakkhin rakkhin requested a review from a team as a code owner August 11, 2023 07:07
@rakkhin rakkhin requested review from andrei-tyk and removed request for a team August 11, 2023 07:07
Copy link
Member

@buraksekili buraksekili left a comment

Choose a reason for hiding this comment

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

@rakkhin thank you for this great contribution! Can you also update tyk-bootstrap component as well, just to be consistent across all components? Please let me know if you have any questions.

@rakkhin
Copy link
Contributor Author

rakkhin commented Aug 16, 2023

@buraksekili I didn't want to touch bootstrap since images for resources defined there are hardcoded. But if it's OK with you I can bring those in line with other components.

@buraksekili
Copy link
Member

@buraksekili I didn't want to touch bootstrap since images for resources defined there are hardcoded. But if it's OK with you I can bring those in line with other components.

@rakkhin you are right. let's keep them as it is. thank you again for the contribution. I'll move this ticket to QA

@caroltyk caroltyk changed the title allow setting imagePullSecrets TT-9876 allow setting imagePullSecrets Aug 17, 2023
@caroltyk caroltyk changed the title TT-9876 allow setting imagePullSecrets TT-9846 allow setting imagePullSecrets Aug 17, 2023
Copy link
Member

@buraksekili buraksekili left a comment

Choose a reason for hiding this comment

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

thank you @rakkhin for your contribution! LGTM

@buraksekili buraksekili merged commit fa8dfbc into TykTechnologies:main Sep 6, 2023
8 of 9 checks passed
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.

Missing option to set imagePullSecrets
3 participants