Skip to content

Instantly share code, notes, and snippets.

View mauilion's full-sized avatar

Duffie Cooley mauilion

View GitHub Profile
mauilion / .gitignore
Last active November 9, 2021 21:09
terraform to generate tls assets for etcd.
View .gitignore
View inventory.yaml
master1 –
master2 –
master3 –
node1 –
node2 –
node3 –
node4 –

Torcx requires three things to operate.

  1. /etc/torcx/next-profile
    • This contains the word "docker" and is a pointer to the profile name below.
  2. /etc/torcx/profiles/docker.json
    • This is the name of a profile with the following content:
    "kind": "profile-manifest-v0",
    "value": {
View rbac all
mauilion / output of terraform plan
Last active June 23, 2018 22:50
example of element() and lookup()
View output of terraform plan
$ terraform plan | grep -v computed
Terraform will perform the following actions:
+ aws_instance.example[0]
ami: "ami-2801e54b"
availability_zone: "us-west-1b"
get_password_data: "false"
instance_type: "t2-micro"
source_dest_check: "true"
tags.%: "1"
View gist:144c975e8c10c5b1475b46fb21c73571
### Keybase proof
I hereby claim:
* I am mauilion on github.
* I am mauilion ( on keybase.
* I have a public key ASBJ2N9P0K0h58m1nuXYP10ZRaFjN_n9IvF2GMiOgPihQAo
To claim this, I am signing this object:
View added annotation
I0720 23:41:20.764217 9 store.go:533] updating annotations information for ingress kube-system/kubernetes-dashboard
I0720 23:41:20.764355 9 main.go:109] No default affinity was found for Ingress kubernetes-dashboard
I0720 23:41:20.764437 9 store.go:547] updating references to secrets for ingress kube-system/kubernetes-dashboard
I0720 23:41:20.764453 9 nginx.go:312] Event UPDATE received - object &Ingress{ObjectMeta:k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta{Name:kubernetes-dashboard,GenerateName:,Namespace:kube-system,SelfLink:/apis/extensions/v1beta1/namespaces/kube-system/ingresses/kubernetes-dashboard,UID:a3e72ca1-8c5f-11e8-80a7-0800278e07dd,ResourceVersion:94002,Generation:1,CreationTimestamp:2018-07-20 20:58:23 +0000 UTC,DeletionTimestamp:<nil>,DeletionGracePeriodSeconds:nil,Labels:map[string]string{},Annotations:map[string]string{ px-prd1002-std-ingress,$
mauilion / binary.yaml
Created July 31, 2018 00:38
problem with packaging.
View binary.yaml
$ sonobuoy version
$ strings sonobuoy | grep -A80 kind..DaemonSet
kind: DaemonSet
sonobuoy-driver: DaemonSet
sonobuoy-plugin: {{.PluginName}}
sonobuoy-result-type: {{.ResultType}}
View ingressheaders.yaml
apiVersion: extensions/v1beta1
kind: Ingress
name: headers
run: header
- http: