We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
$HOME
nonroot
1 parent 4d4c830 commit cbdc1b3Copy full SHA for cbdc1b3
config/webhook.yaml
@@ -71,6 +71,11 @@ spec:
71
drop:
72
- all
73
74
+ volumeMounts:
75
+ # Failing to provide a writable $HOME can cause TUF client initialization to panic
76
+ - mountPath: /home/nonroot
77
+ name: writable-home-dir
78
+
79
readinessProbe: &probe
80
failureThreshold: 6
81
initialDelaySeconds: 20
@@ -86,6 +91,10 @@ spec:
86
91
# Our webhook should gracefully terminate by lame ducking first, set this to a sufficiently
87
92
# high value that we respect whatever value it has configured for the lame duck grace period.
88
93
terminationGracePeriodSeconds: 300
94
95
+ volumes:
96
+ - emptyDir: {}
97
89
98
---
90
99
apiVersion: v1
100
kind: Secret
0 commit comments