Skip to content

Commit

Permalink
Merge pull request checkpoint-restore#3 from Parthiba-Hazra/manager
Browse files Browse the repository at this point in the history
Update controller-manager to Allow Operator Access to Checkpoints
  • Loading branch information
adrianreber committed Jun 7, 2024
2 parents f79db27 + 7c7a925 commit 4f69d8b
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,12 @@ spec:
image: controller:latest
name: manager
securityContext:
allowPrivilegeEscalation: false
runAsNonRoot: false
runAsUser: 0
allowPrivilegeEscalation: true
capabilities:
drop:
- "ALL"
drop: ["ALL"]
add: ["DAC_OVERRIDE", "FOWNER"]
livenessProbe:
httpGet:
path: /healthz
Expand All @@ -98,5 +100,13 @@ spec:
requests:
cpu: 10m
memory: 64Mi
volumeMounts:
- name: kubelet-checkpoints
mountPath: /var/lib/kubelet/checkpoints
serviceAccountName: controller-manager
terminationGracePeriodSeconds: 10
volumes:
- name: kubelet-checkpoints
hostPath:
path: /var/lib/kubelet/checkpoints
type: Directory

0 comments on commit 4f69d8b

Please sign in to comment.