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

Registry Secret causes changes on every apply #107

Closed
darend opened this issue Dec 5, 2018 · 3 comments
Closed

Registry Secret causes changes on every apply #107

darend opened this issue Dec 5, 2018 · 3 comments

Comments

@darend
Copy link
Contributor

darend commented Dec 5, 2018

issue

Every time helm diff or helm sync is run changes are shown even if no config changes we made

background

The registry secret generates a random password inline:

REGISTRY_HTTP_SECRET: {{ randAlphaNum 16 | b64enc | quote }}

Similarly with the notary certificates:

{{ $cert := genSignedCert (include "harbor.notary-signer" .) nil nil 365 $ca }}

@ywk253100
Copy link
Collaborator

Yes, the secret and certificate are used to secure the communication between the internal components, they are both generated automatically.

@ywk253100
Copy link
Collaborator

Any side effect do you get with them?

@darend
Copy link
Contributor Author

darend commented Dec 6, 2018

Any side effect do you get with them?

We use helm diff to show changes that would be applied and have automation to roll things out. It just makes the diff a little harder to parse as you need to know to ignore these changes.

As a feature request, perhaps allow these to be provided when installing the chart

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

No branches or pull requests

2 participants