From 32001ff5c5eca0bac15756d558716193896f1b0f Mon Sep 17 00:00:00 2001 From: Ben Coleman Date: Wed, 3 Sep 2025 15:28:16 +0100 Subject: [PATCH 1/3] minify css --- content/08-more-improvements/index.md | 7 +++---- content/10-extra-advanced/index.md | 2 ++ content/_includes/default.njk | 15 ++++++--------- eleventy.config.js | 6 ++++++ package-lock.json | 22 ++++++++++++++++++++++ package.json | 1 + 6 files changed, 40 insertions(+), 13 deletions(-) diff --git a/content/08-more-improvements/index.md b/content/08-more-improvements/index.md index 3e3d74ef..77a54d99 100644 --- a/content/08-more-improvements/index.md +++ b/content/08-more-improvements/index.md @@ -32,12 +32,11 @@ can be created from files. In our case, we'll use a _ConfigMap_ to store the database initialization SQL script, which will then be mounted into the Postgres container. -The SQL script can be -[found here](https://raw.githubusercontent.com/benc-uk/kube-workshop/refs/heads/main/08-more-improvements/nanomon_init.sql). -You can grab into a file using `curl` like so: +The SQL script can be [found & downloaded here](./nanomon_init.sql). You can grab it straight into a file using `curl` +like so: ```bash -curl -O https://raw.githubusercontent.com/benc-uk/kube-workshop/refs/heads/main/08-more-improvements/nanomon_init.sql +curl -O https://kube-workshop.benco.io/08-more-improvements/nanomon_init.sql ``` We can then create a _ConfigMap_ from this file using `kubectl` diff --git a/content/10-extra-advanced/index.md b/content/10-extra-advanced/index.md index 51e655d8..02a7ff0e 100644 --- a/content/10-extra-advanced/index.md +++ b/content/10-extra-advanced/index.md @@ -269,5 +269,7 @@ Now to deploy the app with Helm, run the command below: helm install demo nanomon/nanomon --values values.yaml ``` +The release name is `demo` here, however you can choose any name you wish. + Validate the deployment as before with `helm` and `kubectl` and check you can access the app in the browser using the same ingress IP address as before. diff --git a/content/_includes/default.njk b/content/_includes/default.njk index 672c7b89..5ae9872a 100644 --- a/content/_includes/default.njk +++ b/content/_includes/default.njk @@ -18,8 +18,9 @@ {{ title }} {{ icon }} + {%- set css %} {% include "main.css" %} {%- endset %} @@ -41,9 +42,7 @@
{%- for section in collections.section -%}
  • - {{ section.data.index | zeroPad }}: {{ section.data.icon }} {{ section.data.title }} + {{ section.data.index | zeroPad }}: {{ section.data.icon }} {{ section.data.title }}
  • {%- endfor -%} @@ -51,9 +50,7 @@