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 python3 | |
import os | |
import sys | |
import re | |
INNER=r'(?P<name>.+)\](?P<content>.+)' | |
class Parser(): | |
def __init__(self, cheatfile): |
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
# TODO: STILL WIP | |
# use `traefik.ingress.kubernetes.io/router.tls.certresolver: default` annotation for kubernetes ingress. | |
--- | |
apiVersion: v1 | |
kind: Secret | |
metadata: | |
name: cloudflare-api-token-secret | |
namespace: kube-system | |
data: | |
api-token: OMITTED |
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
# Usage in k3s | |
# set k3s server with `--flannel-backend=none --disable-network-policy --service-cidr=10.43.0.0/16,fd01::00/112` | |
# restart all k3s component, containerd included. | |
# use this manifest with `kubectl apply -f <manifest> | |
# set `net.ipv6.conf.all.forwarding=1` and `net.ipv4.conf.all.forwarding=1` via sysctl | |
# ALL done. | |
--- | |
# Source: calico/templates/calico-config.yaml | |
# This ConfigMap is used to configure a self-hosted Calico installation. | |
kind: ConfigMap |