Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View looztra's full-sized avatar

Christophe Furmaniak looztra

View GitHub Profile
@looztra
looztra / 01-docker-tls.sh
Last active February 14, 2023 00:37 — forked from zigarn/01-docker-tls.sh
Generate Docker certificates for training on TLS
#!/bin/env bash
# Configuration
export PUBLIC_DNS=<public hostname>
export PUBLIC_IP=<public host IP>
export PRIVATE_IP=<private host IP>
mkdir docker-ca
chmod 0700 docker-ca/
cd docker-ca/
@looztra
looztra / kubectl.fish
Last active July 12, 2019 15:47 — forked from terlar/kubectl.fish
Kubernetes fish completions
# kubernetes - is an open source system for managing containerized
# applications across multiple hosts, providing basic mechanisms for
# deployment, maintenance, and scaling of applications.
# See: https://kubernetes.io
function __kubectl_no_command
set -l cmd (commandline -poc)
if not set -q cmd[2]
return 0
end