File tree Expand file tree Collapse file tree 7 files changed +53
-46
lines changed Expand file tree Collapse file tree 7 files changed +53
-46
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2025 Intel Corporation
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ apiVersion : rbac.authorization.k8s.io/v1
5
+ kind : Role
6
+ metadata :
7
+ name : intel-dsa
8
+ namespace : intel-dsa
9
+ rules :
10
+ - apiGroups :
11
+ - security.openshift.io
12
+ resources :
13
+ - securitycontextconstraints
14
+ resourceNames :
15
+ - intel-dsa-scc
16
+ verbs :
17
+ - use
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2025 Intel Corporation
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ apiVersion : rbac.authorization.k8s.io/v1
5
+ kind : RoleBinding
6
+ metadata :
7
+ name : intel-dsa
8
+ roleRef :
9
+ apiGroup : rbac.authorization.k8s.io
10
+ kind : Role
11
+ name : intel-dsa
12
+ subjects :
13
+ - kind : ServiceAccount
14
+ name : intel-dsa
15
+ namespace : intel-dsa
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2025 Intel Corporation
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ apiVersion : v1
5
+ kind : ServiceAccount
6
+ metadata :
7
+ name : intel-dsa
8
+ namespace : intel-dsa
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ This workload runs [accel-config](https://github.com/intel/idxd-config) sample t
6
6
Please replace the credentials in buildconfig yaml with your RedHat account login credentials.
7
7
8
8
```
9
+ $ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/dsa/dsa_imagestream.yaml
9
10
$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/dsa/dsa_build.yaml
10
11
```
11
12
@@ -15,10 +16,12 @@ $ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-
15
16
$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/security/dsa_scc.yaml
16
17
```
17
18
18
- * Create the intel-dsa service account to use intel-dsa-scc
19
+ * Create the intel-dsa serviceAccount, role and roleBinding to use intel-dsa-scc
19
20
20
21
```
21
- $ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/security/dsa_rbac.yaml
22
+ $ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/security/dsa_serviceAccount.yaml
23
+ $ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/security/dsa_role.yaml
24
+ $ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/security/dsa_roleBinding.yaml
22
25
```
23
26
24
27
* Deploy the accel-config workload job with intel-dsa service account
Original file line number Diff line number Diff line change 1
1
# Copyright (c) 2024 Intel Corporation
2
2
# SPDX-License-Identifier: Apache-2.0
3
3
4
- apiVersion : image.openshift.io/v1
5
- kind : ImageStream
6
- metadata :
7
- name : intel-dsa-workload
8
- namespace : intel-dsa
9
- spec : {}
10
- ---
11
4
apiVersion : build.openshift.io/v1
12
5
kind : BuildConfig
13
6
metadata :
53
46
secretKeyRef :
54
47
key : password
55
48
name : rh-auth
56
-
57
49
output :
58
50
to :
59
51
kind : ImageStreamTag
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2025 Intel Corporation
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ apiVersion : image.openshift.io/v1
5
+ kind : ImageStream
6
+ metadata :
7
+ name : intel-dsa-workload
8
+ namespace : intel-dsa
You can’t perform that action at this time.
0 commit comments