enhance docs on env vars

This commit is contained in:
Felix Kunde
2022-04-14 11:22:21 +02:00
parent 602e914028
commit 4b833c2436
4 changed files with 64 additions and 22 deletions
-4
View File
@@ -933,9 +933,6 @@ func (c *Cluster) generateSpiloPodEnvVars(
envVars = appendEnvVars(envVars, opConfigEnvVars...)
//sort.Slice(envVars,
// func(i, j int) bool { return envVars[i].Name < envVars[j].Name })
return envVars
}
@@ -1863,7 +1860,6 @@ func (c *Cluster) generateCloneEnvironment(description *acidv1.CloneDescription)
result = append(result, v1.EnvVar{Name: "CLONE_AZURE_STORAGE_ACCOUNT", Value: c.OpConfig.WALAZStorageAccount})
} else {
c.logger.Error("cannot figure out S3 or GS bucket or AZ storage account. All are empty in config.")
return result
}
// append suffix because WAL location name is not the whole path