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

osd: allow for injecting extra env. variables via ConfigMap (backport #9647) #9657

Merged
merged 1 commit into from
Jan 26, 2022

Commits on Jan 26, 2022

  1. osd: allow for injecting extra env. variables via ConfigMap

    This patch brings a mechanism to define arbitrary environment
    variables in OSD containers (both prepare and main ones).
    It bases on idea proposed by Sebastien Han to use an optional
    `ConfigMap` instance named `aook-ceph-daemon-env-override`
    as the source of these settings.
    
    The need for the patch comes from the fact that, although
    crimson finally exposes the same CLI interface as the classical
    OSD, the broadly used development builds have ASan built in.
    As ASan, by default, complains if it isn't the very first loaded
    DSO, we need a way to set the `ASAN_OPTIONS` environment variable
    to `verify_asan_link_order=0` to mitigate the early aborts.
    
    Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
    (cherry picked from commit 17ca41f)
    rzarzynski authored and mergify-bot committed Jan 26, 2022
    Configuration menu
    Copy the full SHA
    98e9fe0 View commit details
    Browse the repository at this point in the history