Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Commit

Permalink
feat(cluster-generator): allow templating of app labels
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Goodness <michael.goodness@mlb.com>
  • Loading branch information
mgoodness committed Sep 1, 2020
1 parent 567ab7c commit 0f4c009
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/generators/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ func (g *ClusterGenerator) GenerateApplications(
log.Debug("clusters matching labels", "count", len(clusterSecretList.Items))

var tmplApplication argov1alpha1.Application
tmplApplication.Labels = appSet.Spec.Template.Labels
tmplApplication.Namespace = appSet.Spec.Template.Namespace
tmplApplication.Name = appSet.Spec.Template.Name
tmplApplication.Spec = appSet.Spec.Template.Spec
Expand Down

0 comments on commit 0f4c009

Please sign in to comment.