-
Notifications
You must be signed in to change notification settings - Fork 345
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
Kubearmor Relay not configured (enable log) when using helm or KubeArmorConfig #1866
Comments
I am seeing this problem as well. It feels like a race condition. I have this scripted for deployment. I am also using fluxcd to deploy kubearmor, followed by
After the initial deployment, the setting for the environment variables for the relay pod are always all false. If I make a change to the config (either by pushing an updated config, or editing the config on the cluster with 'kubectl edit ...') after the entire deployment is up, the enviornment variables will get updated the relay pod. |
@henrikrexed i'm not able to reproduce the issue with current stable. can you please check again? |
@kareem-DA with flux or any gitops the initial configuration would be desired state right! so any manual change to KubeArmorConfig would be reverted in next reconcilation. let me know if i'm missing out anything here. |
@kareem-DA thanks for the clarification over slack discussion, i will try again to reproduce the issue and will revert back here. |
Bug Report
When installing kubearmor-operator , i'm trying to enable to log produced by the ENABLE_STDOUT_LOGS on kubearmor-relay.
My intention is to use fluentbit or the opentelemetry collector to collect the various kubearmor events.
I have used a modified values.yaml file by enabling :
But the expected configuraiton is not done.
I have also tried by deploying a KubeArmorConfig with the similar settings..but kuebarmor-relay has still the ENABLE_STDOUT_LOGS set to false.
General Information
kubectl version
, ...): 1.27To Reproduce
or
here is the kubeArmorconfig:
The text was updated successfully, but these errors were encountered: