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

Custom config on the operator #383

Open
woot3d opened this issue Oct 10, 2022 · 1 comment
Open

Custom config on the operator #383

woot3d opened this issue Oct 10, 2022 · 1 comment

Comments

@woot3d
Copy link

woot3d commented Oct 10, 2022

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:

  1. Go to 'ArgoCD CR'
  2. Click on 'Edit'
  3. Scroll down to 'Any resource'
  4. 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

@okanarabaci
Copy link

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:

  1. Go to the GitOps operator
  2. Click on ArgoCD tab
  3. Click on the ArgoCD instance deployed
  4. Edit yaml to add:
  applicationSet:
    logLevel: error
    resources:
      limits:
        cpu: '2'
        memory: 1Gi
      requests:
        cpu: 250m
        memory: 512Mi
  1. Check the openshift-gitops-applicationset-controller pod 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants