feat: add openapi2jsonschema #123

Merged
xoxys merged 2 commits from add-openapi2jsonschema into main 2024-03-26 08:44:33 +00:00
2 changed files with 4 additions and 1 deletions
Showing only changes of commit 0b9c97d765 - Show all commits

View File

@ -48,6 +48,7 @@ RUN apk --update add curl tar bash python3 pipx findutils git && \
curl -SsfL -o /usr/local/bin/kubectl "https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/${TARGETOS}/${TARGETARCH}/kubectl" && \
curl -SsfL -o /usr/local/bin/kubectl-convert "https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/${TARGETOS}/${TARGETARCH}/kubectl-convert" && \
curl -SsfL -o /usr/local/bin/yq "https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_${TARGETOS}_${TARGETARCH}" && \
curl -SsfL -o /usr/local/bin/openapi2jsonschema "https://raw.githubusercontent.com/yannh/kubeconform/${KUBECONFORM_VERSION}/scripts/openapi2jsonschema.py" && \
curl -SsfL "https://get.helm.sh/helm-${HELM_VERSION}-${TARGETOS}-${TARGETARCH}.tar.gz" \
| tar xz --strip-components=1 -C /usr/local/bin "${TARGETOS}-${TARGETARCH}/helm" && \
curl -SsfL "https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2F${KUSTOMIZE_VERSION}/kustomize_${KUSTOMIZE_VERSION}_${TARGETOS}_${TARGETARCH}.tar.gz" \
@ -61,6 +62,7 @@ RUN apk --update add curl tar bash python3 pipx findutils git && \
chmod 755 /usr/local/bin/kubectl && \
chmod 755 /usr/local/bin/kubectl-convert && \
chmod 755 /usr/local/bin/yq && \
chmod 755 /usr/local/bin/openapi2jsonschema && \
chmod 755 /usr/local/bin/helm && \
chmod 755 /usr/local/bin/kustomize && \
chmod 755 /usr/local/bin/kubeconform && \

View File

@ -24,7 +24,8 @@ Custom Kubernetes toolkit container based on Alpine.
- kubeconform
- kustomize
- flux-local
- Fairwinds Polaris
- polaris
- openapi2jsonschema
<!-- spellchecker-enable -->