Skip to content

Commit

Permalink
Remove unused DSE_VERSION env variable (#510)
Browse files Browse the repository at this point in the history
* Remove unused DSE_VERSION env variable

* Fix missing chars
  • Loading branch information
burmanm authored Aug 29, 2023
1 parent 6c9dd9b commit 3cc1fd5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions pkg/reconciliation/construct_podtemplatespec.go
Original file line number Diff line number Diff line change
Expand Up @@ -478,8 +478,6 @@ func buildInitContainers(dc *api.CassandraDatacenter, rackName string, baseTempl
{Name: "RACK_NAME", Value: rackName},
{Name: "PRODUCT_VERSION", Value: serverVersion},
{Name: "PRODUCT_NAME", Value: dc.Spec.ServerType},
// TODO remove this post 1.0
{Name: "DSE_VERSION", Value: serverVersion},
}

envDefaults = append(envDefaults, configEnvVar...)
Expand Down
8 changes: 0 additions & 8 deletions pkg/reconciliation/construct_podtemplatespec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -362,10 +362,6 @@ func TestServerConfigInitContainerEnvVars(t *testing.T) {
Name: "PRODUCT_NAME",
Value: "cassandra",
},
{
Name: "DSE_VERSION",
Value: "3.11.10",
},
},
},
{
Expand Down Expand Up @@ -393,10 +389,6 @@ func TestServerConfigInitContainerEnvVars(t *testing.T) {
Name: "PRODUCT_NAME",
Value: "cassandra",
},
{
Name: "DSE_VERSION",
Value: "3.11.10",
},
},
},
}
Expand Down

0 comments on commit 3cc1fd5

Please sign in to comment.