Skip to content

Commit

Permalink
ControlPlaneAgents is a number
Browse files Browse the repository at this point in the history
Signed-off-by: Montse Ortega <[email protected]>
  • Loading branch information
ammont82 committed Dec 24, 2024
1 parent a4674da commit 7a6ce76
Showing 1 changed file with 2 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,8 @@ spec:
holdInstallation: true
provisionRequirements:
workerAgents: 0
{{#if ai.controlPlaneAgents}}
{{#switch ai.controlPlaneAgents}}
{{#case '1'}}
controlPlaneAgents: 1
{{/case}}
{{#case '3'}}
controlPlaneAgents: 3
{{/case}}
{{#case '4'}}
controlPlaneAgents: 4
{{/case}}
{{#case '5'}}
controlPlaneAgents: 5
{{/case}}
{{/switch}}
{{#if ai.controlPlaneAgents}}
controlPlaneAgents: {{{ai.controlPlaneAgents}}}
{{else}}
controlPlaneAgents: 3
{{/if}}
Expand Down

0 comments on commit 7a6ce76

Please sign in to comment.