@@ -57,6 +57,9 @@ func (as *AmaltheaSession) auth() (manifests, error) {
5757 SecurityContext : & v1.SecurityContext {
5858 AllowPrivilegeEscalation : ptr .To (false ),
5959 RunAsNonRoot : ptr .To (true ),
60+ Capabilities : & v1.Capabilities {
61+ Drop : []v1.Capability {"ALL" },
62+ },
6063 },
6164 Args : []string {
6265 fmt .Sprintf ("--upstream=%s" , fmt .Sprintf ("http://127.0.0.1:%d" , secondProxyPort )),
@@ -161,6 +164,9 @@ func (as *AmaltheaSession) auth() (manifests, error) {
161164 SecurityContext : & v1.SecurityContext {
162165 AllowPrivilegeEscalation : ptr .To (false ),
163166 RunAsNonRoot : ptr .To (true ),
167+ Capabilities : & v1.Capabilities {
168+ Drop : []v1.Capability {"ALL" },
169+ },
164170 },
165171 Args : []string {
166172 "--silence-ping-logging" ,
@@ -230,6 +236,9 @@ func (as *AmaltheaSession) get_rewrite_authn_proxy(listenPort int32, metaListenP
230236 RunAsNonRoot : ptr .To (true ),
231237 RunAsUser : ptr .To (int64 (1000 )),
232238 RunAsGroup : ptr .To (int64 (1000 )),
239+ Capabilities : & v1.Capabilities {
240+ Drop : []v1.Capability {"ALL" },
241+ },
233242 },
234243 Args : []string {
235244 "proxy" ,
0 commit comments