refactor: only apply the cluster issuers helm chart when setting properties
Otherwise, we're constantly re-installing the same helm chart during deploys, leading to longer deploys.
This commit is contained in:
1 parent
9ffd5ada71
commit
377cfc7f59
2 files changed
+10
-5
No files matched your search
@@ -135,11 +135,6 @@ func TriggerSchedulerDeploy(scheduler string, appName string, imageTag string) e
|
||||
return fmt.Errorf("Error loading environment for deployment: %w", err)
|
||||
}
|
||||
|
||||
err = applyClusterIssuers(ctx)
|
||||
if err != nil {
|
||||
return fmt.Errorf("Error applying cluster issuers: %w", err)
|
||||
}
|
||||
|
||||
issuerName := "letsencrypt-stag"
|
||||
server := getComputedLetsencryptServer(appName)
|
||||
if server == "prod" || server == "production" {
|
||||
|
||||
Reference in new issue
Block a user