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

Parameterize images #31

Merged
merged 2 commits into from
Mar 7, 2023
Merged

Commits on Mar 7, 2023

  1. Parameterize DSPA default images.

    This change introduces the ability to pass in default images via either
    a configmap or env vars. Environment variables take precedence over
    configmaps. Environment variables follow the same nested behavior as the
    yaml config equivalent. For example "images.apiserver" in a
    `config.yaml` passed in to the operator is the equivalent to passing in
    an ENV Variable `IMAGES_APISERVER`.
    HumairAK committed Mar 7, 2023
    Configuration menu
    Copy the full SHA
    f38c020 View commit details
    Browse the repository at this point in the history
  2. Add tests for operator config file and images.

    This change updates existing tests to consume DSPO config files as part
    of it's testing. For test cases that use default settings, the config
    files are used. For cases where cr specifies specific images, the tests
    consume the config but verify that it is not used over those specified
    in the CR.
    HumairAK committed Mar 7, 2023
    Configuration menu
    Copy the full SHA
    4598e8d View commit details
    Browse the repository at this point in the history