SSL

OpenSSL Commands

It can be useful to check a certificate and key before applying them to a server. The following commands verify the certificate, key and CSR (Certificate Signing Request). To check the certificate To check a key To check the CSR To check the md5 checksums match of the certificate, key and csr; the checksums can […]

PowerShell

Setting Up Pester Tests

Hey, how are you doing? Thought I would write about setting up Pester tests, and the structure I use. This comes about because when I need to start a new project and have some Pester tests running against the infrastructure I have a standard setup I use. So I decided to share it as it […]

Azure Azure DevOps

Testing Arm Templates in Pipelines

One of the most important things with IaC is to test it. With ARM templates there are a few options as well. To test your ARM Templates you could run the following:- ARM-TTK can be used to lint and validate the arm templates. it does the following: Validating the author’s intentions by eliminating unused parameters […]

Git

Git – Add a forked repo branch to the upstream repo

If you have a forked repo and need to do a merge request/ pull request to the upstream repo but you don’t have permissions to run the MR/PR pipelines and don’t have any pipelines in the forked repo. Then the solution is to bring the forked repo into the upstream repo as a branch and […]

Funnies

Smelly Office

One day I had to go to a site in Stafford, to an old historic looking building, it had a large hall entrance and was clearly someone’s home which has been turned into an office. I was met in the hallway by the one of the admin staff and directed to work in room with […]

Funnies

Things aren’t always what they seem!

In my career, I’ve had many different things happen to me so I’ve started to write them down. After all, the site is RealworldIT and these things really happened to me. I’ve changed the names and the locations as I don’t want to highlight anybody. Everyone is human and I’m not here to hurt people. […]

AKS Helm Kubernetes

Helm Commands

Action Command to Run To list your releases helm list To install a Release helm install [release] [chart] Upgrade a Release revision helm upgrade [release] [chart] Rollback to a Release revision helm rollback [release] [revision] Display Release history helm history [release] Display Release status helm status [release] Display details of a Release helm get all […]

Azure DevOps

Creating Azure DevOps Pipelines

I thought I would cover writing a Azure DevOps pipeline YAML file which deploys infrastructure. Useful link – There are some built-in variables in ADO which you can check out here https://docs.microsoft.com/en-us/azure/devops/pipelines/build/variables?view=azure-devops&tabs=yaml. To take you through it to give you an overview of the setup. We have a pipeline file for each environment (see below). […]

AKS Azure Kubernetes

Using Key Vault with AKS – System Assigned – CSI Driver – with Pod Identity

Hey, so rather than re-write the same article, before reading and applying this blog, do and read this one – https://realworldit.net/archives/630 This will get you to the point where you can then install and use Pod Identity. Let’s do this!! 6, After you have gone through the link above, now it’s time to install the […]