We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b7b59b commit 17b02c5Copy full SHA for 17b02c5
sample-operators/mysql-schema/src/main/java/io/javaoperatorsdk/operator/sample/MySQLSchemaReconciler.java
@@ -81,6 +81,7 @@ public void injectInto(EventSourceContext context) {
81
@Override
82
public void initContext(MySQLSchema primary, Context context) {
83
final var name = primary.getMetadata().getName();
84
+ // NOSONAR we don't need cryptographically-strong randomness here
85
final var password = RandomStringUtils.randomAlphanumeric(16);
86
final var secretName = String.format(SECRET_FORMAT, name);
87
final var userName = String.format(USERNAME_FORMAT, name);
0 commit comments