You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.
I attempted to set LOG_PII and DEV_MODE to true by setting the environment variables FIDESOPS__LOG_PII and FIDESOPS__DEV_MODE; however, the startup logs still showed that both values were false. When I changed the value to True (note the capital T), it finally enabled LOG_PII and DEV_MODE.
Here is a snippet of my k8s deployment where I set the environment variables:
### Not Working ###env:
- name: FIDESOPS__LOG_PIIvalue: "true"
- name: FIDESOPS__DEV_MODEvalue: "true"### Working ###env:
- name: FIDESOPS__LOG_PIIvalue: "True"
- name: FIDESOPS__DEV_MODEvalue: "True"
I'm assuming this also impacts FIDESOPS__HOT_RELOAD, but I haven't tested it. I also haven't tested when the values are set in the toml instead.
Steps to Reproduce
Spin up a new Fidesops instance and set FIDESOPS__LOG_PII to true
Expected behavior
LOG_PII and DEV_MODE should be set irrespective of casing of the environment variable. I'd expect any of the following to work (though all lowercase is the most important).
true
True
TRUE
false
False
FALSE
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
Version: 1.6.0
OS:
Python Version:
Docker Version:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Bug Description
I attempted to set
LOG_PII
andDEV_MODE
totrue
by setting the environment variablesFIDESOPS__LOG_PII
andFIDESOPS__DEV_MODE
; however, the startup logs still showed that both values werefalse
. When I changed the value toTrue
(note the capital T), it finally enabledLOG_PII
andDEV_MODE
.Here is a snippet of my k8s deployment where I set the environment variables:
I'm assuming this also impacts
FIDESOPS__HOT_RELOAD
, but I haven't tested it. I also haven't tested when the values are set in the toml instead.Steps to Reproduce
FIDESOPS__LOG_PII
totrue
Expected behavior
LOG_PII and DEV_MODE should be set irrespective of casing of the environment variable. I'd expect any of the following to work (though all lowercase is the most important).
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: