Skip to content

Commit

Permalink
Remove KUBECONFIG env var in distro images (#1311)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh authored Oct 10, 2024
1 parent e89b311 commit 2182055
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 15 deletions.
3 changes: 0 additions & 3 deletions dev/distros/dockerfiles/almalinux-8.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ RUN dnf install -y \
vim \
--allowerasing

# Export kube config
ENV KUBECONFIG=/var/lib/k0s/pki/admin.conf

# Entrypoint for runtime configurations
COPY ./entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
3 changes: 0 additions & 3 deletions dev/distros/dockerfiles/centos-9.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ RUN dnf install -y \
vim \
--allowerasing

# Export kube config
ENV KUBECONFIG=/var/lib/k0s/pki/admin.conf

# Entrypoint for runtime configurations
COPY ./entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
3 changes: 0 additions & 3 deletions dev/distros/dockerfiles/debian-bookworm.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ RUN apt-get update && apt-get install -y \
expect \
vim

# Export kube config
ENV KUBECONFIG=/var/lib/k0s/pki/admin.conf

# Entrypoint for runtime configurations
COPY ./entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
3 changes: 0 additions & 3 deletions dev/distros/dockerfiles/debian-bullseye.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ RUN apt-get update && apt-get install -y \
expect \
vim

# Export kube config
ENV KUBECONFIG=/var/lib/k0s/pki/admin.conf

# Entrypoint for runtime configurations
COPY ./entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
3 changes: 0 additions & 3 deletions dev/distros/dockerfiles/ubuntu-jammy.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ RUN apt-get update && apt-get install -y \
expect \
vim

# Export kube config
ENV KUBECONFIG=/var/lib/k0s/pki/admin.conf

# Entrypoint for runtime configurations
COPY ./entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

0 comments on commit 2182055

Please sign in to comment.