From 0f7430caf7330c2d33cd71b5250a1ebcbdafed5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Fri, 2 Aug 2024 10:19:08 +0200 Subject: [PATCH] ccruntime: Add a basic example of proxy setup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Let's just add a basic example of what the admin can set as environment variables in order to deal with proxy shenanigans, in case they're unluck enough to have to deal with it. :-) Signed-off-by: Fabiano FidĂȘncio --- config/samples/ccruntime/default/kustomization.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config/samples/ccruntime/default/kustomization.yaml b/config/samples/ccruntime/default/kustomization.yaml index 9beaa5dc..5a8260d6 100644 --- a/config/samples/ccruntime/default/kustomization.yaml +++ b/config/samples/ccruntime/default/kustomization.yaml @@ -46,5 +46,15 @@ patches: # the case, please, set this variable to `true` - name: "INSTALL_OFFICIAL_CONTAINERD" value: "false" + # If set, the Kata Containers agent https_proxy will be set to the + # specified value allowing then the pod sandbox to correctly pull + # images in such environment. + # - name: "AGENT_HTTPS_PROXY" + # value: "https://proxy.example.com:3129" + # If set, the Kata Containers agent no_proxy will be set to the + # specified value allowing then the pod sandbox to correctly pull + # images in such environment. + # - name: "AGENT_NO_PROXY" + # value: "*.test.example.com,.example.org,127.0.0.0/8" target: kind: CcRuntime