Skip to content

Commit

Permalink
set type of kong.logrotate as config|noreplace avoid overwriting duri…
Browse files Browse the repository at this point in the history
…ng the upgrade

Signed-off-by: tzssangglass <[email protected]>
  • Loading branch information
tzssangglass committed Jul 8, 2024
1 parent 291eb2c commit 1a11e31
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions build/package/nfpm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ contents:
dst: /lib/systemd/system/kong.service
- src: build/package/kong.logrotate
dst: /etc/kong/kong.logrotate
type: config|noreplace
file_info:
mode: 0644
- src: /usr/local/openresty/bin/resty
Expand Down
3 changes: 3 additions & 0 deletions changelog/unreleased/kong/fix-type-of-logrotate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
message: "set type of kong.logrotate as config|noreplace avoid overwriting during the upgrade"
type: bugfix
scope: Core

0 comments on commit 1a11e31

Please sign in to comment.