Skip to content

Commit

Permalink
updated helm template to work with CICD automation (#2365)
Browse files Browse the repository at this point in the history
* updated helm template to work with CICD automation

Signed-off-by: Henry Li <[email protected]>

* removed operatorVersion because it will have no function when charts are built

Signed-off-by: Henry Li <[email protected]>

---------

Signed-off-by: Henry Li <[email protected]>
  • Loading branch information
bitscuit authored Feb 4, 2025
1 parent 4ce26b0 commit 126bb86
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
5 changes: 2 additions & 3 deletions helm-cluster-scoped/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ imageRegistryNamespaceOperand: cpopen/cpfs

# other configuration you think you might need for your operator
# following are examples, not required:
operatorNamespace: ibm-common-services
servicesNamespace: service
operatorImage: ibm-common-service-operator
operatorNamespace: ""
servicesNamespace: ""
2 changes: 1 addition & 1 deletion helm/templates/operator-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
- s390x
containers:
- name: ibm-common-service-operator
image: {{ .Values.imagePullPrefix}}/{{ .Values.imageRegistryNamespaceOperator}}/{{ .Values.operatorImage }}:{{ .Values.operatorVersion }}
image: {{ .Values.imagePullPrefix}}/{{ .Values.imageRegistryNamespaceOperator}}/common-service-operator:4.11.0
command:
- /manager
env:
Expand Down
7 changes: 2 additions & 5 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,10 @@ imagePullSecret: ibm-entitlement-key
imageRegistryNamespaceOperator: cpopen
imageRegistryNamespaceOperand: cpopen/cpfs

operatorVersion: 4.11.0

# other configuration you think you might need for your operator
# following are examples, not required:
operatorNamespace: <operator namespace>
servicesNamespace: <services namespace>
operatorImage: common-service-operator
operatorNamespace: ""
servicesNamespace: ""

# CR configurations

Expand Down

0 comments on commit 126bb86

Please sign in to comment.