Browse Source

Run ssh-bastion in privileged mode

Vadim Rutkovsky 6 năm trước cách đây
mục cha
commit
04ecdc0bd3
2 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 1 1
      test/aws/files/03_role.yml
  2. 2 0
      test/aws/files/07_deployment.yml

+ 1 - 1
test/aws/files/03_role.yml

@@ -11,4 +11,4 @@ rules:
   verbs:
   - use
   resourceNames:
-  - anyuid
+  - privileged

+ 2 - 0
test/aws/files/07_deployment.yml

@@ -20,6 +20,8 @@ spec:
       - image: quay.io/eparis/ssh:latest
         imagePullPolicy: Always
         name: ssh-bastion
+        securityContext:
+          privileged: true
         ports:
         - containerPort: 22
           name: ssh