Create an app
This commit is contained in:
parent
dfedadb1e6
commit
8bed95dd3e
@ -1,27 +0,0 @@
|
||||
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [[ $1 == "--config" ]] ; then
|
||||
cat <<EOF
|
||||
configVersion: v1
|
||||
kubernetes:
|
||||
- name: Watch bootstrap configmaps getting removed
|
||||
apiVersion: tekton.dev/v1beta1
|
||||
kind: PipelineRun
|
||||
executeHookOnSynchronization: false
|
||||
executeHookOnEvent: ["Modified"]
|
||||
jqFilter: ".status."
|
||||
labelSelector:
|
||||
matchExpressions:
|
||||
- key: "component"
|
||||
operator: "In"
|
||||
values: ["bootstrap"]
|
||||
EOF
|
||||
else
|
||||
# -------------------------------------------------------------------
|
||||
# If status is succeeded, remove pipelinerun
|
||||
# If failed, print a warning (till we have a notification system)
|
||||
# -------------------------------------------------------------------
|
||||
echo todo
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user