Skip to content

Commit

Permalink
fix: RedisExporterSecurityContext instead of SecurityContext
Browse files Browse the repository at this point in the history
Signed-off-by: laurentiusoica <[email protected]>
  • Loading branch information
laurentiusoica committed Jun 14, 2024
1 parent 6acb544 commit fe1aa43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k8sutils/redis-cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ func generateRedisClusterContainerParams(cl kubernetes.Interface, logger logr.Lo
if cr.Spec.RedisExporter != nil {
containerProp.RedisExporterImage = cr.Spec.RedisExporter.Image
containerProp.RedisExporterImagePullPolicy = cr.Spec.RedisExporter.ImagePullPolicy
containerProp.SecurityContext = cr.Spec.RedisExporter.SecurityContext
containerProp.RedisExporterSecurityContext = cr.Spec.RedisExporter.SecurityContext

if cr.Spec.RedisExporter.Resources != nil {
containerProp.RedisExporterResources = cr.Spec.RedisExporter.Resources
Expand Down

0 comments on commit fe1aa43

Please sign in to comment.