Skip to content

Commit

Permalink
refactor: removal of deployment dir, and updating the readme to use m…
Browse files Browse the repository at this point in the history
…ake deploy cmd
  • Loading branch information
dimakis committed Jun 26, 2023
1 parent c28d377 commit 0d28729
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 144 deletions.
11 changes: 1 addition & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,7 @@ Key features:
- Note that the other contents of the Makefile (as well as the `config` and `bin` dirs) exist for future operator development, and are not currently utilized
## Deployment
- Deploy MCAD using steps [here](https://github.com/project-codeflare/multi-cluster-app-dispatcher/blob/main/doc/deploy/deployment.md).
- Deploy InstaScale using commands below:
```
git clone https://github.com/project-codeflare/instascale.git
cd deployment/
oc apply -f instascale-configmap.yaml
oc apply -f instascale-sa.yaml
oc apply -f instascale-clusterrole.yaml
oc apply -f instascale-clusterrolebinding.yaml
oc apply -f deployment.yaml
```
- Deploy InstaScale using: `make deploy`

## Testing

Expand Down
15 changes: 15 additions & 0 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,18 @@ rules:
- get
- patch
- update
- apiGroups:
- ""
resourceNames:
- instascale-ocm-secret
resources:
- secrets
verbs:
- get
- apiGroups:
- config.openshift.io
resources:
- clusterversions
verbs:
- get
- update
39 changes: 0 additions & 39 deletions deployment/deployment.yaml

This file was deleted.

69 changes: 0 additions & 69 deletions deployment/instascale-clusterrole.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions deployment/instascale-clusterrolebinding.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions deployment/instascale-configmap.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions deployment/instascale-sa.yaml

This file was deleted.

0 comments on commit 0d28729

Please sign in to comment.