Skip to content

Instantly share code, notes, and snippets.

@cameronbrunner
cameronbrunner / infrastructure-components.yaml
Last active September 29, 2022 17:23
custom controller-manager aml
apiVersion: v1
kind: Namespace
metadata:
labels:
app: sidero
cluster.x-k8s.io/provider: sidero
cluster.x-k8s.io/v1alpha3: v1alpha3
cluster.x-k8s.io/v1alpha4: v1alpha3
cluster.x-k8s.io/v1beta1: v1alpha3
pod-security.kubernetes.io/enforce: privileged
@cameronbrunner
cameronbrunner / docker-configure-tls.sh
Last active April 26, 2022 17:15 — forked from ivan-pinatti/docker-configure-tls.sh
Enable TLS in Docker service running in Ubuntu - #docker #docker-tls #tls #ubuntu
#!/usr/bin/env bash
: ' Script that enables TLS for Docker service in Ubuntu 16.x
This script is intended to be run as root
It;
- Generates the keys
- Creates the daemon.json Docker config file