Using docker-compose to run a prometheus container that I wanted basic auth added to. My docker-compose file is shown below: version: '3' volumes: prometheus-data: driver: local services: prometheus: image: prom/prometheus:latest... » More
I seem to regularly look this one so adding it here for future reference.
apk add --no-cache python3 py3-pip && pip3 install --upgrade pip && pip3 install --no-cache-dir awscli && rm -rf /var/cache/apk/*
In my terraform code I have: resource "aws_iam_access_key" "this" { user = aws_iam_user.this.name pgp_key = "keybase:jonnymccullagh" } And after running the terraform apply I get an encrypted IAM secret key. To decrypt the string: echo... » More
By default podman needs the full URL to pull in a docker image. So instead of: podman pull budibase/budibase you need: podman pull registry.hub.docker.com/budibase/budibase To configure podman to to check the docker registry by default... » More
With an EKS cluster created I followed the AWS instructions for integrating secrets manager so I could pull secrets and use them as environment variables in pods. The secrets were mounted fine and I could cat them out when exec'ing into the... » More
Using brew to install MariaDB: brew install mariadb To manage the service use 'brew services' e.g brew services restart mariadb Notice that the install ran the following: /opt/homebrew/Cellar/mariadb/10.8.3/bin/mysql_install_db --verbose... » More
Converting Packer templates from json to HCL for Packer version 1.7.2. The easiest thing to do is try the automated conversion: packer hcl2_upgrade -output-file=template-converted.pkr.hcl template.json For environment variables we need to set them... » More