This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# NETWORKING | |
resource "aws_vpc" "vpc_network" { | |
cidr_block = var.host_cidr | |
enable_dns_hostnames = true | |
enable_dns_support = true | |
assign_generated_ipv6_cidr_block = true # REQd | |
tags = { | |
"Name" = var.project | |
"kubernetes.io/cluster/${var.cluster_apps}" = "shared" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A1 - foo | |
B2 - bar | |
C3 - baz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Some of these programs are target installs; others are installed as dependencies. | |
# If the purpose of the program is not obvious, it's probably a dependency. | |
# --------------------------------------------------------------------------------- | |
autoconf | |
automake | |
aws-iam-authenticator | |
awscli | |
bash | |
bazel | |
bdw-gc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
csi: | |
daemonSet: | |
annotations: {} | |
kubeletRootDir: /var/lib/kubelet | |
providersDir: /etc/kubernetes/secrets-store-csi-providers | |
updateStrategy: | |
maxUnavailable: "" | |
type: RollingUpdate | |
debug: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
global: | |
enabled: true | |
psp: | |
annotations: | | |
seccomp.security.alpha.kubernetes.io/allowedProfileNames: docker/default,runtime/default | |
apparmor.security.beta.kubernetes.io/allowedProfileNames: runtime/default | |
seccomp.security.alpha.kubernetes.io/defaultProfileName: runtime/default | |
apparmor.security.beta.kubernetes.io/defaultProfileName: runtime/default | |
enable: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
{ IFS= read -rd '' secretMaterial <'foo-api.pem';} 2>/dev/null | |
myEncodedCert="$(echo -n "$secretMaterial" | base64)" | |
echo "$myEncodedCert" | |
myEncodedCert is displayed in a text block. I need it in a flat line as the "Target" at the bottom. | |
--- | |
OUTPUT: Actual |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If EXISTING install start here | |
# Dump the current Terraform binary | |
brew unlink terraform | |
brew uninstall terraform | |
# If NEW install start here | |
# Install tfenv | |
brew install tfenv | |
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
#set -x | |
###---------------------------------------------------------------------------- | |
### FUNCTIONS | |
###---------------------------------------------------------------------------- | |
function pMsg() { | |
theMessage="$1" | |
printf '%s\n' "$theMessage" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is the default ansible 'hosts' file. | |
# | |
# It should live in /etc/ansible/hosts | |
# | |
# - Comments begin with the '#' character | |
# - Blank lines are ignored | |
# - Groups of hosts are delimited by [header] elements | |
# - You can enter hostnames or ip addresses | |
# - A hostname/ip can be a member of multiple groups |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# config file for ansible -- http://ansible.com/ | |
# ============================================== | |
# nearly all parameters can be overridden in ansible-playbook | |
# or with command line flags. ansible will read ANSIBLE_CONFIG, | |
# ansible.cfg in the current working directory, .ansible.cfg in | |
# the home directory or /etc/ansible/ansible.cfg, whichever it | |
# finds first | |
[defaults] |