Skip to content

Commit

Permalink
COSI-XX: mention-cosi-driver-to-clarify-resource-owner
Browse files Browse the repository at this point in the history
  • Loading branch information
anurag4DSB committed Jan 13, 2025
1 parent 8cd8953 commit 441efe0
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions helm/scality-cosi-driver/templates/rbac.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: scality-object-storage-provisioner-role
name: scality-cosi-driver-provisioner-role
rules:
- apiGroups: ["objectstorage.k8s.io"]
resources: ["buckets", "bucketaccesses", "bucketclaims", "bucketaccessclasses"]
Expand All @@ -17,12 +17,12 @@ rules:
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: scality-object-storage-provisioner-role-binding
name: scality-cosi-driver-provisioner-role-binding
subjects:
- kind: ServiceAccount
name: {{ .Values.serviceAccount.name }}
namespace: {{ .Values.namespace }}
roleRef:
kind: ClusterRole
name: scality-object-storage-provisioner-role
name: scality-cosi-driver-provisioner-role
apiGroup: rbac.authorization.k8s.io
2 changes: 1 addition & 1 deletion helm/scality-cosi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fullnameOverride: scality-cosi-driver


serviceAccount:
name: scality-object-storage-provisioner
name: scality-cosi-driver-provisioner
create: true

metrics:
Expand Down
2 changes: 1 addition & 1 deletion kustomize/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
app.kubernetes.io/version: main
app.kubernetes.io/managed-by: kustomize
spec:
serviceAccountName: scality-object-storage-provisioner
serviceAccountName: scality-cosi-driver-provisioner
containers:
- name: scality-cosi-driver
image: ghcr.io/scality/cosi-driver:latest
Expand Down
2 changes: 1 addition & 1 deletion kustomize/base/namespace.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: scality-object-storage
name: scality-cosi-driver
8 changes: 4 additions & 4 deletions kustomize/base/rbac.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: scality-object-storage-provisioner-role
name: scality-cosi-driver-provisioner-role
rules:
- apiGroups: ["objectstorage.k8s.io"]
resources: ["buckets", "bucketaccesses", "bucketclaims", "bucketaccessclasses", "buckets/status", "bucketaccesses/status", "bucketclaims/status", "bucketaccessclasses/status"]
Expand All @@ -20,12 +20,12 @@ rules:
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: scality-object-storage-provisioner-role-binding
name: scality-cosi-driver-provisioner-role-binding
subjects:
- kind: ServiceAccount
name: scality-object-storage-provisioner
name: scality-cosi-driver-provisioner
namespace: default
roleRef:
kind: ClusterRole
name: scality-object-storage-provisioner-role
name: scality-cosi-driver-provisioner-role
apiGroup: rbac.authorization.k8s.io
2 changes: 1 addition & 1 deletion kustomize/base/serviceaccount.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: scality-object-storage-provisioner
name: scality-cosi-driver-provisioner
namespace: default
2 changes: 1 addition & 1 deletion kustomize/overlays/debug/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
app.kubernetes.io/version: main
app.kubernetes.io/managed-by: kustomize
spec:
serviceAccountName: scality-object-storage-provisioner
serviceAccountName: scality-cosi-driver-provisioner
containers:
- name: scality-cosi-driver
image: ghcr.io/scality/cosi-driver-delve:latest
Expand Down

0 comments on commit 441efe0

Please sign in to comment.