feat(devcontainer): add kubeconform

Signed-off-by: Vegard Hagen <[email protected]>
This commit is contained in:
Vegard Hagen
2025-07-18 19:56:18 +02:00
parent b1214dc993
commit 88c39b2b50
+6
View File
@@ -154,6 +154,11 @@ RUN curl -sSL -o yq "https://github.com/mikefarah/yq/releases/latest/download/yq
install -o root -g root -m 0755 yq /usr/local/bin/yq && \
rm yq
# Install kubeconform
RUN curl -sSL -o yq "https://github.com/yannh/kubeconform/releases/latest/download/kubeconform_linux_${TARGETARCH}" && \
install -o root -g root -m 0755 yq /usr/local/bin/kubeconform && \
rm yq
# Install talosctl
RUN curl -sSL -o talosctl "https://github.com/siderolabs/talos/releases/latest/download/talosctl-linux-${TARGETARCH}" && \
install -o root -g root -m 0755 talosctl /usr/local/bin/talosctl && \
@@ -221,6 +226,7 @@ RUN PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH" kubectl krew install ctx ns oidc-
# Alias everything
RUN echo "alias kubectl='kubecolor'" >> ${HOME}/.bash_aliases && \
echo "alias k='kubectl'" >> ${HOME}/.bash_aliases && \
echo "alias kc='kubeconform'" >> ${HOME}/.bash_aliases && \
echo "alias kz='kubectl kustomize --enable-helm'" >> ${HOME}/.bash_aliases && \
echo "alias tf='tofu'" >> ${HOME}/.bash_aliases && \
echo "alias tl='talosctl'" >> ${HOME}/.bash_aliases && \