Skip to content

Instantly share code, notes, and snippets.

View heytrav's full-sized avatar
🎯
I may be slow to respond.

Travis Holton heytrav

🎯
I may be slow to respond.
View GitHub Profile
@heytrav
heytrav / argocd-values.yaml
Created March 31, 2025 21:31
Set up SOPS in ArgoCD
configs:
cm:
helm.valuesFileSchemes: >-
secrets+gpg-import, secrets+gpg-import-kubernetes,
secrets+age-import, secrets+age-import-kubernetes,
secrets,secrets+literal,
https
repoServer:
metrics:
@heytrav
heytrav / gist:cb4ee4c60046b8d782ed9a56890ea3e7
Last active October 10, 2023 03:07
clusterapi-helm-values
controlPlane:
# The failure domains to use for control plane nodes
# If given, should be a list of availability zones
# Only used when omitFailureDomain = false
failureDomains:
# Indicates whether the failure domain should be omitted from control plane nodes
omitFailureDomain: true
# The number of control plane machines to deploy
# For high-availability, this should be greater than 1
# For etcd quorum, it should be odd - usually 3, or 5 for very large clusters
@heytrav
heytrav / kubernetes.json
Last active May 10, 2023 20:11
ClusterAPI Packer variable files
{
"build_target": "raw",
"containerd_cri_socket": "unix:///run/containerd/containerd.sock",
"containerd_sha256": "191bb4f6e4afc237efc5c85b5866b6fdfed731bde12cceaa6017a9c7f8aeda02",
"containerd_version": "1.6.15",
"crictl_arch": "amd64",
"crictl_source_type": "http",
"crictl_version": "1.27.0",
"extra_debs": "containerd linux-cloud-tools-generic linux-tools-generic",
"kubeadm_template": "etc/kubeadm.yml",
@heytrav
heytrav / gist:953e7891bb30198829fc067b57866e3e
Last active February 9, 2022 18:38
terraform openstack provider crash stacktrace
│ Error: Plugin did not respond
│ with openstack_networking_subnet_v2.worker_private_subnet,
│ on main.tf line 58, in resource "openstack_networking_subnet_v2" "worker_private_subnet":
│ 58: resource "openstack_networking_subnet_v2" "worker_private_subnet" {
FROM ubuntu:latest
MAINTAINER Catalyst devs <[email protected]>
RUN apt-get update && apt-get install -y \
cpanminus \
gcc \
language-pack-en-base \
make
FROM ubuntu:latest
RUN apt-get update && apt-get install -y \
aufs-tools \
automake \
build-essential \
curl \
dpkg-sig \
libcap-dev \
libsqlite3-dev \
FROM ubuntu:latest
RUN apt-get update && apt-get install -y \
aufs-tools \
automake \
build-essential \
curl \
dpkg-sig \
libcap-dev \
libsqlite3-dev \
FROM ubuntu:latest
RUN apt-get update && apt-get install -y \
aufs-tools \
automake \
build-essential \
curl \
dpkg-sig \
libcap-dev \
libsqlite3-dev \
#!/bin/sh
# Note that the environment variables RABBITMQ_USER, RABBITMQ_PASS, RABBITMQ_VHOST need to
# be initialised somewhere. These can be passed in via the
# ReplicationController spec
# If we need to allow for more complex permissions, this
# env var naming scheme (and the rest of the script) may need to be more
# complex
if [ -n "$SSH_PASSWORD" ]; then
#cloud-config
coreos:
units:
- name: coreos-cloudinit-vagrant-mkdir.service
command: start
runtime: yes
content: |
[Service]
Type=oneshot
ExecStart=/bin/mkdir -p /var/lib/coreos-vagrant