Skip to content

Commit

Permalink
Add missing ConfigMap code.
Browse files Browse the repository at this point in the history
  • Loading branch information
gargravarr committed Dec 14, 2023
1 parent cb044b0 commit f89601f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions controller/stackset.go
Original file line number Diff line number Diff line change
Expand Up @@ -1222,6 +1222,12 @@ func (c *StackSetController) ReconcileStackSetDesiredTraffic(ctx context.Context
}

func (c *StackSetController) ReconcileStackResources(ctx context.Context, ssc *core.StackSetContainer, sc *core.StackContainer) error {
if c.configMapSupportEnabled {
err := c.ReconcileStackConfigMap(ctx, sc.Stack, sc.Resources.ConfigMaps, sc.UpdateObjectMeta)
if err != nil {
return c.errorEventf(sc.Stack, "FailedManageConfigMap", err)
}
}

err := c.ReconcileStackDeployment(ctx, sc.Stack, sc.Resources.Deployment, sc.GenerateDeployment)
if err != nil {
Expand Down

0 comments on commit f89601f

Please sign in to comment.