Skip to content

Commit

Permalink
feat(storage): enable at-rest encryption on storage container (#963)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores authored Oct 17, 2024
1 parent c950764 commit a04b5f2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1331,6 +1331,10 @@ func NewStorageContainer(cr *model.CryostatInstance, imageTag string, tls *TLSCo
Name: "IP_BIND",
Value: "0.0.0.0",
},
{
Name: "REST_ENCRYPTION_ENABLE",
Value: "1",
},
}

mounts := []corev1.VolumeMount{
Expand Down
4 changes: 4 additions & 0 deletions internal/test/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -1632,6 +1632,10 @@ func (r *TestResources) NewStorageEnvironmentVariables() []corev1.EnvVar {
Name: "IP_BIND",
Value: "0.0.0.0",
},
{
Name: "REST_ENCRYPTION_ENABLE",
Value: "1",
},
{
Name: "CRYOSTAT_SECRET_KEY",
ValueFrom: &corev1.EnvVarSource{
Expand Down

0 comments on commit a04b5f2

Please sign in to comment.