Completed upto lesson 28

This commit is contained in:
Mosiur Rahman
2026-08-23 15:29:06 +06:00
parent fb86f0b60a
commit 8e43c00cd6
104 changed files with 1888 additions and 0 deletions

34
lab/lesson-24-answer.yaml Normal file
View File

@@ -0,0 +1,34 @@
apiVersion: v1
kind: Namespace
metadata:
name: release
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: release-bot
namespace: release
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: release-bot-reader
namespace: release
rules:
- apiGroups: [""]
resources: ["configmaps"]
verbs: ["get", "list", "watch"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: release-bot-reader
namespace: release
subjects:
- kind: ServiceAccount
name: release-bot
namespace: release
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: release-bot-reader