Skip to content

Instantly share code, notes, and snippets.

View anil-raynmaker's full-sized avatar

Anil Sadineni anil-raynmaker

View GitHub Profile
@anil-raynmaker
anil-raynmaker / docker-build-push.sh
Created October 26, 2025 06:42
for rayn-config-api
#!/bin/bash
# Docker build and push script for ECR with multi-architecture support
# Builds for both AMD64 (x86_64) and ARM64 architectures
#
# Usage: ./docker-build-push.sh [VERSION]
# Example: ./docker-build-push.sh v1.0.0
#
# Environment variables:
# AWS_REGION - AWS region for ECR (default: us-west-2)
I'll explain how to bootstrap FluxCD in your dev cluster and how it knows to monitor only dev-specific changes.
FluxCD Bootstrap Process
1. Bootstrap FluxCD on Dev Cluster
# Prerequisites: kubectl context pointing to dev cluster
kubectl config current-context # Verify you're on dev cluster
# Bootstrap FluxCD with path-based isolation