Skip to content

Instantly share code, notes, and snippets.

View phil9909's full-sized avatar

Philipp Stehle phil9909

  • KBST GmbH
  • 13:07 (UTC +02:00)
View GitHub Profile
@phil9909
phil9909 / cf-for-k8s.yml
Created October 27, 2020 09:45
ytt conditional overlay example
apiVersion: extensions/v1
kind: Ingress
metadata:
name: example-ingress1
annotations:
ingress.kubernetes.io/rewrite-target: /
test: "123"
@phil9909
phil9909 / service.yaml
Created October 27, 2020 08:29
ytt template key names
#@ load("@ytt:data", "data")
---
kind: Service
metadata:
name: test
labels:
#@yaml/text-templated-strings
(@= data.values.annotation.key @): #@ data.values.annotation.value
test: "1234"
---
task:
do:
- paramas:
DOMAIN: "wrong"
- paramas:
DOMAIN: "wrong"
---
task:
@phil9909
phil9909 / mta.yml
Created February 26, 2020 09:39
ytt-example-mta
#@ load("@ytt:data", "data")
mta:
emname: #@ "my" + data.values.space
namespace: #@ "sap/my" + data.values.space + "/pa"
version: "1.1.0"
@phil9909
phil9909 / keybase.md
Created January 24, 2020 20:03
keybase.md

Keybase proof

I hereby claim:

  • I am phil9909 on github.
  • I am phil9909 (https://keybase.io/phil9909) on keybase.
  • I have a public key ASBjk_MU-x3-J2iY4tW3kc2pYXyi5Nc-KeRydf985cSzkQo

To claim this, I am signing this object: