diff --git a/controllers/nodepool.go b/controllers/nodepool.go index 7592e7ff..c1b15d2d 100644 --- a/controllers/nodepool.go +++ b/controllers/nodepool.go @@ -526,6 +526,10 @@ func (r *SFController) DeployNodepoolBuilder(statsdExporterVolume apiv1.Volume, "corporate-ca-certs-version": getCMVersion(corporateCM, corporateCMExists), } + if r.isConfigRepoSet() { + annotations["config-repo-info-hash"] = r.cr.Spec.ConfigRepositoryLocation.BaseURL + r.cr.Spec.ConfigRepositoryLocation.Name + } + initContainer := base.MkContainer("nodepool-builder-init", base.NodepoolBuilderImage) initContainer.Command = []string{"/usr/local/bin/init-container.sh"}