Skip to content

Commit

Permalink
remove hardcoded namespace from rolebinding
Browse files Browse the repository at this point in the history
Signed-off-by: Utkarsh Srivastava <[email protected]>
  • Loading branch information
tangledbytes committed Sep 16, 2024
1 parent d509538 commit d6f7ea0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions deploy/role_binding_core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: noobaa-core
namespace: openshift-storage
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: noobaa-core
subjects:
- kind: ServiceAccount
name: noobaa-core
namespace: openshift-storage
4 changes: 1 addition & 3 deletions pkg/bundle/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -6310,21 +6310,19 @@ subjects:
name: custom-metrics-prometheus-adapter
`

const Sha256_deploy_role_binding_core_yaml = "99b90a402f770a4c3e7b1bb36c4e9175341f1697ff68a8ff3b121b43ef4d69d5"
const Sha256_deploy_role_binding_core_yaml = "23dd0d60002ea999cc9f7e10fb3a8000e2c19f8a3ee27971f443acd06f698729"

const File_deploy_role_binding_core_yaml = `apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: noobaa-core
namespace: openshift-storage
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: noobaa-core
subjects:
- kind: ServiceAccount
name: noobaa-core
namespace: openshift-storage
`

const Sha256_deploy_role_binding_db_yaml = "3a4872fcde50e692ae52bbd208a8e1d115c574431c25a9644a7c820ae13c7748"
Expand Down

0 comments on commit d6f7ea0

Please sign in to comment.