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

config: Allow enabling the log enricher on install time using the ENABLE_LOG_ENRICHER variable #1235

Merged
merged 1 commit into from
Oct 17, 2022

Conversation

jhrozek
Copy link
Contributor

@jhrozek jhrozek commented Oct 16, 2022

What type of PR is this?

/kind feature

What this PR does / why we need it:

Some installations might want to enable the log enricher at install
time. Using an environment variable seems like a nice way of doing that,
for example because then it's possible to use a Subscription object when
installing using OLM.

Which issue(s) this PR fixes:

Fixes #1167

Does this PR have test?

no

Special notes for your reviewer:

N/A

Does this PR introduce a user-facing change?

It is now possible to enable the log enricher at install time by setting the
ENABLE_LOG_ENRICHER environment value to true.

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/feature Categorizes issue or PR as related to a new feature. labels Oct 16, 2022
@k8s-ci-robot k8s-ci-robot requested review from JAORMX and pjbgf October 16, 2022 14:40
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Oct 16, 2022
@codecov-commenter
Copy link

Codecov Report

Merging #1235 (22695e0) into main (b29f54c) will decrease coverage by 0.03%.
The diff coverage is 0.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1235      +/-   ##
==========================================
- Coverage   45.42%   45.38%   -0.04%     
==========================================
  Files          48       48              
  Lines        5361     5365       +4     
==========================================
  Hits         2435     2435              
- Misses       2806     2810       +4     
  Partials      120      120              

…ABLE_LOG_ENRICHER` variable

Some installations might want to enable the log enricher at install
time. Using an environment variable seems like a nice way of doing that,
for example because then it's possible to use a Subscription object when
installing using OLM.
@jhrozek jhrozek force-pushed the webhook_enable_env_var branch from 22695e0 to be64058 Compare October 17, 2022 08:18
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 17, 2022
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jhrozek, saschagrunert

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [jhrozek,saschagrunert]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@saschagrunert saschagrunert mentioned this pull request Oct 17, 2022
@saschagrunert
Copy link
Member

/test pull-security-profiles-operator-test-e2e

@k8s-ci-robot k8s-ci-robot merged commit 42d848b into kubernetes-sigs:main Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to define logenricher by default while deployment of SPO
4 participants