mirror of
https://github.com/stakater/Reloader.git
synced 2026-08-23 14:06:27 +00:00
Merge branch 'master' of github.com:stakater/Reloader into rollback-upgrade-deployment
This commit is contained in:
@@ -22,7 +22,7 @@ func (r ResourceCreatedHandler) Handle() error {
|
||||
} else if _, ok := r.Resource.(*v1.Secret); ok {
|
||||
logrus.Infof("Performing 'Added' action for resource of type 'secret'")
|
||||
} else {
|
||||
logrus.Infof("Invalid resource")
|
||||
logrus.Warnf("Invalid resource: Resource should be 'Secret' or 'Configmap' but found %v", r.Resource)
|
||||
}
|
||||
}
|
||||
return nil
|
||||
|
||||
@@ -42,7 +42,7 @@ func (r ResourceUpdatedHandler) Handle() error {
|
||||
rollingUpgrade(r, "secrets", "daemonsets")
|
||||
rollingUpgrade(r, "secrets", "statefulSets")
|
||||
} else {
|
||||
logrus.Infof("Invalid resource")
|
||||
logrus.Warnf("Invalid resource: Resource should be 'Secret' or 'Configmap' but found %v", r.Resource)
|
||||
}
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user