File tree Expand file tree Collapse file tree 5 files changed +14
-52
lines changed
testfiles/wiz-outpost-lite Expand file tree Collapse file tree 5 files changed +14
-52
lines changed Original file line number Diff line number Diff line change 11---
2- # Source: wiz-outpost-lite/templates/serviceaccount.yaml
3- apiVersion : v1
4- kind : ServiceAccount
5- metadata :
6- name : sa-remediation-aws-rds-003
7- labels :
8- helm.sh/chart : " GOLDEN_STATIC_VALUE"
9- app.kubernetes.io/name : wiz-outpost-lite
10- app.kubernetes.io/instance : release-test
11- wiz.io/runner : " remediation-aws-rds-003"
12- app.kubernetes.io/version : " 0.1.0"
13- app.kubernetes.io/managed-by : Helm
14- ---
152# Source: wiz-outpost-lite/templates/credentials.secret.yaml
163apiVersion : v1
174kind : Secret
7966 app.kubernetes.io/instance : release-test
8067 wiz.io/runner : " remediation-aws-rds-003"
8168 spec :
82- serviceAccountName : sa-remediation-aws-rds-003
83- securityContext :
84- runAsNonRoot : false
8569 restartPolicy : Always
8670 containers :
8771 - name : wiz-outpost-lite-remediation-aws-rds-003
@@ -174,6 +158,8 @@ spec:
174158 capabilities :
175159 add :
176160 - SYS_ADMIN
161+ seLinuxOptions :
162+ type : spc_t
177163 volumeMounts :
178164 - mountPath : /var/wiz
179165 name : working-dir
Original file line number Diff line number Diff line change 11---
2- # Source: wiz-outpost-lite/templates/serviceaccount.yaml
3- apiVersion : v1
4- kind : ServiceAccount
5- metadata :
6- name : sa-remediation-aws-rds-003
7- namespace : release-helm-namespace
8- labels :
9- helm.sh/chart : " GOLDEN_STATIC_VALUE"
10- app.kubernetes.io/name : wiz-outpost-lite
11- app.kubernetes.io/instance : release-test
12- wiz.io/runner : " remediation-aws-rds-003"
13- app.kubernetes.io/version : " 0.1.0"
14- app.kubernetes.io/managed-by : Helm
15- ---
162# Source: wiz-outpost-lite/templates/credentials.secret.yaml
173apiVersion : v1
184kind : Secret
8066 app.kubernetes.io/instance : release-test
8167 wiz.io/runner : " remediation-aws-rds-003"
8268 spec :
83- serviceAccountName : sa-remediation-aws-rds-003
84- securityContext :
85- fsGroup : 1000
86- runAsGroup : 1000
87- runAsNonRoot : true
88- runAsUser : 1000
8969 restartPolicy : Always
9070 containers :
9171 - name : wiz-outpost-lite-remediation-aws-rds-003
@@ -175,17 +155,11 @@ spec:
175155 requests :
176156 memory : 1024M
177157 securityContext :
178- allowPrivilegeEscalation : false
179158 capabilities :
180- drop :
181- - ALL
182- privileged : false
183- readOnlyRootFilesystem : true
184- runAsGroup : 1000
185- runAsNonRoot : true
186- runAsUser : 1000
159+ add :
160+ - SYS_ADMIN
187161 seLinuxOptions :
188- type : container_t
162+ type : spc_t
189163 volumeMounts :
190164 - mountPath : /var/wiz
191165 name : working-dir
Original file line number Diff line number Diff line change 9393 restartPolicy : Always
9494 containers :
9595 - name : wiz-outpost-lite-vcs-event-triggered
96- image : " wizio.azurecr.io/outpost-lite-runner-vcs-event-triggered :0.1-latest"
96+ image : " wizio.azurecr.io/outpost-lite-runner-vcs:0.1-latest"
9797 command : [ "/entrypoint"]
9898 imagePullPolicy : Always
9999 env :
@@ -236,7 +236,7 @@ spec:
236236 restartPolicy : Always
237237 containers :
238238 - name : wiz-outpost-lite-vcs-scheduled
239- image : " wizio.azurecr.io/outpost-lite-runner-vcs-scheduled :0.1-latest"
239+ image : " wizio.azurecr.io/outpost-lite-runner-vcs:0.1-latest"
240240 command : [ "/entrypoint"]
241241 imagePullPolicy : Always
242242 env :
Original file line number Diff line number Diff line change 44 clientSecret : " secret-2"
55 outpostId : " my-outpost-id"
66
7- # Using the new hierarchical structure
87runners :
98 remediation-aws-rds-003 :
109 enabled : true
11- module : remediation # Reference to the module type
12- # Using the override fields
13- podSecurityContextOverride :
10+ podSecurityContext :
1411 runAsNonRoot : false
12+ # Using the override fields
1513 containerSecurityContextOverride :
1614 capabilities :
1715 add :
Original file line number Diff line number Diff line change @@ -114,10 +114,14 @@ modules:
114114
115115runners :
116116 container-registry :
117- enabled : false
117+ enabled : false
118118 vcs-scheduled :
119119 enabled : false
120+ image :
121+ name : outpost-lite-runner-vcs
120122 vcs-event-triggered :
121123 enabled : false
124+ image :
125+ name : outpost-lite-runner-vcs
122126 concurrency : 4
123127 terminationGracePeriodSeconds : 300 # 5 minutes
You can’t perform that action at this time.
0 commit comments