This file contains hidden or 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
# It's recommended to install this before the chart | |
# This is part of bootstrapping a cluster, | |
# but you probably should not be doing it this way, dingus | |
data "http" "cm_crds" { | |
url = "https://github.com/cert-manager/cert-manager/releases/download/v${var.cert_manager_version}/cert-manager.crds.yaml" | |
} | |
locals { | |
crd_map = { |
This file contains hidden or 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
########################################## | |
# Cert manager | |
########################################## | |
data "http" "cert_manager_crds" { | |
url = "https://github.com/cert-manager/cert-manager/releases/download/v${var.cert_manager_version}/cert-manager.crds.yaml" | |
} | |
locals { | |
cert_manager_crds = { |
This file contains hidden or 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
name: Example of building a container and it's relevant helm chart, and pushing to container registry | |
on: | |
release: | |
types: [ published ] | |
permissions: | |
contents: read | |
jobs: |
This file contains hidden or 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
.DEFAULT_GOAL := help | |
.PHONY: help | |
help: ## This help message | |
@awk -F '[, ]+' '/^[a-zA-Z0-9_-]+:.*##/ { \ | |
target = $$0; \ | |
sub(/^[ \t]*/, "", target); \ | |
sub(/:.*##/, "##", target); \ | |
split(target, parts, "##"); \ | |
gsub(/^[ \t]*|[ \t]*$$/, "", parts[1]); \ |
This file contains hidden or 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
convert-env-file-to-fish: ## take the existing .env and convert to fish format in .env.fish | |
@awk '{ split($$1, a, "="); printf "set -gx %s \"%s\"\n", a[1], a[2]; }' .env > .env.fish |
OlderNewer