Commit 76e1b87
authored
OADP-6019: Add emptyDir volume for tmp files created by CCO flow for AWS STS. (#1731)
Add a new emptyDir volume named tmp-dir to the controller pod specification
Add a volume mount to the container that mounts this volume to /tmp
Keep readOnlyRootFilesystem: true for security
Replaced the deprecated ioutil.TempFile() function with the recommended os.CreateTemp() function
Removed the unnecessary io/ioutil import since it's no longer needed
Signed-off-by: Tiger Kaovilai <[email protected]>1 parent a21288a commit 76e1b87
File tree
3 files changed
+9
-2
lines changed- bundle/manifests
- config/manager
- pkg/bucket
3 files changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1164 | 1164 | | |
1165 | 1165 | | |
1166 | 1166 | | |
| 1167 | + | |
| 1168 | + | |
1167 | 1169 | | |
1168 | 1170 | | |
1169 | 1171 | | |
| |||
1176 | 1178 | | |
1177 | 1179 | | |
1178 | 1180 | | |
| 1181 | + | |
| 1182 | + | |
1179 | 1183 | | |
1180 | 1184 | | |
1181 | 1185 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
| |||
126 | 128 | | |
127 | 129 | | |
128 | 130 | | |
| 131 | + | |
| 132 | + | |
129 | 133 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
91 | 90 | | |
92 | 91 | | |
93 | 92 | | |
94 | | - | |
| 93 | + | |
95 | 94 | | |
96 | 95 | | |
97 | 96 | | |
| |||
0 commit comments