Skip to content

Instantly share code, notes, and snippets.

View ThomasVitale's full-sized avatar
🍃
Cloud Native Spring in Action

Thomas Vitale ThomasVitale

🍃
Cloud Native Spring in Action
View GitHub Profile
@ThomasVitale
ThomasVitale / custom-values.yml
Last active March 2, 2023 20:12
Contour ConfigMap Example with Carvel ytt
#@data/values
---
config-contour:
timeouts:
connection-idle-timeout: 30s
stream-idle-timeout: 2m
disablePermitInsecure: true
# Imgpkg => https://carvel.dev/imgpkg
imgpkg copy \
-i docker.io/thomasvitale/book-service:1.0 \
--to-repo ghcr.io/thomasvitale/book-service \
--cosign-signatures
# Skopeo => https://github.com/containers/skopeo
skopeo copy \
docker://docker.io/thomasvitale/book-service:1.0 \
docker://quay.io/thomasvitale/book-service:1.0
@ThomasVitale
ThomasVitale / deployment.yml
Last active June 20, 2023 19:50
Tekton kbld issue
apiVersion: apps/v1
kind: Deployment
metadata:
name: tekton-pipelines-controller
namespace: tekton-pipelines
spec:
selector:
matchLabels:
app.kubernetes.io/name: controller
app.kubernetes.io/component: controller
@ThomasVitale
ThomasVitale / schema.yml
Last active September 4, 2023 17:19
ytt yaml fragment snippet
#@data/values-schema
---
service:
enabled: true
@ThomasVitale
ThomasVitale / kpack-overlay.yml
Created September 13, 2023 10:49
Kpack with custom CA
#@ load("@ytt:data", "data")
#@ load("@ytt:overlay", "overlay")
#@ load("/config.star", "get_ca_certificates")
#@ if data.values.ca_cert_data != "":
#@yaml/text-templated-strings
---
apiVersion: v1
kind: Secret