Various bufixes

This commit is contained in:
erthalion 2018-09-14 14:44:12 +02:00
parent 8bc1e7b13d
commit 903902933f
1 changed files with 2 additions and 1 deletions

View File

@ -223,7 +223,8 @@ func (c *Cluster) PlanForSecrets() (plan []Action) {
if k8sutil.ResourceNotFound(err) {
msg = "Generate plan to create new secret %q"
c.logger.Debugf(msg, util.NameFromMeta(secret.ObjectMeta))
plan = append(plan, NewCreateSecret(secretUsername, secret, c))
plan = append(plan, NewCreateSecret(secretUsername, secretSpec, c))
continue
}
if secretUsername != string(secret.Data["username"]) {