From f73f4ade556f46cb9ac9eb69f96b042dd57402c2 Mon Sep 17 00:00:00 2001 From: matthias Date: Tue, 11 Mar 2025 02:19:04 +0000 Subject: [PATCH] =?UTF-8?q?README.md=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..0994032 --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +Building my own Jenkins Image including as set of preinstalled plugins +=== + +This is mainly built for configuring Jenkins with code but also is built to learn and understand how to build container images in a k8s cluster without docker installed. + +We will use "kaniko". + +Prerequisites: +- a private docker registry, in this setup I use my own harbor instance +- namespace in the k8s cluster where this all will run e.g. "build" +- a secret for kaniko to log into the registry + +The secret: + +``` +kubectl create secret docker-registry registry-credentials --docker-username='robot$jenkins' --docker-password=XXXXXXXXXXXXXXXXXXXXXX --docker-email=matthias.hinrichs@me.com --docker-server='https://harbor.hnrx.net +```