Skip to content

Instantly share code, notes, and snippets.

View pablintino's full-sized avatar
🏠
Working from home

Pablo Rodríguez Nava pablintino

🏠
Working from home
View GitHub Profile
@pablintino
pablintino / gist:e19c7ef6e93fca0ab8e4055536c256cd
Last active December 26, 2025 08:36
OCP Day-zero deploy
#!/bin/bash
set -euo pipefail
# Assisted-by: Gemini
# --- Configuration ---
OPENSHIFT_INSTALL="${1:-./openshift-install}"
INSTALL_DIR="./installer-dir"
PULL_SECRET_FILE="pull-secret.json"
BASE_DOMAIN="gcp.devcluster.openshift.com"
CLUSTER_NAME="pabrodri-test-$(tr -dc A-Za-z0-9 </dev/urandom | head -c 13)"
@pablintino
pablintino / gist:15b6e900b47aead5983a161cfb9b6ed9
Last active December 18, 2025 09:54
Patch OpenShift MCO installer manifests for day-zero RHEL-10
#!/bin/bash
set -euo pipefail
# Script to patch MCP manifests with osImageStream configuration
# Usage: ./patch-mcp-osimagestream.sh <installer-manifests-dir> [os-image-stream-name]
# Assisted-By: Claude
INSTALLER_MANIFESTS_DIR="${1:-}"
OS_IMAGE_STREAM_NAME="${2:-rhel-10}"