-
Notifications
You must be signed in to change notification settings - Fork 19
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
x509-certificate-exporter: strange fixes #64
base: master
Are you sure you want to change the base?
Conversation
Hi @kruftik, |
@kruftik, would you mind giving more information on how the |
@npdgm , There are two main ideas behind the PR: First of all, the chart currently has a bug: if we define multiple DaemonSet-s in the corresponding section of then generated manifests contain too generic label and label selector rules. The main problem they do not contain any daemonset-specific labels and entries in label selectors: , so that daemonset controller cannot distinguish pods generated by different daemonsets from each other. Such an issue results in unintended pod restarts during The PR is trying to mitigate the bug by adding to podSpec labels and labelSelector maps an additional label Another problem of the chart is too straightforward path building logic in hostPath volume and volumeMount sections: it simply concatenates some base path, slash as a path separator and a path provided by Such simplicity results in slash doubling in the resulted string: The proposed change eliminates them by using trimPrefix function in |
does the PR look good for merge? :) |
@npdgm , this PR is still worth to be reviewed! |
trimPrefix
function added in directory-to-file concats