Skip to content

Instantly share code, notes, and snippets.

@PetrMc
PetrMc / cert-chain-generator.sh
Created March 25, 2022 21:58
cert chain generation script
#!/bin/bash
# the script started as a copy from getcert.sh located on docs.tetrate.com some variables are reporposed
APP="orders"
DNS="local"
# Creating openssl config file for the leaf cert
cat <<EOF | envsubst > ${APP}.cnf
[req]
default_bits = 2048
@PetrMc
PetrMc / traefik_constructs.yaml
Created January 4, 2021 19:10
Traefik constructs - modified for the blogpost on tetrate.io web-sited
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: ingressroutes.traefik.containo.us
spec:
group: traefik.containo.us
version: v1alpha1
names:
kind: IngressRoute