-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pydantic upgrade to support v2 (#280)
- Loading branch information
1 parent
f2d5c4b
commit d77865e
Showing
6 changed files
with
68 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/kubernetes-helm | ||
{ | ||
"name": "Kubernetes - Local Configuration", | ||
"build": { | ||
"context": "..", | ||
"dockerfile": "../Dockerfile" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Docker environment for local development in devcontainer | ||
FROM ubuntu:jammy-20230308 | ||
|
||
RUN apt-get update --fix-missing && \ | ||
apt-get upgrade -y && \ | ||
apt-get install -y --fix-missing \ | ||
curl \ | ||
unzip \ | ||
software-properties-common \ | ||
vim \ | ||
git \ | ||
python3-pip | ||
|
||
# renovate: datasource=github-releases depName=kubernetes-sigs/kustomize | ||
ARG KUSTOMIZE_VERSION=v5.0.3 | ||
RUN cd /usr/local/bin/ && \ | ||
curl -OL https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2F${KUSTOMIZE_VERSION}/kustomize_${KUSTOMIZE_VERSION}_linux_amd64.tar.gz && \ | ||
tar xf kustomize_${KUSTOMIZE_VERSION}_linux_amd64.tar.gz && \ | ||
chmod +x kustomize | ||
RUN kustomize version | ||
|
||
# renovate: datasource=github-releases depName=helm/helm | ||
ARG HELM_CLI_VERSION=v3.12.1 | ||
RUN mkdir -p /src && \ | ||
cd /src && \ | ||
curl -OL https://get.helm.sh/helm-${HELM_CLI_VERSION}-linux-amd64.tar.gz && \ | ||
tar xf helm-${HELM_CLI_VERSION}-linux-amd64.tar.gz && \ | ||
cp linux-amd64/helm /usr/local/bin/helm && \ | ||
rm -fr /src | ||
RUN helm version | ||
|
||
# renovate: datasource=github-releases depName=kyverno/kyverno | ||
ARG KYVERNO_VERSION=v1.10.0 | ||
RUN mkdir -p /src && \ | ||
cd /src && \ | ||
curl -OL https://github.com/kyverno/kyverno/releases/download/${KYVERNO_VERSION}/kyverno-cli_${KYVERNO_VERSION}_linux_x86_64.tar.gz && \ | ||
tar xf kyverno-cli_${KYVERNO_VERSION}_linux_x86_64.tar.gz && \ | ||
cp kyverno /usr/local/bin/kyverno && \ | ||
chmod +x /usr/local/bin/kyverno && \ | ||
rm -fr /src | ||
RUN kyverno version | ||
|
||
COPY . /src/ | ||
WORKDIR /src/ | ||
RUN pip3 install -r /src/requirements.txt | ||
|
||
SHELL ["/bin/bash", "-c"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters