File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
deploy/helm/secret-operator/templates Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -20,13 +20,13 @@ custom_build(
2020# We need to set the correct image annotation on the operator Deployment to use e.g.
2121# oci.stackable.tech/sandbox/opa-operator:7y19m3d8clwxlv34v5q2x4p7v536s00g instead of
2222# oci.stackable.tech/sandbox/opa-operator:0.0.0-dev (which does not exist)
23- k8s_kind ('Deployment ' , image_json_path = '{.spec.template.metadata.annotations.internal\\ .stackable\\ .tech/image}' )
23+ k8s_kind ('DaemonSet ' , image_json_path = '{.spec.template.metadata.annotations.internal\\ .stackable\\ .tech/image}' )
2424
2525k8s_yaml (helm (
2626 'deploy/helm/' + operator_name ,
2727 name = operator_name ,
2828 namespace = "stackable-operators" ,
2929 set = [
30- 'image.repository=' + registry + '/' + operator_name ,
30+ 'secretOperator. image.repository=' + registry + '/' + operator_name ,
3131 ],
3232))
Original file line number Diff line number Diff line change @@ -11,10 +11,11 @@ spec:
1111 {{- include "operator.selectorLabels" . | nindent 6 }}
1212 template :
1313 metadata :
14- {{- with .Values.podAnnotations }}
1514 annotations :
16- {{- toYaml . | nindent 8 }}
17- {{- end }}
15+ internal.stackable.tech/image : " {{ .Values.secretOperator.image.repository }}:{{ .Values.secretOperator.image.tag | default .Chart.AppVersion }}"
16+ {{- with .Values.podAnnotations }}
17+ {{- toYaml . | nindent 8 }}
18+ {{- end }}
1819 labels :
1920 {{- include "operator.selectorLabels" . | nindent 8 }}
2021 spec :
You can’t perform that action at this time.
0 commit comments