Skip to content

Instantly share code, notes, and snippets.

View caroll2695's full-sized avatar

Caroll George caroll2695

View GitHub Profile
{{- range $job := .Values.jobs }}
---
apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: {{ $job.name }}
spec:
concurrencyPolicy: {{ $job.allowConcurrentRuns | default "false" }}
failedJobsHistoryLimit: {{ $job.history.failure }}
jobTemplate:
@caroll2695
caroll2695 / vtiger-deploy.yaml
Last active March 25, 2020 05:08 — forked from lvnilesh/deploy.yaml
vtiger yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: vtiger
spec:
replicas: 1
selector:
matchLabels:
role: vtiger
template:
@caroll2695
caroll2695 / mmpvpvc.yaml
Created March 19, 2020 20:48 — forked from lvnilesh/mmpvpvc.yaml
mattermost pv pvc
apiVersion: v1
kind: PersistentVolume
metadata:
name: mattermostconfig
spec:
capacity:
storage: 20Gi
accessModes:
- ReadWriteMany
nfs:
@caroll2695
caroll2695 / setupdash.sh
Last active November 26, 2019 01:16 — forked from lvnilesh/setupdash.sh
k8s dashboard setup
rm -rf ~/.kube
gcloud container clusters get-credentials andromeda --zone us-west1-a
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v1.10.1/src/deploy/recommended/kubernetes-dashboard.yaml
cat <<EOF | kubectl apply -f -
apiVersion: v1
kind: ServiceAccount
metadata:
name: admin-user
@caroll2695
caroll2695 / windows and linux ssh_config
Last active December 13, 2019 15:42 — forked from lvnilesh/windows and linux ssh_config
windows and linux ssh_config .\.ssh\config ~/.ssh/config
# Ubuntu Pet
Host cg-ubuntu
HostName ip_address
ForwardAgent yes
User ubuntu
StrictHostKeyChecking no
IdentityFile ./.ssh/og_id_rsa
# In *NIX
Host jumpbox