diff --git a/pipeline.Dockerfile b/pipeline.Dockerfile index 5474a661d..bb164045a 100644 --- a/pipeline.Dockerfile +++ b/pipeline.Dockerfile @@ -55,5 +55,5 @@ RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1 \ && rm vagrant_${VAGRANT_VERSION}-1_$(dpkg --print-architecture).deb \ && vagrant plugin install vagrant-libvirt \ # Install Kubernetes collections - && pip install --break-system-packages --no-compile --no-cache-dir kubernetes \ - && ansible-galaxy collection install kubernetes.core + && pip install --break-system-packages --no-compile --no-cache-dir kubernetes==35.0.0 \ + && ansible-galaxy collection install kubernetes.core:==6.4.0 diff --git a/scripts/pipeline.Dockerfile.j2 b/scripts/pipeline.Dockerfile.j2 index e7ed7bd54..8aead15ad 100644 --- a/scripts/pipeline.Dockerfile.j2 +++ b/scripts/pipeline.Dockerfile.j2 @@ -55,5 +55,5 @@ RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1 \ && rm vagrant_${VAGRANT_VERSION}-1_$(dpkg --print-architecture).deb \ && vagrant plugin install vagrant-libvirt \ # Install Kubernetes collections - && pip install --break-system-packages --no-compile --no-cache-dir kubernetes \ - && ansible-galaxy collection install kubernetes.core + && pip install --break-system-packages --no-compile --no-cache-dir kubernetes==35.0.0 \ + && ansible-galaxy collection install kubernetes.core:==6.4.0