Skip to content

Commit fdbb17e

Browse files
authoredJun 4, 2021
Improved warning message for Kubernetes secrets (#907)
* Fix validation error message for secrets * more elaborate update
1 parent 9d5de64 commit fdbb17e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎core/src/main/resources/oracle/weblogic/deploy/messages/wlsdeploy_rb.properties

+4-1
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,10 @@ WLSDPLY-01735=Assignment in {0} is not formatted as X=Y: {1}
337337
WLSDPLY-01736=Default variable file name {0}
338338
WLSDPLY-01737=Environment variable "{0}" was not found
339339
WLSDPLY-01738=Path in {0} is not a directory: {1}
340-
WLSDPLY-01739=Error: Could not resolve secret token "{0}". Known secrets include: {1}
340+
WLSDPLY-01739=Could not resolve secret token "{0}". Known secrets include: {1}. Secrets can only be resolved in \
341+
Kubernetes environment. The secret token's name and keys must have a matching Kubernetes secret name and literals \
342+
in the same namespace. For WebLogic Kubernetes Operator deployment, you must specify the secret name in \
343+
"domain.spec.configuration.secrets"
341344

342345
# wlsdeploy/util/weblogic_helper.py
343346
WLSDPLY-01740=Encryption failed: Unable to locate SerializedSystemIni

0 commit comments

Comments
 (0)
Please sign in to comment.