Skip to content
Prev Previous commit
Next Next commit
update namespaces
Signed-off-by: Allen Li <[email protected]>
  • Loading branch information
qpdpQ committed Jan 23, 2025
commit 46d6f6e63f14828b9b7000019ac4e5a18e0e7228
2 changes: 1 addition & 1 deletion helm-cluster-scoped/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: ibm-odlm
description: A Helm chart for ibm-odlm
type: application
version: <CASE version>
version: 4.3.9
appVersion: 4.3.9
3 changes: 2 additions & 1 deletion helm-cluster-scoped/templates/01-cluster-rbac.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
###
### no cluster rbac for ODLM
# if it is v3 -> v4 upgrade we need to add permission to cleanup certmanager, auditlogging and licensing CR
2 changes: 1 addition & 1 deletion helm-cluster-scoped/templates/02-cluster-webhook.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
###
### no webhook for ODLM
5 changes: 5 additions & 0 deletions helm-cluster-scoped/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
imagePullPrefix: icr.io
imageRegistryNamespaceOperator: cpopen
imageRegistryNamespaceOperand: cpopen/cpfs
imagePullSecret: ibm-entilement-key

# other configuration you think you might need for your operator
# following are examples, not required:
operatorNamespace: ibm-common-services
servicesNamespace: service
operatorImage: quay.io/luzarragaben/odlm:nolm-controller3
2 changes: 1 addition & 1 deletion helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: ibm-odlm
description: A Helm chart for ibm-odlm
type: application
version: <CASE version>
version: 4.3.9
appVersion: 4.3.9
4 changes: 4 additions & 0 deletions helm/templates/00-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: operand-deployment-lifecycle-manager
namespace: {{ .Values.operatorNamespace }}
rules:
- apiGroups:
- ""
Expand Down Expand Up @@ -182,13 +183,15 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: operand-deployment-lifecycle-manager
namespace: {{ .Values.operatorNamespace }}

---
### role only for olm
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: operand-deployment-lifecycle-manager.v4.3.9
namespace: {{ .Values.operatorNamespace }}
rules:
- apiGroups:
- operators.coreos.com
Expand All @@ -207,6 +210,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: operand-deployment-lifecycle-manager.v4.3.9
namespace: {{ .Values.operatorNamespace }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
Expand Down
1 change: 1 addition & 0 deletions helm/templates/01-operator-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
app.kubernetes.io/managed-by: Helm
productName: IBM_Cloud_Platform_Common_Services
name: operand-deployment-lifecycle-manager
namespace: {{ .Values.operatorNamespace }}
spec:
progressDeadlineSeconds: 600
replicas: 1
Expand Down
Loading