Skip to content

Instantly share code, notes, and snippets.

View fabianvf's full-sized avatar

Fabian von Feilitzsch fabianvf

View GitHub Profile
- hosts: localhost
gather_facts: no
connection: local
tasks:
- k8s_info:
api_version: v1
kind: Project
register: result
- debug: var=result
- k8s_info:
@fabianvf
fabianvf / bakkesmod.log
Created October 1, 2020 19:29
Logs for failed Rocket League DX11 bakkesmod hook
[14:14:24] Creating CVarmanager
[14:14:24] Creating console
[14:14:24] Created console
[14:14:24] Initialized logging
[14:14:24] Running BakkesMod from Sep 29 2020 17:42:26
[14:14:24] Checking steam build ID
[14:14:24] Requesting https://config.bakkesmod.com/static/startupconfig.json
[14:14:25] Incoming json: {"config":{"BakkesMod":true,"RankShowMod":true,"SyncInterval":300.0,"EnableQueueMod":true,"DisregardPlacements":true},"versions":{"110":{"steam":[5244119]}, "119":{"steam":[5524195,5559293]}, "120":{"steam":[5560047]}, "121":{"steam":[5560047]}, "122":{"steam":[5597994]}}, "plugins": {"broken": ["queuedeck"]}}
#!/usr/bin/bash
function setup() {
trap "(echo 'Cleaning up kind cluster' ; set -x ; kind delete cluster ; rm /tmp/kind-test-kubeconfig)" EXIT
make install
make setup-k8s
kind get kubeconfig --name=kind > /tmp/kind-test-kubeconfig
export KUBECONFIG="/tmp/kind-test-kubeconfig"
}

Genius Loci Notes

Locations

Rest

City: Any

Events:

  • Telephone rings in the dead of night. Answering reveals only static and pops. Sense of a presence is palpable.
  • Automobile is vandalized, tires slashed. Messy smear across windshield, a finger-painting in blood. Resembles many-eyed dragon.
diff --git a/pkg/ansible/controller/controller.go b/pkg/ansible/controller/controller.go
index 02accab2..28bdeb92 100644
--- a/pkg/ansible/controller/controller.go
+++ b/pkg/ansible/controller/controller.go
@@ -28,6 +28,7 @@ import (
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
+ "sigs.k8s.io/controller-runtime/pkg/client"
"sigs.k8s.io/controller-runtime/pkg/controller"
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 00000000..361ea2df
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,26 @@
+FROM openshift/origin-release:golang-1.11 AS builder
+COPY . /go/src/github.com/operator-framework/operator-sdk
+RUN cd /go/src/github.com/operator-framework/operator-sdk \
+ && make build/operator-sdk-dev-x86_64-linux-gnu VERSION=dev
augroup configgroup
autocmd!
" rst
autocmd BufNewFile,BufRead *.txt setlocal ft=rst
autocmd FileType rst setlocal wrap nolist expandtab lbr shiftwidth=4 tabstop=4 softtabstop=4
\ formatoptions+=nqtl
" markdown
autocmd BufRead,BufNewFile *.md set filetype=markdown
autocmd FileType markdown setlocal wrap nolist expandtab lbr shiftwidth=4 tabstop=4 softtabstop=4
\ formatoptions+=nqtl
FROM openshift/origin-release:golang-1.11 AS builder
WORKDIR /go/src/github.com/operator-framework/operator-sdk
COPY . .
RUN make build/operator-sdk-dev-x86_64-linux-gnu VERSION=dev
ENV GO111MODULE=on
RUN build/operator-sdk-dev-x86_64-linux-gnu new tmp \
--type=ansible \
FROM openshift/origin-release:golang-1.11 AS builder
WORKDIR /go/src/github.com/operator-framework/operator-sdk
COPY . .
RUN make build/operator-sdk-dev-x86_64-linux-gnu VERSION=dev
ENV GO111MODULE=on
RUN build/operator-sdk-dev-x86_64-linux-gnu new tmp \
--type=ansible \
FROM openshift/origin-release:golang-1.11 AS builder
COPY . /go/src/github.com/operator-framework/operator-sdk
RUN cd /go/src/github.com/operator-framework/operator-sdk \
&& make build/operator-sdk-dev-x86_64-linux-gnu VERSION=dev
FROM registry.access.redhat.com/ubi8/python-27
USER 0
RUN mkdir -p /etc/ansible \