From eecb9be5bdd0d53182bda3b2d5bb952c58163b48 Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Sat, 29 Apr 2023 11:40:14 +0200 Subject: [PATCH] fix: removed unused spaces --- knowledge base/README.md | 2 +- knowledge base/encrypted root filesystem.md | 10 +++++----- knowledge base/gitlab.md | 2 +- knowledge base/helios4.md | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/knowledge base/README.md b/knowledge base/README.md index 96eb3a9..36bfc67 100644 --- a/knowledge base/README.md +++ b/knowledge base/README.md @@ -58,7 +58,7 @@ This is the collection of all notes, reminders and whatnot I gathered during the - && mv /tmp/reordered.json datapipeline.json + && jq '.objects = [( + .objects[] as $in - + | {type,name,id} + $in + + | {type,name,id} + $in + | with_entries(select(.value != null)) + )]' /tmp/sorted.json > /tmp/reordered.json \ + && mv /tmp/reordered.json datapipeline.json diff --git a/knowledge base/encrypted root filesystem.md b/knowledge base/encrypted root filesystem.md index 1f8e635..62495b6 100644 --- a/knowledge base/encrypted root filesystem.md +++ b/knowledge base/encrypted root filesystem.md @@ -39,19 +39,19 @@ This should only be done in an encrypted root partition that includes `/boot`, s ``` 1. make `/boot` accessible to `root` only to prevent non-`root` users to read the initrd and extract the key file: - + ```sh sudo chmod 700 /boot ``` - + to ensure that new permissions are not overwritten at a later timepoint, add the following line to `/etc/permissions.local`: - + ```text /boot/ root:root 700 ``` -If you have other encrypted partitions (e.g. `/home`, `swap`, etc), you can create additional keys to mount them without entering a passphrase. -This works exactly as described above in steps 1-4, except that you don't need to add the key for those partitions to the initrd. +If you have other encrypted partitions (e.g. `/home`, `swap`, etc), you can create additional keys to mount them without entering a passphrase. +This works exactly as described above in steps 1-4, except that you don't need to add the key for those partitions to the initrd. ## Further readings diff --git a/knowledge base/gitlab.md b/knowledge base/gitlab.md index 88b94ee..45f8303 100644 --- a/knowledge base/gitlab.md +++ b/knowledge base/gitlab.md @@ -108,7 +108,7 @@ Follow the [deployment] guide for details. ``` ```sh - export VALUES_DIR="$(git rev-parse --show-toplevel)/kubernetes/helm/gitlab" + export VALUES_DIR="$(git rev-parse --show-toplevel)/kubernetes/helm/gitlab" helm inspect values 'gitlab/gitlab' > "${VALUES_DIR}/values.yaml" ``` diff --git a/knowledge base/helios4.md b/knowledge base/helios4.md index 50a71ca..7dbfb7e 100644 --- a/knowledge base/helios4.md +++ b/knowledge base/helios4.md @@ -21,7 +21,7 @@ Requirements: 1. MicroSD card, possibly UHS-I or greater with 8GB free.
Suggested models: - + - SanDisk Extreme microSDHC UHS-I (32GB) - SanDisk Extreme PRO microSDHC UHS-I (32GB) - Strontium Nitro MicroSD (16GB) @@ -36,7 +36,7 @@ Procedure: 1. Download the ISO from the [download page]. 1. Copy the ISO to the SD card and make it bootable: - + - using [balenaetcher]; - using the CLI: