mirror of
https://github.com/openappsec/attachment.git
synced 2025-06-28 16:41:03 +03:00
fix missing defenition of advanced-model
This commit is contained in:
parent
df0e969705
commit
1c03b2276f
@ -223,10 +223,19 @@ def get_volume_mount():
|
||||
# Volume definition for the pod
|
||||
def get_volume_definition():
|
||||
app.logger.debug("Entering get_volume_definition()")
|
||||
volume_def = {
|
||||
volume_def = [
|
||||
{
|
||||
"name": "envoy-attachment-shared",
|
||||
"emptyDir": {}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "advanced-model",
|
||||
"configMap": {
|
||||
"name": "advanced-model-config",
|
||||
"optional": True
|
||||
}
|
||||
}
|
||||
]
|
||||
app.logger.debug(f"Volume definition: {volume_def}")
|
||||
app.logger.debug("Exiting get_volume_definition()")
|
||||
return volume_def
|
||||
|
Loading…
x
Reference in New Issue
Block a user