Skip to content

Instantly share code, notes, and snippets.

View tnm's full-sized avatar

Ted Nyman tnm

View GitHub Profile
@tnm
tnm / README.md
Last active November 21, 2025 02:59
ArgoCD Load Testing Script - Create realistic applications for load testing and demos

ArgoCD Load Testing Script

A bash script to create realistic ArgoCD applications for load testing and demo purposes.

Quick Start

# Download the script
curl -O https://gist.githubusercontent.com/tnm/f2cc981d822f86a2828ece6b39d359a4/raw/load-test-argocd.sh
chmod +x load-test-argocd.sh
@tnm
tnm / load-test-argocd.sh
Last active November 21, 2025 01:02
Cased CD - Load Test ArgoCD with 1000+ Realistic Applications
#!/bin/bash
#
# ArgoCD Load Testing Script
#
# Creates realistic ArgoCD applications for load testing Cased CD Enterprise.
#
# USAGE:
# ./load-test-argocd.sh [NUM_APPS]
#
# EXAMPLES:
@tnm
tnm / pentest-remediation.md
Last active December 2, 2025 01:24
Cased Security Assessment - Remediation Summary (November 2025)

Cased Security Assessment - Remediation Summary

Date: November 16, 2025
Prepared for: Casco (Transmittr, Inc.)
Assessment Date: November 5, 2025


Executive Summary

@tnm
tnm / confirm-ipv6-issue.md
Created November 12, 2025 23:41
Confirm IPv6 binding issue causing 502 Bad Gateway in Cased CD

Confirm IPv6 Binding Issue and Test Fix

The Problem

The backend is listening on IPv6 only (:::8081), but nginx is trying to connect via IPv4.

Confirmation Tests

1. Confirm IPv6-only binding

@tnm
tnm / debug-502-commands.md
Created November 12, 2025 23:37
Debug commands for Cased CD Enterprise 502 Bad Gateway error

Debug Commands for Cased CD Enterprise 502 Error

Run these commands inside the pod to diagnose the 502 Bad Gateway issue.

Priority 1: Check Backend Status

# 1. Check if the backend process is running
ps aux | grep cased-backend
@tnm
tnm / josh-tls-certificate-fix.md
Created October 30, 2025 01:35
Fix for TLS Certificate Error in Cased CD Enterprise

Fix for TLS Certificate Error - Josh

The Problem

You're seeing this error:

http: proxy error: tls: failed to verify certificate: x509: certificate signed by unknown authority

This happens because the enterprise backend is trying to connect to ArgoCD over HTTPS, but ArgoCD is using a self-signed certificate that the backend doesn't trust.

@tnm
tnm / josh-argocd-imagepullsecrets.md
Created October 30, 2025 01:25
How to Set imagePullSecrets in ArgoCD Application for Cased CD

How to Set imagePullSecrets in ArgoCD Application

The Problem

You can't use --set imagePullSecrets[0].name=... in ArgoCD. Instead, you need to add it to the helm.values section of your ArgoCD Application.


Solution: Edit Your ArgoCD Application

@tnm
tnm / josh-correct-production-credentials.md
Created October 30, 2025 01:14
Cased CD Enterprise - CORRECT Production Credentials for Josh

Cased CD Enterprise - CORRECT Production Credentials (Josh)

The Problem

You were using credentials from the LOCAL dev database. Here are your REAL production credentials:

  • Username: joshpeek
  • Token: nyH07X8C4iCKuRWt5TECgnTdKUgr2iVDY445P_zayhg
  • Email: josh@joshpeek.com
@tnm
tnm / josh-fix-imagepullsecrets.md
Created October 30, 2025 01:05
Fix ImagePullBackOff for Josh Customer - imagePullSecrets debugging

Fix ImagePullBackOff - Josh Customer

The Issue

Your secret is correct:

{
  "auths": {
    "registry.cased.com": {
 "username": "Josh Customer",
@tnm
tnm / josh-cased-cd-default-namespace.md
Created October 30, 2025 01:01
Cased CD Enterprise - Install in Default Namespace (Josh Customer)

Cased CD Enterprise - Install in Default Namespace (Josh Customer)

Good news!

Your secret is already in the default namespace, so let's install Cased CD there too!

kubectl get secret cased-cd-registry -n default
# NAME                TYPE                             DATA   AGE
# cased-cd-registry kubernetes.io/dockerconfigjson 1 16s