mirror of
https://github.com/traefik/traefik.git
synced 2025-11-28 22:21:36 +01:00
tests: create redis sentinel config with permissive perms
This commit is contained in:
parent
448785d830
commit
49b598d087
@ -92,6 +92,9 @@ func (s *RedisSentinelSuite) setupSentinelConfiguration(ports []string) {
|
|||||||
require.NoError(s.T(), err)
|
require.NoError(s.T(), err)
|
||||||
defer tmpFile.Close()
|
defer tmpFile.Close()
|
||||||
|
|
||||||
|
err = tmpFile.Chmod(0o666)
|
||||||
|
require.NoError(s.T(), err)
|
||||||
|
|
||||||
model := structs.Map(templateValue)
|
model := structs.Map(templateValue)
|
||||||
model["SelfFilename"] = tmpFile.Name()
|
model["SelfFilename"] = tmpFile.Name()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user