Skip to content

Instantly share code, notes, and snippets.

View igoratencompass's full-sized avatar

igorcatportland igoratencompass

View GitHub Profile
esphome:
name: m5cam_esp32_camera
platform: ESP32
board: m5stack-core-esp32
wifi:
ssid: !secret wifi
password: !secret wifi_pw
# Enable logging
@josselin-c
josselin-c / fix-kubelet.yaml
Created December 4, 2017 14:48
Prevent pods<->kubelet communication on networks without Network Policies. 2nd try.
# This serves as a stopgap fix for https://github.com/kubernetes/kops/issues/3891
kind: DaemonSet
apiVersion: extensions/v1beta1
metadata:
namespace: kube-system
name: fix-kubelet
labels:
app: fix-kubelet
spec:
template:
@tallclair
tallclair / restricted-psp.yaml
Last active April 16, 2024 07:46
Restricted PodSecurityPolicy
apiVersion: extensions/v1beta1
kind: PodSecurityPolicy
metadata:
name: restricted
annotations:
seccomp.security.alpha.kubernetes.io/allowedProfileNames: 'docker/default'
apparmor.security.beta.kubernetes.io/allowedProfileNames: 'runtime/default'
seccomp.security.alpha.kubernetes.io/defaultProfileName: 'docker/default'
apparmor.security.beta.kubernetes.io/defaultProfileName: 'runtime/default'
spec:
@chrislovecnm
chrislovecnm / kops-admin.json
Last active October 3, 2017 15:36
Permissions Needed By a Kops Administrator - No VPC network perms included.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"ec2:AttachVolume",
"ec2:AuthorizeSecurityGroupEgress",
"ec2:AuthorizeSecurityGroupIngress",
"ec2:CreateSecurityGroup",
FROM mirror-hub.docker.tech.lastmile.com/alpine:3.5
RUN apk add --no-cache curl jq
RUN curl -o /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/v1.5.3/bin/linux/amd64/kubectl && chmod +x /usr/local/bin/kubectl
COPY rmpeers /
CMD ["/rmpeers"]
@StevenACoffman
StevenACoffman / Comparison of multi-host Docker networking.md
Last active June 27, 2022 09:14
Comparison of multi-host Docker networking
@Scottmitch
Scottmitch / openssl.ld
Last active April 23, 2020 09:21
openssl.ld for 1.0.2h
OPENSSL_1.0.0 {
global:
BIO_f_ssl;
BIO_new_buffer_ssl_connect;
BIO_new_ssl;
BIO_new_ssl_connect;
BIO_proxy_ssl_copy_session_id;
BIO_ssl_copy_session_id;
BIO_ssl_shutdown;
d2i_SSL_SESSION;