Hey folks, I’ve set managementApiSecret in my Kube...
# orm-help
p
Hey folks, I’ve set managementApiSecret in my Kubernetes config map, but it seems that the server cannot retrieve the env var at runtime:
Warning: Management API authentication is disabled. To protect your management server you should provide one (not both) of the environment variables 'CLUSTER_PUBLIC_KEY' (asymmetric, deprecated soon) or 'PRISMA_MANAGEMENT_API_JWT_SECRET' (symmetric JWT).
Copy code
apiVersion: v1                                                                                                                                                                                                                            
 kind: ConfigMap                                                                                                                                                                                                                           
 metadata:                                                                                                                                                                                                                                 
   name: prisma-configmap                                                                                                                                                                                                                  
   namespace: prisma                                                                                                                                                                                                                       
   labels:                                                                                                                                                                                                                                 
     stage: production                                                                                                                                                                                                                     
     name: prisma                                                                                                                                                                                                                          
     app: prisma                                                                                                                                                                                                                           
 data:                                                                                                                                                                                                                                     
   PRISMA_CONFIG: |                                                                                                                                                                                                                        
     port: 4466                                                                                                                                                                                                                            
     managementApiSecret: XXXXX                                                                                                                                                                                                 
     databases:                                                                                                                                                                                                                            
       default:
n
could you share this in a new issue here: https://github.com/prismagraphql/prisma/issues/2900?