Skip to content

Instantly share code, notes, and snippets.

View wvdeutekom's full-sized avatar

Wijnand van Deutekom wvdeutekom

View GitHub Profile
@wvdeutekom
wvdeutekom / resources.yml
Last active August 11, 2017 08:44
A Kubernetes resource.yml example for a deployment, service and ingress
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: nginx-ingress-test
annotations:
kubernetes.io/ingress.allow-http: "false" # This disables http traffic, does not redirect to 443 by default. If you want a redirect, set this to "true" and configure nginx to redirect http traffic to https
spec:
tls:
- secretName: tls-test.example.com

Keybase proof

I hereby claim:

  • I am wvdeutekom on github.
  • I am wijnand (https://keybase.io/wijnand) on keybase.
  • I have a public key whose fingerprint is 8A35 B7C1 B125 4B45 B5D0 65C9 4160 4C5B B3E5 D1A0

To claim this, I am signing this object:

@wvdeutekom
wvdeutekom / pf.conf
Created June 23, 2015 07:48
FreeBSD pf.conf for separate network interfaces and jails
# For best practice I could put these settings in /etc/rc.conf.d/ in separate files (network, ssh, pf)
ext_if = "em0"
int_if1 = "lo2"
int_if2 = "lo3"
# outgoing tcp / udp port
tcp_services = "{ ssh, www, https, 22, ftp, ftp-data}"
udp_services = "{ domain, ntp }"