Skip to content

Instantly share code, notes, and snippets.

View AnthonyAmanse's full-sized avatar

Anthony Amanse AnthonyAmanse

View GitHub Profile
apiVersion: triggers.tekton.dev/v1alpha1
kind: TriggerTemplate
metadata:
name: pixel-build-and-deploy
spec:
params:
- name: NAMESPACE
description: The namespace is used by OpenShift's internal image registry to store the built image.
- name: DEPLOYMENT
description: Name of the Deployment and the container name in the Deployment.
apiVersion: triggers.tekton.dev/v1alpha1
kind: TriggerTemplate
metadata:
name: pixel-build-and-deploy
spec:
params:
- name: NAMESPACE
description: The namespace is used by OpenShift's internal image registry to store the built image.
- name: DEPLOYMENT
description: Name of the Deployment and the container name in the Deployment.
# I put them in my shell profile
# I use zsh so it's in ~/.zshrc
# for bash, it might be in ~/.bash_profile
alias k='kubectl'
alias ka='kubectl apply -f'
alias kex='kubectl exec -ti'
alias kl='kubectl logs'
alias kg='kubectl get'
alias kgp='kubectl get pods'