File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -28,15 +28,19 @@ if os.path.exists('result'):
2828k8s_kind ('Deployment' , image_json_path = '{.spec.template.metadata.annotations.internal\\ .stackable\\ .tech/image}' )
2929k8s_kind ('DaemonSet' , image_json_path = '{.spec.template.metadata.annotations.internal\\ .stackable\\ .tech/image}' )
3030
31+ helm_override_image_repository = 'image.repository=' + registry + '/' + operator_name
32+ if operator_name == "secret-operator" :
33+ # secret-operator image reference is under the secretOperator section
34+ helm_override_image_repository = "secretOperator." + helm_override_image_repository
35+
3136# Exclude stale CRDs from Helm chart, and apply the rest
3237helm_crds , helm_non_crds = filter_yaml (
3338 helm (
3439 'deploy/helm/' + operator_name ,
3540 name = operator_name ,
3641 namespace = "stackable-operators" ,
3742 set = [
38- 'image.repository=' + registry + '/' + operator_name ,
39- 'secretOperator.image.repository=' + registry + '/' + operator_name ,
43+ helm_override_image_repository ,
4044 ],
4145 ),
4246 api_version = "^apiextensions\\ .k8s\\ .io/.*$" ,
You can’t perform that action at this time.
0 commit comments