This message was deleted.
# neuvector_suse-security
a
This message was deleted.
m
OK , I suppose it helps if I am pointing to the values files files. I have a new issue with neuvector-monitor. The neuvector-prometheus-exporter-pod is failing with a Backoff Error. Logs are showing an error in the python code:
Login to controller ...
Traceback (most recent call last):
File "/usr/local/bin/nv_exporter.py", line 645, in <module>
if _login("https://" + CTRL_SVC, CTRL_USER, CTRL_PASS) < 0:
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/bin/nv_exporter.py", line 58, in _login
token = json.loads(response.text)["token"]["token"]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
is this a bug? I tried 2.8.12 and 2.8.9 - the latter from another deployment in a different cluster that works. Both are exhibiting the error which leads me to thinlk my config is wrong.
I found the answer here: https://github.com/neuvector/neuvector-helm/issues/512#issuecomment-3239423805. In the world of automation, this is a horrible implementation to do something manual. Perhaps a job can be added to generate a random secret into AWS secrets managed and make a call to to REST service but then again the authentication token is not valid until the password is changed in the UI.