Skip to content

Instantly share code, notes, and snippets.

View danielhelfand's full-sized avatar

Daniel Helfand danielhelfand

  • Chicago
View GitHub Profile
apiVersion: batch/v1
kind: Job
metadata:
name: pi-with-ttl
spec:
ttlSecondsAfterFinished: 100
template:
spec:
containers:
- name: pi
# :sparkles: What’s new
- **WARNING:** kapp-controller is now using v0.22.0 Kubernetes librarires. Kubernetes v1.19.0 users should read more [here](https://carvel.dev/kapp-controller/docs/latest/install/#kubernetes-versions--120) on how these library changes impact kapp-controller logs.
- The inspect section of the App status is no longer displayed by default to reduce to reduce API calls made by kapp-controller (#468)
- Thanks @praveenrewar
- PackageRepository now supports an inline fetch option similar to Apps (#464)
- Fix the Inline PathsFrom during ytt template phase (#441)
- Carvel tool version bumps:
- ytt v0.38.0
- imgpkg v0.24.0
- kapp v0.44.0
#@ load("@ytt:data", "data")
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: My REST API
#! Parameters
Parameters:
DeployEnv:
---
apiVersion: triggers.tekton.dev/v1alpha1
kind: EventListener
metadata:
name: listener-embed-binding
spec:
serviceAccountName: tekton-triggers-example-sa
triggers:
- name: foo-trig
bindings:
apiVersion: tekton.dev/v1alpha1
kind: Task
metadata:
name: choco-hello-world
spec:
steps:
- name: choco
image: stefanscherer/chocolatey:latest
command:
- choco
apiVersion: tekton.dev/v1alpha1
kind: ClusterTask
metadata:
name: clustertask
spec:
steps:
- image: ubuntu
script: |
#!/usr/bin/env bash
echo "Hello"
apiVersion: tekton.dev/v1alpha1
kind: Task
metadata:
name: echo-hello-world-script
spec:
steps:
- image: ubuntu # contains bash
script: |
#!/usr/bin/env bash
echo "Hello from Bash!"
apiVersion: tekton.dev/v1alpha1
kind: Task
metadata:
name: echo-hello-world
spec:
steps:
- name: echo
image: ubuntu
command:
- echo
{
"apiVersion": "v1",
"kind": "ImageStream",
"metadata": {
"annotations": {
"openshift.io/display-name": "Rust"
},
"name": "rust"
},
"spec": {
{
"kind": "ImageStream",
"apiVersion": "v1",
"metadata": {
"name": "cassandra",
"annotations": {
"openshift.io/display-name": "Cassandra"
}
},
"spec": {