Skip to content

Instantly share code, notes, and snippets.

View redscaresu's full-sized avatar

redscaresu

View GitHub Profile
@redscaresu
redscaresu / strongswan.yaml
Created September 22, 2020 12:52 — forked from adawolfs/strongswan.yaml
This deployment uses https://hub.docker.com/r/hanyifeng/alpine-ikev2-vpn container to deploy an IPsec server with strongswan on kubernetes and openshift.
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: vpn
spec:
selector:
matchLabels:
app: vpn
serviceName: vpn
replicas: 1
@redscaresu
redscaresu / 2019-https-localhost.md
Created July 28, 2020 14:39 — forked from cecilemuller/2019-https-localhost.md
How to create an HTTPS certificate for localhost domains

How to create an HTTPS certificate for localhost domains

This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.

Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).

@redscaresu
redscaresu / zalando_standby_minio.md
Created July 16, 2020 13:30 — forked from senthilcodr/zalando_standby_minio.md
Zalando Standby Cluster using MinIO

To set-up wal shipping in primary cluster:

  1. In the file manifests/configmap.yaml, uncomment the line containing wal_s3_bucket and set it to the bucket name created in MinIO.
  2. And then, add the following lines to the same file:
  pod_environment_configmap: postgres-pod-config
---
apiVersion: v1
kind: ConfigMap
metadata:
Error: module.app1_data_1.data.template_dir.opt_bin_foo: Provider doesn't support data source: template_dir