Skip to content

Commit af6bcf3

Browse files
committed
Introduce Config-lint, update other packages
1 parent e6a1a34 commit af6bcf3

File tree

2 files changed

+25
-4
lines changed

2 files changed

+25
-4
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
v2.3
2+
----
3+
* 🚀 [NEW] Added [Config-lint](https://stelligent.github.io/config-lint/#/?id=%f0%9f%94%8d-config-lint-%f0%9f%94%8e), A CLI tool to validate config files (JSON, Terraform, YAML + Kubernetes), using rules specified in YAML.
4+
* 📝 Updated Kubectl to [v1.18.6](https://kubernetes.io/docs/setup/release/notes/)
5+
* 📝 Updated YAMLLint to [v1.24.2](https://github.com/adrienverge/yamllint/blob/master/CHANGELOG.rst)
6+
* 📝 Updated Kustomize to [v3.8.1](https://github.com/kubernetes-sigs/kustomize/releases/tag/kustomize%2Fv3.8.1)
7+
* 📝 Updated Conftest to [v0.20.0](https://github.com/open-policy-agent/conftest/releases/tag/v0.20.0)
8+
19
v2.2
210
----
311
* Create latest tag on Docker hub
@@ -20,3 +28,4 @@ v2.0
2028
* Updated YamlLint to v1.23
2129
* Updated Kustomize to v3.5.4
2230
* Added ConfTest v0.18.1
31+

Dockerfile

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,22 @@ FROM python:3.8.4-alpine3.12
44
ARG APP_VERSION=2.1
55

66
# https://github.com/kubernetes/kubectl/releases
7-
ARG KUBECTL_VERSION=1.18.5
7+
ARG KUBECTL_VERSION=1.18.6
88

99
# https://github.com/instrumenta/kubeval/releases
1010
ARG KUBEVAL_VERSION=0.15.0
1111

1212
# https://pypi.org/project/yamllint/
13-
ARG YAMLLINT_VERSION=1.23.0
13+
ARG YAMLLINT_VERSION=1.24.2
1414

1515
# https://github.com/kubernetes-sigs/kustomize/releases
16-
ARG KUSTOMIZE_VERSION=3.8.0
16+
ARG KUSTOMIZE_VERSION=3.8.1
1717

1818
# https://github.com/open-policy-agent/conftest/releases
19-
ARG CONFTEST_VERSION=0.19.0
19+
ARG CONFTEST_VERSION=0.20.0
20+
21+
# https://github.com/stelligent/config-lint/releases
22+
ARG CONFIG_LINT_VERSION=1.6.0
2023

2124
# split layers into distinct components
2225
RUN apk add --no-cache ca-certificates curl
@@ -52,6 +55,15 @@ RUN mkdir /tmp/conftest \
5255
&& chmod +x /usr/local/bin/conftest \
5356
&& rm -rf /tmp/conftest
5457

58+
# Install Config Lint (https://stelligent.github.io/config-lint/#/install)
59+
RUN mkdir /tmp/config-lint \
60+
&& curl -L -o /tmp/config-lint/config-lint.tar.gz \
61+
https://github.com/stelligent/config-lint/releases/download/v${CONFIG_LINT_VERSION}/config-lint_Linux_x86_64.tar.gz \
62+
&& tar xf /tmp/config-lint/config-lint.tar.gz -C /tmp/config-lint \
63+
&& mv /tmp/config-lint/config-lint /usr/local/bin \
64+
&& chmod +x /usr/local/bin/config-lint \
65+
&& rm -rf /tmp/config-lint
66+
5567
# Install Kubectl
5668
RUN curl -o /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl \
5769
&& chmod +x /usr/local/bin/kubectl

0 commit comments

Comments
 (0)