Skip to content

Commit

Permalink
Fix Stargate code that should use override
Browse files Browse the repository at this point in the history
  • Loading branch information
olim7t committed Mar 19, 2024
1 parent 67240c7 commit f6c4330
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/stargate/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func FilterConfig(config map[string]interface{}, retainedSettings []string) map[
func CreateStargateConfigMap(namespace, cassandraYaml, stargateCqlYaml string, dc cassdcapi.CassandraDatacenter) *corev1.ConfigMap {
return &corev1.ConfigMap{
ObjectMeta: metav1.ObjectMeta{
Name: GeneratedConfigMapName(dc.Spec.ClusterName, dc.Name),
Name: GeneratedConfigMapName(dc.Spec.ClusterName, dc.DatacenterName()),
Namespace: namespace,
Labels: utils.MergeMap(
map[string]string{
Expand Down
2 changes: 1 addition & 1 deletion pkg/stargate/deployments.go
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ func computeVolumes(template *api.StargateTemplate, dc *cassdcapi.CassandraDatac
VolumeSource: corev1.VolumeSource{
ConfigMap: &corev1.ConfigMapVolumeSource{
LocalObjectReference: corev1.LocalObjectReference{
Name: GeneratedConfigMapName(dc.Spec.ClusterName, dc.Name),
Name: GeneratedConfigMapName(dc.Spec.ClusterName, dc.DatacenterName()),
},
},
},
Expand Down

0 comments on commit f6c4330

Please sign in to comment.