Skip to content

Commit d5b3c64

Browse files
remove kubeconform again as it has critical CVEs
Some users were not allowed to use the image because of the CVEs
1 parent 476e44a commit d5b3c64

4 files changed

Lines changed: 2 additions & 12 deletions

File tree

.github/actions/build-and-test/action.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ runs:
3232
shell: bash
3333
run: docker run --rm helm-docker-test kubeval --version
3434

35-
- name: Test helm-kubeconform
36-
shell: bash
37-
run: docker run --rm helm-docker-test kubeconform --help
38-
3935
- name: Cleanup
4036
shell: bash
4137
run: sudo rm -rf test-chart val1.yaml val2.yaml

.github/workflows/automaticRelease.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ jobs:
4848
4949
- [Helm](https://www.helm.sh):${{ steps.compare_releases.outputs.helmRelease }}
5050
- [Helm-kubeval](https://github.com/instrumenta/helm-kubeval):0.13.0
51-
- [Helm-kubeconform](https://github.com/jtyr/kubeconform-helm):0.2.0
5251
- [Helm-values](https://github.com/shihyuho/helm-values):1.2.0
5352
5453
The image can be pulled with `$ docker pull ghcr.io/cloudogu/helm:${{ steps.compare_releases.outputs.helmRelease }}-1`

Dockerfile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ ARG HELM_VERSION=4.1.1
66
# Kubeval does not have tags, so we use a commit
77
ARG HELM_KUBEVAL_VERSION=7476464
88
ARG HELM_VALUES_VERSION=1.2.0
9-
ARG HELM_KUBECONFORM_VERSION=v0.2.0
109

1110
# Make helm install everything in defined folder
1211
ENV HOME=/helm
@@ -32,9 +31,6 @@ RUN git clone -n https://github.com/instrumenta/helm-kubeval ${HOME}/.local/shar
3231
HELM_PLUGIN_DIR=$(pwd) scripts/install.sh && \
3332
rm -rf .git
3433

35-
# install helm-kubeconform
36-
RUN helm plugin install https://github.com/jtyr/kubeconform-helm --version ${HELM_KUBECONFORM_VERSION} || helm plugin install https://github.com/jtyr/kubeconform-helm --version ${HELM_KUBECONFORM_VERSION} --verify=false
37-
3834
# install helm-values
3935
RUN git clone --depth 1 --branch ${HELM_VALUES_VERSION} https://github.com/shihyuho/helm-values /tmp/helm-values
4036
# helm 3 removed the option "home" to get helms home-path, so "helm home" won't work with helm 3
@@ -61,9 +57,9 @@ ENV HELM_CACHE_HOME="/helm/.cache/helm" \
6157
HELM_REGISTRY_CONFIG="/helm/.config/helm/registry.json" \
6258
HELM_REPOSITORY_CACHE="/helm/.cache/helm/repository" \
6359
HELM_REPOSITORY_CONFIG="/helm/.config/helm/repositories.yaml" \
64-
PATH="/helm/.local/share/helm/plugins/helm-kubeval/bin:/helm/.local/share/helm/plugins/kubeconform-helm/bin:$PATH"
60+
PATH="/helm/.local/share/helm/plugins/helm-kubeval/bin:$PATH"
6561

66-
RUN apk add --update --no-cache ca-certificates curl git openssl bash python3 py3-yaml
62+
RUN apk add --update --no-cache ca-certificates curl git openssl bash
6763
COPY --from=builder /dist /
6864

6965
ENTRYPOINT ["helm"]

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ Containerized Kubernetes Helm client with support for plugins
77

88
```bash
99
helm kubeval
10-
helm kubeconform
1110
helm values
1211
```
1312

0 commit comments

Comments
 (0)