mirror of
https://github.com/lukaszraczylo/jobs-manager-operator.git
synced 2026-07-11 07:21:50 +00:00
Add missing ImagePullPolicy to the newly created jobs.
This commit is contained in:
@@ -13,12 +13,12 @@ type: application
|
|||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# 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.
|
# to the chart and its templates, including the app version.
|
||||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
# 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
|
# 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
|
# 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.
|
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||||
# It is recommended to use it with quotes.
|
# It is recommended to use it with quotes.
|
||||||
appVersion: "0.0.24"
|
appVersion: "0.0.30"
|
||||||
keywords:
|
keywords:
|
||||||
- operator
|
- operator
|
||||||
- jobs
|
- jobs
|
||||||
|
|||||||
@@ -52,6 +52,9 @@ func (cp *connPackage) compileParameters(params ...jobsmanagerv1beta1.ManagedJob
|
|||||||
if params.ImagePullSecrets != nil {
|
if params.ImagePullSecrets != nil {
|
||||||
cparams.ImagePullSecrets = append(cparams.ImagePullSecrets, params.ImagePullSecrets...)
|
cparams.ImagePullSecrets = append(cparams.ImagePullSecrets, params.ImagePullSecrets...)
|
||||||
}
|
}
|
||||||
|
if params.ImagePullPolicy != "" {
|
||||||
|
cparams.ImagePullPolicy = params.ImagePullPolicy
|
||||||
|
}
|
||||||
if params.Labels != nil {
|
if params.Labels != nil {
|
||||||
cparams.Labels = make(map[string]string)
|
cparams.Labels = make(map[string]string)
|
||||||
for k, v := range params.Labels {
|
for k, v := range params.Labels {
|
||||||
|
|||||||
Reference in New Issue
Block a user