resolved comments and stuff

This commit is contained in:
Safwan
2025-07-18 19:27:26 +05:00
parent 19918e6fa8
commit 1e1f094516
9 changed files with 221 additions and 83 deletions

View File

@@ -76,6 +76,37 @@ subjects:
name: reloader-reloader
namespace: default
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: reloader-metadata-role
namespace: default
rules:
- apiGroups:
- ""
resources:
- configmaps
verbs:
- list
- get
- watch
- create
- update
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: reloader-metadata-role-binding
namespace: default
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: reloader-metadata-role
subjects:
- kind: ServiceAccount
name: reloader-reloader
namespace: default
---
apiVersion: apps/v1
kind: Deployment
metadata:
@@ -110,9 +141,7 @@ spec:
fieldPath: metadata.namespace
- name: RELOADER_DEPLOYMENT_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
value: default
image: "ghcr.io/stakater/reloader:latest"
imagePullPolicy: IfNotPresent