We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2832fc2 commit 776ea21Copy full SHA for 776ea21
sample-operators/mysql-schema/src/main/java/io/javaoperatorsdk/operator/sample/MySQLSchemaReconciler.java
@@ -43,8 +43,9 @@ public MySQLSchemaReconciler() {}
43
@Override
44
public void initContext(MySQLSchema primary, Context context) {
45
final var name = primary.getMetadata().getName();
46
- // NOSONAR we don't need cryptographically-strong randomness here
47
- final var password = RandomStringUtils.randomAlphanumeric(16);
+ final var password = RandomStringUtils
+ .randomAlphanumeric(16); // NOSONAR: we don't need cryptographically-strong randomness here
48
+
49
final var secretName = String.format(SECRET_FORMAT, name);
50
final var userName = String.format(USERNAME_FORMAT, name);
51
0 commit comments