
I seem to regularly look this one so adding it here for future reference.
Red Branch | For Future Reference …
I seem to regularly look this one so adding it here for future reference.
In my terraform code I have: And after running the terraform apply I get an encrypted IAM secret key. To decrypt the string:
By default podman needs the full URL to pull in a docker image. So instead of: you need: To configure podman to to check the docker registry by default amend: And add the following
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 container. However, nothing I did would allow the secrets to be used as… Read more »
Using brew to install MariaDB: To manage the service use ‘brew services’ e.g Notice that the install ran the following: So connect to MariaDB as your Mac user e.g. I used my mac user password. Or just with the mysql command e.g.
Quick command to check the expiry dates on SSL certicate:
Ensure the deb repo is configured and install nomad: Environment Variables Development Mode These commands are for testing non-production tasks. In this example I am running on a server with IP address 192.168.1.91 The web UI will be available on that IP port 4646 Check the status of the node: Running a test redis job… Read more »
For a new vault cluster, add the APT repo: Depending on how you have configured the listener you may need to set an environment variable specifying the vault location before commands like ‘vault status’ will work: Notice I am setting a variable to disable certificate verification to avoid having to add ‘-tls-skip-verify’ to each command…. Read more »
Converting Packer templates from json to HCL for Packer version 1.7.2. The easiest thing to do is try the automated conversion: For environment variables we need to set them with a PKR_VAR prefix e.g. Then that can be defined in the template.pkr.hcl file with: And then used in later sections like this: Then your validation… Read more »
Just for future reference: ansible -i /tmp/ips -f 10 -m shell -a “sudo docker restart logstash” all