Skip to content

Commit

Permalink
cluster: take agent secret name from rack spec (#298)
Browse files Browse the repository at this point in the history
Fixes #298
  • Loading branch information
zimnx committed Dec 16, 2020
1 parent 48deb98 commit b8ac59a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controllers/cluster/resource/resource.go
Expand Up @@ -168,7 +168,7 @@ func StatefulSetForRack(r scyllav1alpha1.RackSpec, c *scyllav1alpha1.ScyllaClust
Name: "scylla-agent-config-volume",
VolumeSource: corev1.VolumeSource{
Secret: &corev1.SecretVolumeSource{
SecretName: "scylla-agent-config-secret",
SecretName: stringOrDefault(r.ScyllaAgentConfig, "scylla-agent-config-secret"),
Optional: &opt,
},
},
Expand Down

0 comments on commit b8ac59a

Please sign in to comment.