Custom config on the operator
Describe the bug I'm trying to change the loglevel on all components ( sts + the 2 deploy) and saw that its managed by the CR ArgoCD, so i tried to add a new flag on the ArgoCD CR to change the loglevel but it did not work, i tried to update that directly on the sts and the Deploy ( it accepts the syntax) but it do not persist, so my question is how to make that custom change ( loglevel) persist .
To Reproduce Steps to reproduce the behavior:
- Go to 'ArgoCD CR'
- Click on 'Edit'
- Scroll down to 'Any resource'
- Try to update the loglevel
Expected behavior I expect the change on the ArgoCD CR with the new loglevel to be reflected on my ArgoCD components and to persist
Additional context GitOps v1.5.6
I am experiencing the same issue, but I'm able to update all components except openshift-gitops-applicationset-controller.
Copy pasting my issue I was going to create:
Describe the bug I'm trying to reduce the loggin of my ArgoCD instance in OpenShift. I'm unable to set a logLevel that changes the behaviour of the applicationSet controller. I have set warn, error and I still get all DEBUG messages logged in my applicationSet controller pod in OpenShift.
To Reproduce Steps to reproduce the behavior:
- Go to the GitOps operator
- Click on ArgoCD tab
- Click on the ArgoCD instance deployed
- Edit yaml to add:
applicationSet:
logLevel: error
resources:
limits:
cpu: '2'
memory: 1Gi
requests:
cpu: 250m
memory: 512Mi
- Check the
openshift-gitops-applicationset-controllerpod logs, no changes are made and DEBUG logs still showing.
Expected behavior
When changing logLevel to e.g. error, the DEBUG logs should not get logged.
Additional context OCP v4.10 GitOps operator v1.5.7