Skip to content

Instantly share code, notes, and snippets.

View vancanhuit's full-sized avatar
🎯
Focusing

Canh Dinh vancanhuit

🎯
Focusing
View GitHub Profile
@vancanhuit
vancanhuit / ca.json
Last active August 18, 2024 15:04
Smallstep CA configuration
{
"root": "/etc/step-ca/certs/root_ca.crt",
"federatedRoots": null,
"crt": "/etc/step-ca/certs/intermediate_ca.crt",
"key": "/etc/step-ca/secrets/intermediate_ca_key",
"address": ":443",
"insecureAddress": "",
"dnsNames": [
"ca.lab.internal"
],
@vancanhuit
vancanhuit / ansible.cfg
Created March 6, 2025 08:34
Ansible playbook for configuring Kubernetes nodes
[defaults]
interpreter_python = /usr/bin/python3
@vancanhuit
vancanhuit / create-container.sh
Created March 6, 2025 08:44
Incus RHEL profile with Macvlan network
#!/usr/bin/env bash
set -e
name=${1}
[[ -z ${name} ]] && {
echo "Name must be provided."
exit 1
}