Skip to content

Commit f6e6a4f

Browse files
authored
Fix Kerberos authentication when submitting tasks to the k8s session (#4540)
1 parent ce7678e commit f6e6a4f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

dinky-alert/dinky-alert-email/src/main/java/org/dinky/alert/email/params/EmailParams.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class EmailParams {
3838
private Integer serverPort;
3939
private String sender;
4040
private Boolean enableSmtpAuth;
41-
private Boolean starttlsEnable;
41+
private Boolean starttlsEnable = false;
4242
private Boolean sslEnable;
4343
private String user;
4444
private String password;

dinky-core/src/main/java/org/dinky/executor/Executor.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,8 @@ protected void init(DinkyClassLoader classLoader) {
190190
if (executorConfig.isValidConfig()) {
191191
for (Map.Entry<String, String> entry : executorConfig.getConfig().entrySet()) {
192192
configuration.setString(entry.getKey(), entry.getValue());
193+
setConfig.put(entry.getKey(), entry.getValue());
194+
logger.info("setConfig key: [{}], value: [{}]", entry.getKey(), entry.getValue());
193195
}
194196
}
195197
if (executorConfig.isValidVariables()) {

0 commit comments

Comments
 (0)