Skip to content

Commit

Permalink
Added missing SecurityContext in the Redis StatefulSet
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhf committed Apr 12, 2019
1 parent dbb2063 commit 45b33b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions operator/redisfailover/service/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ func generateRedisStatefulSet(rf *redisfailoverv1alpha2.RedisFailover, labels ma
PodAntiAffinity: createPodAntiAffinity(rf.Spec.HardAntiAffinity, labels),
},
Tolerations: rf.Spec.Tolerations,
SecurityContext: rf.Spec.SecurityContext,
Containers: []corev1.Container{
{
Name: "redis",
Expand Down

0 comments on commit 45b33b4

Please sign in to comment.