UNCLASSIFIED - NO CUI

Fix k3d dev script

General MR

Summary

  • Make Twistlock k3d node mounts opt-in
    Avoid mounting the host /etc into k3d nodes by default, since it can break Docker archive reads of /etc/hosts during k3d cluster creation. Add an explicit --enable-twistlock-node-mounts flag for Twistlock defender testing that still needs the legacy host mounts.

This script likely started failing with new Docker https://docs.docker.com/engine/release-notes/29/#2951 release to combat some docker cp CVEs

Relevant logs/screenshots

Deployment completes

configmap/coredns-custom created
deployment.apps/coredns restarted

================================================================================
====================== DEPLOYMENT FINISHED =====================================
================================================================================

SAVE THE FOLLOWING INSTRUCTIONS INTO A TEMPORARY TEXT DOCUMENT SO THAT YOU DON'T LOSE THEM
NOTE: The EC2 instance will automatically terminate 8 hours from the time of creation unless you delete the root cron job

Linked Issue

#3264 (closed)

Upgrade Notices

"N/A"

Edited by Dax McDonald

Merge request reports

Loading