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

[#716] improvement(operator): support specifying imagePullSecrets #765

Merged
merged 2 commits into from
Mar 28, 2023

Conversation

xianjingfeng
Copy link
Member

What changes were proposed in this pull request?

Support specifying imagePullSecrets

Why are the changes needed?

If the images are stored in a private registry, Kubernetes needs to be provided with the necessary credentials to authenticate with the registry.
Fix: #716

Does this PR introduce any user-facing change?

Example:

apiVersion: uniffle.apache.org/v1alpha1
kind: RemoteShuffleService
metadata:
  name: rss-demo
  namespace: rss
spec:
  # ConfigMapName indicates configMap name stores configurations of coordinators and shuffle servers.
  configMapName: rss-configuration
  imagePullSecrets:
    - name: "default-secret"

How was this patch tested?

UT

@codecov-commenter
Copy link

codecov-commenter commented Mar 26, 2023

Codecov Report

Merging #765 (7830086) into master (47cac39) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##             master     #765   +/-   ##
=========================================
  Coverage     60.72%   60.72%           
  Complexity     1905     1905           
=========================================
  Files           239      239           
  Lines         13038    13040    +2     
  Branches       1093     1093           
=========================================
+ Hits           7917     7919    +2     
  Misses         4681     4681           
  Partials        440      440           
Impacted Files Coverage Δ
...tor/pkg/controller/sync/coordinator/coordinator.go 97.85% <100.00%> (+<0.01%) ⬆️
...pkg/controller/sync/shuffleserver/shuffleserver.go 85.64% <100.00%> (+0.07%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@xianjingfeng xianjingfeng merged commit e8d9909 into apache:master Mar 28, 2023
@xianjingfeng xianjingfeng deleted the issue_716 branch March 28, 2023 02:04
xianjingfeng added a commit to xianjingfeng/incubator-uniffle that referenced this pull request Apr 5, 2023
…ts (apache#765)

### What changes were proposed in this pull request?
Support specifying imagePullSecrets

### Why are the changes needed?
If the images are stored in a private registry, Kubernetes needs to be provided with the necessary credentials to authenticate with the registry.
Fix: apache#716

### Does this PR introduce any user-facing change?
Example:

apiVersion: uniffle.apache.org/v1alpha1
kind: RemoteShuffleService
metadata:
  name: rss-demo
  namespace: rss
spec:
  # ConfigMapName indicates configMap name stores configurations of coordinators and shuffle servers.
  configMapName: rss-configuration
  imagePullSecrets:
    - name: "default-secret"
### How was this patch tested?
UT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants