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

Prevented the Operator from overriding Secrets/ImagePullSecrets on ServiceAccounts #526

Conversation

jpkrohling
Copy link
Contributor

Fixes #521 by not overriding the Secrets, ImagePullSecrets nor AutomountServiceAccountToken fields from service accounts.

Signed-off-by: Juraci Paixão Kröhling juraci@kroehling.de

…rviceAccounts

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
@jpkrohling
Copy link
Contributor Author

@objectiser right now, we do not set those fields. We might set them in the future (#404 for instance), but if we ever do that, we can just build a merge function to keep the values added from processes outside of the operator.

@jpkrohling
Copy link
Contributor Author

@samcrutt9900, this should fix #521. If you want to give this one a try, I published the following image: jpkroehling/jaeger-operator:521-Do-not-override-secrets-imagepullsecrets-on-serviceaccounts

@jpkrohling
Copy link
Contributor Author

cc @knrc, @jwendell, @gbaufake, with this change, the Jaeger Operator should keep your changes to the ServiceAccount objects.

@codecov
Copy link

codecov bot commented Jul 15, 2019

Codecov Report

Merging #526 into master will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #526      +/-   ##
==========================================
- Coverage   91.97%   91.96%   -0.01%     
==========================================
  Files          69       69              
  Lines        3500     3497       -3     
==========================================
- Hits         3219     3216       -3     
  Misses        196      196              
  Partials       85       85
Impacted Files Coverage Δ
pkg/inventory/account.go 100% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c2d6e8b...46e4c1a. Read the comment docs.

Copy link
Contributor

@objectiser objectiser left a comment

Choose a reason for hiding this comment

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

LGTM

@jpkrohling jpkrohling merged commit 9ecac2c into jaegertracing:master Jul 15, 2019
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.

Jaeger Operator generating secrets on a regular basis
2 participants