fix: use smaller reference to image pull secrets in secret naming
This fixes an issue where the secret name is too long in tests where the generated test app name includes a uuid.
This commit is contained in:
1 parent
ae092a9ef3
commit
ab674072bc
2 files changed
+4
-4
No files matched your search
@@ -179,7 +179,7 @@ func TriggerSchedulerDeploy(scheduler string, appName string, imageTag string) e
|
||||
return fmt.Errorf("Error reading docker config: %w", err)
|
||||
}
|
||||
|
||||
imagePullSecrets = fmt.Sprintf("image-pull-%s.%d", appName, deploymentId)
|
||||
imagePullSecrets = fmt.Sprintf("%s.ims.%d", appName, deploymentId)
|
||||
pullSecretBase64 = base64.StdEncoding.EncodeToString(b)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user