Skip to content

Commit

Permalink
- fixing the issue, was referencing the wrong thing
Browse files Browse the repository at this point in the history
  • Loading branch information
gambol99 committed Nov 17, 2023
1 parent 392c201 commit b3f70a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/controller/configuration/ensure.go
Original file line number Diff line number Diff line change
Expand Up @@ -701,12 +701,12 @@ func (c *Controller) ensureTerraformPlan(configuration *terraformv1alpha1.Config

// @step: lets build the options to render the job
options := jobs.Options{
AdditionalJobAnnotations: state.provider.GetAnnotations(),
AdditionalJobAnnotations: state.provider.JobAnnotations(),
AdditionalJobSecrets: state.additionalJobSecrets,
AdditionalJobLabels: utils.MergeStringMaps(
// thats a lot of labels!
c.ControllerJobLabels,
state.provider.GetLabels(),
state.provider.JobLabels(),
configuration.GetLabels(),
map[string]string{
terraformv1alpha1.DriftAnnotation: configuration.GetAnnotations()[terraformv1alpha1.DriftAnnotation],
Expand Down

0 comments on commit b3f70a4

Please sign in to comment.