Skip to content

Commit 730233d

Browse files
committed
Final slides for 20240508
1 parent 9615f3b commit 730233d

5 files changed

+22
-6
lines changed

120_kubernetes/rbac/service_account.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,6 @@ kubectl get pod bar -o=jsonpath='{.spec.imagePullSecrets[0].name}{"\n"}'
187187

188188
## Avoid Service Accounts 1/2
189189

190-
Use field references in environment variables:
191-
192190
```yaml
193191
apiVersion: v1
194192
kind: Pod
@@ -215,6 +213,8 @@ spec:
215213
216214
<!-- .element: style="float: right; width: 24em;" -->
217215
216+
Use field references in environment variables
217+
218218
Also supports `resourceFieldRef` to access resource requests and limits
219219

220220
### 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
223223

224224
## Avoid Service Accounts 2/2
225225

226-
Use downward API to expose pod information:
227-
228226
```yaml
229227
apiVersion: v1
230228
kind: Pod
@@ -250,7 +248,7 @@ spec:
250248

251249
<!-- .element: style="float: right; width: 25em;" -->
252250

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
254252

255253
Volume of type `downwardAPI` provides pod information
256254

120_kubernetes/rbac/slides.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
## Role-Based Access Control (RBAC)
22

3+
XXX
4+
5+
---
6+
7+
## Role-Based Access Control (RBAC)
8+
39
### (Cluster)Role(Binding) <i class="fa fa-face-smile-wink"></i>
410

511
Role(Binding) only exist in one namespace

2024-05-08_DevOps-Meetup-RBAC.html

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ <h2 style="font-size: 1.2em; text-transform: none; color: white;">Tricks and Cav
4545
</section>
4646

4747
<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>
4849
<section data-markdown="120_kubernetes/rbac/slides.md" data-separator="^---$" data-vertical-separator="^--$"></section>
4950
<section data-markdown="120_kubernetes/rbac/aggregation.md" data-separator="^---$" data-vertical-separator="^--$"></section>
5051
<section data-markdown="120_kubernetes/rbac/certificate_auth.md" data-separator="^---$" data-vertical-separator="^--$"></section>

2024-05-08_DevOps-Meetup-RBAC.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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;" -->

2024-05-08_DevOps-Meetup-RBAC.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ event:
1515

1616
slides:
1717
- 000_introduction/02_bio.md
18+
- 2024-05-08_DevOps-Meetup-RBAC.md
1819
- 120_kubernetes/rbac/slides.md
1920
- 120_kubernetes/rbac/aggregation.md
20-
- 120_kubernetes/rbac/certificate_auth.md
2121
- 120_kubernetes/rbac/risks.md
2222
- 120_kubernetes/rbac/impersonation.md
2323
- 120_kubernetes/rbac/service_account.md

0 commit comments

Comments
 (0)