Skip to content

Commit

Permalink
Fix missing config for policy file override
Browse files Browse the repository at this point in the history
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
  • Loading branch information
gthiemonge committed Jun 3, 2024
1 parent c1107b8 commit 68067f5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions templates/octaviaapi/config/octavia-api-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@
"perm": "0400",
"optional": true,
"merge": true
},
{
"source": "/var/lib/config-data/merged/policy.yaml",
"dest": "/etc/octavia/policy.yaml",
"owner": "octavia",
"perm": "0600",
"optional": true
}
],
"permissions": [
Expand Down

0 comments on commit 68067f5

Please sign in to comment.