forked from LaconicNetwork/kompose
Fix hostpath path translate error (#1221)
This commit is contained in:
@@ -5,4 +5,4 @@ services:
|
||||
ports:
|
||||
- "5432"
|
||||
volumes:
|
||||
- ./data:/var/lib/postgresql/data
|
||||
- ./data_sux:/var/lib/postgresql/data_sux
|
||||
@@ -82,7 +82,7 @@
|
||||
"resources": {},
|
||||
"volumeMounts": [
|
||||
{
|
||||
"mountPath": "/var/lib/postgresql/data",
|
||||
"mountPath": "/var/lib/postgresql/data_sux",
|
||||
"name": "db-hostpath0"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -104,7 +104,7 @@
|
||||
"volumeMounts": [
|
||||
{
|
||||
"name": "db-hostpath0",
|
||||
"mountPath": "/var/lib/postgresql/data"
|
||||
"mountPath": "/var/lib/postgresql/data_sux"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user