fix: specify deployment version (canary/latest) in createOrUpdateDeployment method

This commit is contained in:
biersoeckli
2025-02-07 14:49:24 +01:00
parent 6ee9dce300
commit 3d89506a5b

View File

@@ -28,7 +28,7 @@ class QuickStackService {
await namespaceService.createNamespaceIfNotExists(this.QUICKSTACK_NAMESPACE)
const nextAuthSecret = await this.deleteExistingDeployment();
await this.createOrUpdatePvc();
await this.createOrUpdateDeployment(nextAuthSecret);
await this.createOrUpdateDeployment(nextAuthSecret, process.env.VERSION_ARG?.includes('canary') ? 'canary' : 'latest');
await this.createOrUpdateService(true);
await this.waitUntilQuickstackIsRunning();
console.log('QuickStack successfully initialized');