Skip to content

Commit 0d28729

Browse files
committed
refactor: removal of deployment dir, and updating the readme to use make deploy cmd
1 parent c28d377 commit 0d28729

7 files changed

+16
-144
lines changed

README.md

+1-10
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,7 @@ Key features:
3333
- 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
3434
## Deployment
3535
- Deploy MCAD using steps [here](https://github.com/project-codeflare/multi-cluster-app-dispatcher/blob/main/doc/deploy/deployment.md).
36-
- Deploy InstaScale using commands below:
37-
```
38-
git clone https://github.com/project-codeflare/instascale.git
39-
cd deployment/
40-
oc apply -f instascale-configmap.yaml
41-
oc apply -f instascale-sa.yaml
42-
oc apply -f instascale-clusterrole.yaml
43-
oc apply -f instascale-clusterrolebinding.yaml
44-
oc apply -f deployment.yaml
45-
```
36+
- Deploy InstaScale using: `make deploy`
4637

4738
## Testing
4839

config/rbac/role.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,18 @@ rules:
4949
- get
5050
- patch
5151
- update
52+
- apiGroups:
53+
- ""
54+
resourceNames:
55+
- instascale-ocm-secret
56+
resources:
57+
- secrets
58+
verbs:
59+
- get
60+
- apiGroups:
61+
- config.openshift.io
62+
resources:
63+
- clusterversions
64+
verbs:
65+
- get
66+
- update

deployment/deployment.yaml

-39
This file was deleted.

deployment/instascale-clusterrole.yaml

-69
This file was deleted.

deployment/instascale-clusterrolebinding.yaml

-13
This file was deleted.

deployment/instascale-configmap.yaml

-7
This file was deleted.

deployment/instascale-sa.yaml

-6
This file was deleted.

0 commit comments

Comments
 (0)