Skip to content

Instantly share code, notes, and snippets.

View moolen's full-sized avatar
🦝

Moritz Johner moolen

🦝
View GitHub Profile
apiVersion: eks.aws.upbound.io/v1beta1
kind: Cluster
metadata:
name: mj-eso
namespace: default
annotations:
crossplane.io/external-name: mj-eso
spec:
forProvider:
region: eu-central-1
@moolen
moolen / pod.yaml
Created January 21, 2022 08:26
kubeedge csi usage example
kind: Pod
apiVersion: v1
metadata:
name: testpod-1
spec:
nodeSelector:
kubernetes.io/hostname: TEST-HOSTNAME # insert your hostname here
node-role.kubernetes.io/edge: ""
containers:
- name: my-frontend
@moolen
moolen / ds.yaml
Last active February 15, 2022 10:20
Kubeedge / CSI distributed provisioning
# this kubeconfig oiubts to the apiserver via edgecore's metaServer
# metaServer is available via localhost bc the pod runs with hostNetwork=true
# ensure that metaServer is enabled and listens on the node's internal IP (not 127.0.0.1)
apiVersion: v1
kind: ConfigMap
metadata:
name: csi-kubeconfig
namespace: kubeedge
data:
kubeconfig: |
@moolen
moolen / csidriver-sts.yaml
Created January 14, 2022 11:38
kubeedge / csi integration example
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: csi-hostpath-controller
namespace: default
spec:
replicas: 1
selector:
matchLabels:
app: csi-hostpath-controller
From 81090ac5c02790e56a945b93863222a64075d99e Mon Sep 17 00:00:00 2001
From: Moritz Johner <beller.moritz@googlemail.com>
Date: Wed, 8 Sep 2021 21:41:22 +0200
Subject: [PATCH] fix: remove data-hash annotations
---
.../v1alpha1/externalsecret_types.go | 5 +++++
e2e/framework/eso.go | 7 +++++++
.../externalsecret/externalsecret_controller.go | 5 ++---
.../externalsecret_controller_template.go | 4 ++--
@moolen
moolen / CMakeLists.txt
Created October 8, 2020 11:16
bpftrace arm64
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a143efa..ba2c0eb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -160,7 +160,7 @@ add_subdirectory(src/arch)
add_subdirectory(src/ast)
add_subdirectory(src)
if (BUILD_TESTING)
- add_subdirectory(tests)
+ #add_subdirectory(tests)
20/07/02 15:59:08 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
20/07/02 15:59:09 INFO ElasticsearchDependenciesJob: Running Dependencies job for 2020-07-02T00:00Z, reading from jaeger-span-2020-07-02 index, result storing to jaeger-dependencies-2020-07-02
20/07/02 15:59:11 ERROR Executor: Exception in task 0.0 in stage 0.0 (TID 0)
java.lang.NullPointerException
at java.util.Objects.requireNonNull(Objects.java:203)
at java.util.Arrays$ArrayList.<init>(Arrays.java:3813)
at java.util.Arrays.asList(Arrays.java:3800)
at io.jaegertracing.spark.dependencies.elastic.json.SpanDeserializer.deserializeReferences(SpanDeserializer.java:100)
at io.jaegertracing.spark.dependencies.elastic.json.SpanDeserializer.deserialize(SpanDeserializer.java:69)
at io.jaegertracing.spark.dependencies.elastic.json.SpanDeserializer.deserialize(SpanDeserializer.java:37)
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQENBF6ZudEBCADK8fD4Yc83tLeXwK5DA1ZDFqd9ppcAkt8T3vIAkOddFPvxtNzm
gjHpufvNl+c16O5B+jc0nm9eMYlBDSG6CZPuctrhj1Hid1qDyclgPU5iPwE4n0aV
0WmF9qlxPj9OTxcy+49kUMzvXxpDBVpz/bhABaP+krvir8WF2Qy6h5aV2sdz7ZYZ
M8FshemIoQCLn20C7p1f2JRQMwPnQCDGeRwfESKfX3KwagFdJlYHfSEUsXyxjDr2
3Ai83stxDeITTXXEPaCqgfrxUw7ulFMGYeM7nmfyG3Sd/OmB/HWzFGNci16ct25p
x494Tq2oaSPkiY7GiuiY21BhJ4BBLTFe9OCRABEBAAG0H01vcml0eiBKb2huZXIg
PGZvb0BleGFtcGxlLmNvbT6JAVQEEwEIAD4WIQThXYHzD5i4naSfV6aDKFkeQCJ7
WwUCXpm50QIbAwUJA8JnAAULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRCDKFke
package controller
import (
"bytes"
"fmt"
"io/ioutil"
"os/exec"
"strconv"
"strings"
"sync"
@moolen
moolen / Dockerfile
Last active December 21, 2022 07:40
cfssl: multiple CA w/ nginx mutual tls
FROM ubuntu:14.04
# install nginx
RUN apt-get update && \
apt-get install software-properties-common -y && \
add-apt-repository ppa:nginx/stable -y && \
apt-get update && \
apt-get install -y nginx=1.12.2-0+trusty0
RUN rm -rf /etc/nginx/sites-enabled/default