Skip to content

Commit

Permalink
Provide config server the correct path
Browse files Browse the repository at this point in the history
  • Loading branch information
cYKatherine committed Jul 19, 2024
1 parent ae78a1d commit 64fc690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/aws/eks/pod/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@app.route('/getConfig', methods=['GET'])
def get_config():
try:
with open('/etc/secret/secret-value', 'r') as secret_file:
with open('/etc/secret/secret-value/app', 'r') as secret_file:
secret_value = secret_file.read().strip()
return secret_value
except Exception as e:
Expand Down

0 comments on commit 64fc690

Please sign in to comment.