fix: CVE-2021-43618 in Ubuntu image

fix chart
This commit is contained in:
andyzhangx 2021-12-19 07:47:13 +00:00
parent 8f9fd3833a
commit 53c3a3c970
4 changed files with 30 additions and 1 deletions

26
.github/workflows/pluto.yaml vendored Normal file
View File

@ -0,0 +1,26 @@
name: k8s api version check
on:
pull_request: {}
push: {}
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
# https://pluto.docs.fairwinds.com/advanced/#display-options
- name: Download pluto
uses: FairwindsOps/pluto/github-action@master
- name: Check deploy folder
run: |
pluto detect-files -d deploy
- name: Check example folder
run: |
pluto detect-files -d deploy/example

View File

@ -23,6 +23,6 @@ COPY bin/${ARCH}/nfsplugin /nfsplugin
RUN apt update && apt-mark unhold libcap2 RUN apt update && apt-mark unhold libcap2
RUN clean-install ca-certificates mount nfs-common netbase RUN clean-install ca-certificates mount nfs-common netbase
# install updated packages to fix CVE issues # install updated packages to fix CVE issues
RUN clean-install libssl1.1 libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0 RUN clean-install libssl1.1 libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0 libgmp10
ENTRYPOINT ["/nfsplugin"] ENTRYPOINT ["/nfsplugin"]

View File

@ -24,6 +24,9 @@ rbac:
create: true create: true
name: nfs name: nfs
driver:
name: nfs.csi.k8s.io
controller: controller:
name: csi-nfs-controller name: csi-nfs-controller
replicas: 2 replicas: 2