Skip to content

Commit

Permalink
fix: Comply to stable API for SBO
Browse files Browse the repository at this point in the history
  • Loading branch information
nastacio committed Nov 3, 2021
1 parent 21555c6 commit 0186941
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 3 deletions.
1 change: 1 addition & 0 deletions config/cloudpaks/cp4i/client/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ resources:
- mq-dev-patterns-node-deployment.yaml
- openjdk-imagestream.yaml
- node-imagestream.yaml
- sbo-account-role-binding.yaml
- service-binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ spec:
app.kubernetes.io/part-of: app-mq-dev-patterns
spec:
containers:
- image: image-registry.openshift-image-registry.svc:5000/dev/mq-dev-patterns-jms:latest
- env:
- name: SERVICE_BINDING_ROOT
value: /config
image: image-registry.openshift-image-registry.svc:5000/dev/mq-dev-patterns-jms:latest
imagePullPolicy: Always
name: mq-dev-patterns-jms
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ spec:
app.kubernetes.io/part-of: app-mq-dev-patterns
spec:
containers:
- image: image-registry.openshift-image-registry.svc:5000/dev/mq-dev-patterns-node:latest
- env:
- name: SERVICE_BINDING_ROOT
value: /config
image: image-registry.openshift-image-registry.svc:5000/dev/mq-dev-patterns-node:latest
imagePullPolicy: Always
name: mq-dev-patterns-node
ports:
Expand Down
18 changes: 18 additions & 0 deletions config/cloudpaks/cp4i/client/base/sbo-account-role-binding.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
# https://github.ibm.com/IBMPrivateCloud/roadmap/issues/48099
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
creationTimestamp: null
name: sbo-admin-cloudpaks
namespace: ibm-cloudpaks
annotations:
argocd.argoproj.io/sync-wave: "10"
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: admin
subjects:
- kind: ServiceAccount
name: service-binding-operator
namespace: openshift-operators
1 change: 0 additions & 1 deletion config/cloudpaks/cp4i/client/base/service-binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ spec:
version: v1
resource: deployments
bindAsFiles: true
mountPath: /config
services:
- group: mq.ibm.com
version: v1beta1
Expand Down

0 comments on commit 0186941

Please sign in to comment.