Skip to content

Instantly share code, notes, and snippets.

View saintdle's full-sized avatar

Dean saintdle

View GitHub Profile
# These keys were collected from various sources from all over the Internet.
# I am not responsible for the performance of the current keys and do not provide
# assistance on their use, this is handled by official VMware support. I also advise
# you not to use these keys in commercial projects. Use them in personal projects at your own risk!
vSphere 6 Enterprise Plus:
1C20K-4Z214-H84U1-T92EP-92838
1A2JU-DEH12-48460-CT956-AC84D
MC28R-4L006-484D1-VV8NK-C7R58
5C6TK-4C39J-48E00-PH0XH-828Q4
apiVersion: storage.k8s.io/v1
kind: CSIDriver
metadata:
name: csi.vsphere.vmware.com
spec:
attachRequired: true
podInfoOnMount: false
---
kind: ServiceAccount
apiVersion: v1
@saintdle
saintdle / goldpinger.yaml
Created December 30, 2023 11:10
Goldpinger
apiVersion: apps/v1
kind: Deployment
metadata:
generation: 1
labels:
app.kubernetes.io/instance: goldpinger
app.kubernetes.io/name: goldpinger
name: goldpinger
spec:
replicas: 5
---
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
name: deny-all
namespace: exam-app
spec:
egress:
- toEndpoints:
- matchLabels:
#!/bin/bash
# Function to force kill VMware Fusion if it is running
force_kill_vmware_fusion() {
if pgrep "VMware Fusion" > /dev/null; then
echo "Force killing VMware Fusion..."
sudo pkill -9 "VMware Fusion"
fi
}