Skip to content

Commit 68067f5

Browse files
committed
Fix missing config for policy file override
When customizing the policy file throught defaultConfigOverwrite, the file must be explicity included in octavia-api-config.json, so it is copied to the correct path with the right ownership/permissions Jira: OSPRH-7228
1 parent c1107b8 commit 68067f5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

templates/octaviaapi/config/octavia-api-config.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@
4040
"perm": "0400",
4141
"optional": true,
4242
"merge": true
43+
},
44+
{
45+
"source": "/var/lib/config-data/merged/policy.yaml",
46+
"dest": "/etc/octavia/policy.yaml",
47+
"owner": "octavia",
48+
"perm": "0600",
49+
"optional": true
4350
}
4451
],
4552
"permissions": [

0 commit comments

Comments
 (0)