Skip to content

Commit

Permalink
loadbalancer: enable multiple fastly-tokens at once for key rotation (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ewdurbin authored Aug 26, 2024
1 parent 7d6b40b commit 2dcd98a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion pillar/dev/secrets/fastly.sls
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
fastly:
token: "1"
tokens: |
1
2
api_key: fakekey
2 changes: 1 addition & 1 deletion salt/haproxy/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ haproxy:

/etc/haproxy/fastly_token:
file.managed:
- contents_pillar: fastly:token
- contents_pillar: fastly:tokens
- user: root
- group: root
- mode: "0640"
Expand Down

0 comments on commit 2dcd98a

Please sign in to comment.