Skip to content

Commit 2dcd98a

Browse files
authored
loadbalancer: enable multiple fastly-tokens at once for key rotation (#481)
1 parent 7d6b40b commit 2dcd98a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

pillar/dev/secrets/fastly.sls

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
fastly:
2-
token: "1"
2+
tokens: |
3+
1
4+
2
35
api_key: fakekey

salt/haproxy/init.sls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ haproxy:
3737

3838
/etc/haproxy/fastly_token:
3939
file.managed:
40-
- contents_pillar: fastly:token
40+
- contents_pillar: fastly:tokens
4141
- user: root
4242
- group: root
4343
- mode: "0640"

0 commit comments

Comments
 (0)