Skip to content

Instantly share code, notes, and snippets.

Avatar

Axel Bock flypenguin

View GitHub Profile
@flypenguin
flypenguin / zalando-operator-values.yaml
Created May 1, 2021
a fixed version for zalando's pg-operator helm chart
View zalando-operator-values.yaml
# enable CRD configuration
configTarget: OperatorConfigurationCRD
# the following values ARE THE DEFAULT VALUES. unfortunately they are coded as
# strings in the default values.yaml, and the verification (rightfully) complains
# that either boolean or integer values are needed. so we have to re-include them
# here but with the correct data type.
# the only exceptions to this are the commented-out values, which contain integers,
# but are needed as strings. what a mess.
View appservice.tf
resource "azurerm_app_service" "paramails" {
name = "pkd-paramails-${random_string.server.result}"
location = azurerm_resource_group.rg.location
resource_group_name = azurerm_resource_group.rg.name
app_service_plan_id = azurerm_app_service_plan.plan.id
site_config {
scm_type = "ExternalGit" # use "LocalGit" and it works!!
linux_fx_version = "PYTHON|3.8"
}
@flypenguin
flypenguin / azure_rancher.tf
Created May 17, 2020
Rancher Azure fiction
View azure_rancher.tf
# AGAIN - THIS DOES NOT WORK (as of 2020-05-17)
# WHY - no symlink support in azure files.
# ... but it could have been *that* easy.
resource "azurerm_resource_group" "personal" {
name = "test_${var.i_am}"
location = "West Europe"
}
View Makefile
all: clean build prepare-test test
.PHONY: all
clean:
rm -rf tmp
.PHONY: clean
build:
mvn package
.PHONY: build
@flypenguin
flypenguin / staging.yaml
Last active Nov 11, 2018
k8s-letsencrypt-issuer-staging
View staging.yaml
apiVersion: certmanager.k8s.io/v1alpha1
kind: ClusterIssuer
metadata:
name: letsencrypt-staging
spec:
acme:
# The ACME server URL
server: https://acme-staging-v02.api.letsencrypt.org/directory
# Email address used for ACME registration
@flypenguin
flypenguin / helm.yaml
Created Nov 11, 2018
k8s-kubectl-prepare-helm
View helm.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: tiller
namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: tiller
View keybase.md

Keybase proof

I hereby claim:

  • I am flypenguin on github.
  • I am flypenguin (https://keybase.io/flypenguin) on keybase.
  • I have a public key ASAP3238oAQPWItm51J7PKKS3Gul6mGVTXh_yK5TbE_CfAo

To claim this, I am signing this object:

@flypenguin
flypenguin / Makefile
Created Mar 14, 2018
My Terraform Makefile + scripts
View Makefile
gpg-open:
Makefile-scripts/gpg-open.sh
.PHONY: gpg-open
gpg-close:
Makefile-scripts/gpg-close.sh
.PHONY: gpg-close
gpg-reencrypt:
Makefile-scripts/gpg-open.sh
@flypenguin
flypenguin / vscode.json
Created Feb 1, 2018
visual studio code config
View vscode.json
{
"editor.renderWhitespace": "boundary",
"editor.formatOnSave": true,
"editor.trimAutoWhitespace": true,
"files.trimTrailingWhitespace": true,
"files.trimFinalNewlines": true,
"files.insertFinalNewline": true,
"editor.fontFamily": "'Droid Sans Mono dotted for Powerline', 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'",
"window.zoomLevel": 0,
"[puppet]": {