-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for readOnlyRootFilesystem (fixes #1402) #1403
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Meh, no tests, but this should be quite straightforward here.
I've added some tests, but it seems like enabling this is creating issues with Stargate (don't ask me why...) |
Unless it's the 4.1.5 upgrade that causes this. |
Silly me, Stargate v1 doesn't work with 4.1... |
9170423
to
001b895
Compare
Quality Gate passedIssues Measures |
@@ -946,7 +946,7 @@ func checkDatacenterReadOnlyRootFS(t *testing.T, ctx context.Context, key framew | |||
dc := &cassdcapi.CassandraDatacenter{} | |||
err := f.Get(ctx, key, dc) | |||
require.NoError(t, err) | |||
require.Equal(t, *dc.Spec.ReadOnlyRootFilesystem, *kc.Spec.Cassandra.ReadOnlyRootFilesystem, "expected datacenter %s to have readOnlyRootFilesystem like it is in the kc", key.Name) | |||
require.Equal(t, ptr.Deref(dc.Spec.ReadOnlyRootFilesystem, false), ptr.Deref(kc.Spec.Cassandra.ReadOnlyRootFilesystem, false), "expected datacenter %s to have readOnlyRootFilesystem like it is in the kc", key.Name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @olim7t !
What this PR does:
Which issue(s) this PR fixes:
Fixes #1402
Checklist