From 2c100b6b16966b484133125da07f8aff7088dc1c Mon Sep 17 00:00:00 2001
From: Maggie Neterval
Allow Spinnaker to associate your workload with one or more Services and manage traffic based on your selected rollout strategy options. Valid for ReplicaSets only.
+Allow Spinnaker to associate each ReplicaSet deployed in this stage with one or more Services and manage traffic based on your selected rollout strategy options.
`, 'kubernetes.manifest.rolloutStrategy': `The rollout strategy tells Spinnaker what to do with the previous version(s) of the ReplicaSet in the cluster.
diff --git a/app/scripts/modules/kubernetes/src/v2/pipelines/stages/deployManifest/deployManifest.validator.ts b/app/scripts/modules/kubernetes/src/v2/pipelines/stages/deployManifest/deployManifest.validator.ts index dc1e80707b0..47b99c0f45b 100644 --- a/app/scripts/modules/kubernetes/src/v2/pipelines/stages/deployManifest/deployManifest.validator.ts +++ b/app/scripts/modules/kubernetes/src/v2/pipelines/stages/deployManifest/deployManifest.validator.ts @@ -21,9 +21,6 @@ export const deployManifestValidators = (): IValidatorConfig[] => { if (enabled && stage.source === 'text') { const manifests = get(stage, 'manifests', []); const replicaSetManifests = manifests.filter(m => m.kind === 'ReplicaSet'); - if (replicaSetManifests.length !== 1) { - return 'Spinnaker can manage traffic for one ReplicaSet only. Please enter one ReplicaSet manifest or disable rollout strategies.'; - } const strategy = get(stage, 'trafficManagement.options.strategy'); const maxVersionHistory = parseInt( get(replicaSetManifests, [0, 'metadata', 'annotations', MAX_VERSION_HISTORY_ANNOTATION]),