diff --git a/charts/jobs-manager-operator/Chart.yaml b/charts/jobs-manager-operator/Chart.yaml index cd4c2f9..c1ec2a7 100644 --- a/charts/jobs-manager-operator/Chart.yaml +++ b/charts/jobs-manager-operator/Chart.yaml @@ -13,12 +13,12 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.0.24 +version: 0.0.30 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "0.0.24" +appVersion: "0.0.30" keywords: - operator - jobs diff --git a/controllers/crd_scrapper.go b/controllers/crd_scrapper.go index af62a26..eb0367d 100644 --- a/controllers/crd_scrapper.go +++ b/controllers/crd_scrapper.go @@ -52,6 +52,9 @@ func (cp *connPackage) compileParameters(params ...jobsmanagerv1beta1.ManagedJob if params.ImagePullSecrets != nil { cparams.ImagePullSecrets = append(cparams.ImagePullSecrets, params.ImagePullSecrets...) } + if params.ImagePullPolicy != "" { + cparams.ImagePullPolicy = params.ImagePullPolicy + } if params.Labels != nil { cparams.Labels = make(map[string]string) for k, v := range params.Labels {