Skip to content

Commit

Permalink
don't log secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
rustyjux committed Nov 21, 2024
1 parent 0202233 commit 27f6006
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion microservices/gatewayApi/v2/routes/gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,8 @@ def write_config(namespace: str) -> object:
},
"certificates": certs
}
log.debug("[%s] - Initiating request to kube API %s" % (dp, route_payload))
route_payload_log = route_payload['hosts'] + route_payload['select_tag'] + route_payload['ns_attributes'] + route_payload['overrides']
log.debug("[%s] - Initiating request to kube API %s" % (dp, route_payload_log))
rqst_url = app.config['data_planes'][dp]["kube-api"]
res = session.put(rqst_url + "/namespaces/%s/routes" % namespace, json=route_payload, auth=(
app.config['kubeApiCreds']['kubeApiUser'], app.config['kubeApiCreds']['kubeApiPass']))
Expand Down

0 comments on commit 27f6006

Please sign in to comment.