File tree Expand file tree Collapse file tree 5 files changed +27
-0
lines changed
deployment/sriov-network-operator-chart/templates Expand file tree Collapse file tree 5 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ RUN make _build-manager BIN_PATH=build/_output/cmd && \
55 make _build-sriov-network-operator-config-cleanup BIN_PATH=build/_output/cmd
66
77FROM quay.io/centos/centos:stream9
8+ USER 65532:65532
89COPY --from=builder /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator/build/_output/cmd/manager /usr/bin/sriov-network-operator
910COPY --from=builder /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator/build/_output/cmd/sriov-network-operator-config-cleanup /usr/bin/sriov-network-operator-config-cleanup
1011COPY bindata /bindata
Original file line number Diff line number Diff line change 8282 securityContext :
8383 readOnlyRootFilesystem : true
8484 allowPrivilegeEscalation : false
85+ capabilities :
86+ drop :
87+ - ALL
88+ runAsNonRoot : true
89+ seccompProfile :
90+ type : RuntimeDefault
8591 resources :
8692 requests :
8793 cpu : 10m
Original file line number Diff line number Diff line change 8585 securityContext :
8686 readOnlyRootFilesystem : true
8787 allowPrivilegeEscalation : false
88+ capabilities :
89+ drop :
90+ - ALL
91+ runAsNonRoot : true
92+ seccompProfile :
93+ type : RuntimeDefault
8894 resources :
8995 requests :
9096 cpu : 10m
Original file line number Diff line number Diff line change 4646 securityContext :
4747 readOnlyRootFilesystem : true
4848 allowPrivilegeEscalation : false
49+ capabilities :
50+ drop :
51+ - ALL
52+ runAsNonRoot : true
53+ seccompProfile :
54+ type : RuntimeDefault
4955 resources :
5056 requests :
5157 cpu : 100m
Original file line number Diff line number Diff line change 4747 containers :
4848 - name : cleanup
4949 image : {{ .Values.images.operator }}
50+ securityContext :
51+ capabilities :
52+ drop :
53+ - ALL
54+ runAsNonRoot : true
55+ allowPrivilegeEscalation : false
56+ seccompProfile :
57+ type : RuntimeDefault
5058 command :
5159 - sriov-network-operator-config-cleanup
5260 args :
You can’t perform that action at this time.
0 commit comments