File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,10 @@ func (r *Resources) ValidateSecretHashes() error {
75
75
}
76
76
if hash != expectedHash {
77
77
// Oops, hash has changed
78
- log .Error ().Msg ("Secret has changed. You must revert it to the original value!" )
78
+ log .Debug ().
79
+ Str ("expected-hash" , expectedHash ).
80
+ Str ("new-hash" , hash ).
81
+ Msg ("Secret has changed." )
79
82
// This is not good, return false so SecretsChanged condition will be set.
80
83
return false , nil
81
84
}
@@ -139,7 +142,7 @@ func (r *Resources) ValidateSecretHashes() error {
139
142
} else {
140
143
// All good, we van remove the SecretsChanged condition
141
144
if status .Conditions .Remove (api .ConditionTypeSecretsChanged ) {
142
- log .Warn ().Msg ("Resetting SecretsChanged condition" )
145
+ log .Info ().Msg ("Resetting SecretsChanged condition" )
143
146
if err := r .context .UpdateStatus (status ); err != nil {
144
147
log .Error ().Err (err ).Msg ("Failed to save SecretsChanged condition" )
145
148
return maskAny (err )
You can’t perform that action at this time.
0 commit comments