Skip to content

Instantly share code, notes, and snippets.

View danielhelfand's full-sized avatar

Daniel Helfand danielhelfand

  • Chicago
View GitHub Profile
{
"apiVersion": "v1",
"kind": "ImageStream",
"metadata": {
"annotations": {
"openshift.io/display-name": "Go"
},
"name": "golang"
},
"spec": {
{
"apiVersion": "v1",
"kind": "ImageStream",
"labels": {
"xpaas": "1.4.16"
},
"metadata": {
"annotations": {
"openshift.io/display-name": "Red Hat OpenJDK 8",
"openshift.io/provider-display-name": "Red Hat, Inc.",
{
"kind": "ImageStream",
"apiVersion": "v1",
"metadata": {
"name": "cassandra",
"annotations": {
"openshift.io/display-name": "Cassandra"
}
},
"spec": {
{
"apiVersion": "v1",
"kind": "ImageStream",
"metadata": {
"annotations": {
"openshift.io/display-name": "Rust"
},
"name": "rust"
},
"spec": {
apiVersion: tekton.dev/v1alpha1
kind: Task
metadata:
name: echo-hello-world
spec:
steps:
- name: echo
image: ubuntu
command:
- echo
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: ClusterTask
metadata:
name: clustertask
spec:
steps:
- image: ubuntu
script: |
#!/usr/bin/env bash
echo "Hello"
apiVersion: tekton.dev/v1alpha1
kind: Task
metadata:
name: choco-hello-world
spec:
steps:
- name: choco
image: stefanscherer/chocolatey:latest
command:
- choco
---
apiVersion: triggers.tekton.dev/v1alpha1
kind: EventListener
metadata:
name: listener-embed-binding
spec:
serviceAccountName: tekton-triggers-example-sa
triggers:
- name: foo-trig
bindings:
#@ load("@ytt:data", "data")
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: My REST API
#! Parameters
Parameters:
DeployEnv: