In CI we set interval to 10m, but the base is 2h. The reporter runs every 10m, the gatherer every 2h. The gatherer should also inherit the config.
This is fixed by https://github.com/openshift/insights-operator/pull/40 and I was able to verify it in 4.3.0-0.nightly-2020-02-17-055729. Verification steps: # there's a secret that already overrides the default $ oc logs -n openshift-insights $(oc get pods --namespace=openshift-insights -o custom-columns=:metadata.name --no-headers) | grep Gathering I0217 13:39:35.035936 1 periodic.go:113] Gathering cluster info every 10m0s # delete the secret $ oc -n openshift-config delete secret support secret "support" deleted # add new secret $ oc -n openshift-config create secret generic support --from-literal=interval=20m --dry-run -o yaml | oc apply -f - -n openshift-config secret/support created # restart insights-operator $ oc delete pods --namespace=openshift-insights --all pod "insights-operator-568fd7cf58-64h2z" deleted # check the new gathering interval is applied $ oc logs -n openshift-insights $(oc get pods --namespace=openshift-insights -o custom-columns=:metadata.name --no-headers) | grep Gathering I0217 13:44:28.808874 1 periodic.go:113] Gathering cluster info every 20m0s
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:0581