File tree 5 files changed +22
-6
lines changed
5 files changed +22
-6
lines changed Original file line number Diff line number Diff line change @@ -187,8 +187,6 @@ kubectl get pod bar -o=jsonpath='{.spec.imagePullSecrets[0].name}{"\n"}'
187
187
188
188
## Avoid Service Accounts 1/2
189
189
190
- Use field references in environment variables:
191
-
192
190
``` yaml
193
191
apiVersion : v1
194
192
kind : Pod
@@ -215,6 +213,8 @@ spec:
215
213
216
214
<!-- .element: style="float: right; width: 24em;" -->
217
215
216
+ Use field references in environment variables
217
+
218
218
Also supports ` resourceFieldRef` to access resource requests and limits
219
219
220
220
# ## Demo [<i class="fa fa-comment-code"></i>](https://github.com/nicholasdille/container-slides/blob/master/120_kubernetes/rbac/service_account.demo "service_account.demo")
@@ -223,8 +223,6 @@ Also supports `resourceFieldRef` to access resource requests and limits
223
223
224
224
# # Avoid Service Accounts 2/2
225
225
226
- Use downward API to expose pod information :
227
-
228
226
` ` ` yaml
229
227
apiVersion: v1
230
228
kind: Pod
@@ -250,7 +248,7 @@ spec:
250
248
251
249
<!-- .element : style="float: right; width: 25em;" -->
252
250
253
- Downward API [](https://kubernetes.io/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information/)
251
+ Use downward API [](https://kubernetes.io/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information/) to expose pod information
254
252
255
253
Volume of type `downwardAPI` provides pod information
256
254
Original file line number Diff line number Diff line change 1
1
## Role-Based Access Control (RBAC)
2
2
3
+ XXX
4
+
5
+ ---
6
+
7
+ ## Role-Based Access Control (RBAC)
8
+
3
9
### (Cluster)Role(Binding) <i class =" fa fa-face-smile-wink " ></i >
4
10
5
11
Role(Binding) only exist in one namespace
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ <h2 style="font-size: 1.2em; text-transform: none; color: white;">Tricks and Cav
45
45
</ section >
46
46
47
47
< section data-markdown ="000_introduction/02_bio.md " data-separator ="^---$ " data-vertical-separator ="^--$ "> </ section >
48
+ < section data-markdown ="2024-05-08_DevOps-Meetup-RBAC.md " data-separator ="^---$ " data-vertical-separator ="^--$ "> </ section >
48
49
< section data-markdown ="120_kubernetes/rbac/slides.md " data-separator ="^---$ " data-vertical-separator ="^--$ "> </ section >
49
50
< section data-markdown ="120_kubernetes/rbac/aggregation.md " data-separator ="^---$ " data-vertical-separator ="^--$ "> </ section >
50
51
< section data-markdown ="120_kubernetes/rbac/certificate_auth.md " data-separator ="^---$ " data-vertical-separator ="^--$ "> </ section >
Original file line number Diff line number Diff line change
1
+ ## Agenda
2
+
3
+ - <span class =" fa-li " ><i class =" fa-duotone fa-user-shield " ></i ></span > Role Based Access Control (RBAC)
4
+ - <span class =" fa-li " ><i class =" fa-duotone fa-pencil " ></i ></span > Writing (cluster) roles
5
+ - <span class =" fa-li " ><i class =" fa-duotone fa-triangle-exclamation " ></i ></span > Risks
6
+ - <span class =" fa-li " ><i class =" fa-duotone fa-id-card-clip " ></i ></span > Impersonation
7
+ - <span class =" fa-li " ><i class =" fa-duotone fa-shield-quartered " ></i ></span > Securing service accounts
8
+ - <span class =" fa-li " ><i class =" fa-duotone fa-stethoscope " ></i ></span > Audit log
9
+ - <span class =" fa-li " ><i class =" fa-duotone fa-person-military-pointing " ></i ></span > Kyverno
10
+
11
+ <!-- .element: class="fa-ul" style="font-size: larger; margin-top: 0.5em;" -->
Original file line number Diff line number Diff line change 15
15
16
16
slides :
17
17
- 000_introduction/02_bio.md
18
+ - 2024-05-08_DevOps-Meetup-RBAC.md
18
19
- 120_kubernetes/rbac/slides.md
19
20
- 120_kubernetes/rbac/aggregation.md
20
- - 120_kubernetes/rbac/certificate_auth.md
21
21
- 120_kubernetes/rbac/risks.md
22
22
- 120_kubernetes/rbac/impersonation.md
23
23
- 120_kubernetes/rbac/service_account.md
You can’t perform that action at this time.
0 commit comments