Skip to content

Instantly share code, notes, and snippets.

View isutton's full-sized avatar

Igor Sutton isutton

  • Calango Tech B.V.
View GitHub Profile
@isutton
isutton / configMapScopedAnnotations.feature
Last active September 23, 2020 13:40
Binding annotations feature
Feature: ConfigMap Scoped Annotations
Scenario: Copy a single key from a ConfigMap related to the Service resource to the binding secret
Given CRD "databases.postgresql.baiju.dev" contains the annotation "service.binding/certificate: path={.status.data.dbConfiguration},objectType=ConfigMap,sourceKey=certificate"
And Resource "cmsa-1-configmap" is created
"""
apiVersion: v1
kind: ConfigMap
metadata:
name: cmsa-1-configmap
data:

Acceptance Tests Locally on Fedora 34

The following procedure has been identified to consistently work.

Installing minikube

The first piece of the puzzle is minikube, which the latest version can be installed using the following commands:

curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
@isutton
isutton / Makefile
Last active August 30, 2024 18:09
chart-streams original resources
APP ?= chartflow
MODULE = $(subst -,,$(APP))
IMAGE = quay.io/kubesmith/$(APP)
IMAGE_TAG = $(IMAGE):latest
IMAGE_DEV_TAG = $(IMAGE)-dev:latest
OUTPUT_DIR ?= _output
DEVCONTAINER_ARGS ?=