Skip to content

Instantly share code, notes, and snippets.

View isutton's full-sized avatar

Igor Sutton isutton

  • Lemonade
  • Amsterdam
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