Skip to content

Instantly share code, notes, and snippets.

@jefferyb
jefferyb / insecure-registries-with-podman.md
Created January 19, 2022 04:03
Configure podman to work with insecure registries... Using MicroK8s’ built-in registry

How to configure podman to work with insecure registries

Working with MicroK8s’ built-in registry

$ microk8s enable registry

# or if you want to specify the amount of storage to be added. E.g., to use 40Gi:
$ microk8s enable registry:size=40Gi
@jefferyb
jefferyb / ansible-summary.md
Created October 1, 2017 10:53 — forked from andreicristianpetcu/ansible-summary.md
This is an ANSIBLE Cheat Sheet from Jon Warbrick

An Ansible summary

Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)

Configuration file

intro_configuration.html

First one found from of

@jefferyb
jefferyb / default-router-certificate.sh
Created July 5, 2017 21:21
Changing the default SSL certificate on your OpenShift routers Raw
#!/bin/bash
OC_DEFAULT_SUBDOMAIN="openshift.example.com"
# Create a pem file with the new files
cat ${OC_DEFAULT_SUBDOMAIN}.crt ${OC_DEFAULT_SUBDOMAIN}.key ${OC_DEFAULT_SUBDOMAIN}.ca-cert > ${OC_DEFAULT_SUBDOMAIN}.combined.pem
# Create a backup, just in case
mkdir -p openshift/backup
oc export -n default secrets/router-certs sa/router clusterrolebindings/router-router-role deploymentconfig/router service/router > openshift/backup/default.router.backup.yaml
@jefferyb
jefferyb / master-config.yaml
Last active July 5, 2017 21:27
Changing OpenShift Console's SSL Certificate setting
# switch namedCertificates: null with
namedCertificates:
- certFile: wildcard.example.com.crt
keyFile: wildcard.example.com.key
names:
- "dashboard.openshift.example.com"
# ref: