@@ -26,6 +26,14 @@ if os.path.exists('result'):
2626# oci.stackable.tech/sandbox/opa-operator:7y19m3d8clwxlv34v5q2x4p7v536s00g instead of 
2727# oci.stackable.tech/sandbox/opa-operator:0.0.0-dev (which does not exist) 
2828k8s_kind ('Deployment' , image_json_path = '{.spec.template.metadata.annotations.internal\\ .stackable\\ .tech/image}' )
29+ k8s_kind ('DaemonSet' , image_json_path = '{.spec.template.metadata.annotations.internal\\ .stackable\\ .tech/image}' )
30+ 
31+ # Optionally specify a custom Helm values file to be passed to the Helm deployment below. 
32+ # This file can for example be used to set custom telemetry options (like log level) which is not 
33+ # supported by helm(set). 
34+ helm_values  =  settings .get ('helm_values' , None )
35+ 
36+ helm_override_image_repository  =  'image.repository='  +  registry  +  '/'  +  operator_name 
2937
3038# Exclude stale CRDs from Helm chart, and apply the rest 
3139helm_crds , helm_non_crds  =  filter_yaml (
@@ -34,8 +42,9 @@ helm_crds, helm_non_crds = filter_yaml(
3442      name = operator_name ,
3543      namespace = "stackable-operators" ,
3644      set = [
37-          'image.repository='   +   registry   +   '/'   +   operator_name ,
45+          helm_override_image_repository ,
3846      ],
47+       values = helm_values ,
3948   ),
4049   api_version  =  "^apiextensions\\ .k8s\\ .io/.*$" ,
4150   kind  =  "^CustomResourceDefinition$" ,
0 commit comments