Skip to content

Instantly share code, notes, and snippets.

View cws-khuntly's full-sized avatar

Kevin Huntly cws-khuntly

  • Buffalo, NY
  • 17:26 (UTC -05:00)
View GitHub Profile
@cws-khuntly
cws-khuntly / secrets.yml
Created January 18, 2026 14:34
secrets
---
apiVersion: v1
kind: Secret
metadata:
name: store-password-secret
type: Opaque
data:
java_keystore: base64 of keystore
java_truststore: base64 of trust store
@cws-khuntly
cws-khuntly / debug.yml
Last active January 18, 2026 14:35
debug pod
apiVersion: v1
kind: Pod
metadata:
name: debug-pod
spec:
containers:
- name: fedora
image: fedora:43
command: ["sleep", "infinity"]
@cws-khuntly
cws-khuntly / squid.conf
Created July 17, 2016 19:51
Squid config
#
# Recommended minimum configuration:
#
visible_hostname proxy.caspersbox.com
## add in basic authentication (pending ldap auth)
auth_param basic program /usr/lib/squid/squid_ldap_auth -b "dc=caspersbox,dc=com" -f "uid=%s" -D "uid=AppUser,ou=AppAdmins,organizationalUnitName=Service Accounts,organizationalUnitName=Users,organizationName=CWS US,dc=caspersbox,dc=com" -W /etc/squid/ldap_pass -h data.caspersbox.corp -p 10389
auth_param basic children 50
auth_param basic realm CWS Proxy Services
auth_param basic credentialsttl 90 minutes
#!/usr/bin/env ksh
#==============================================================================
#
# FILE: watchdog
# USAGE: ./watchdog
# DESCRIPTION:
#
# OPTIONS: ---
# REQUIREMENTS: ---
# BUGS: ---