softplayer-controller/tpls/hetzner-cleanup.yaml

22 lines
493 B
YAML
Raw Permalink Normal View History

2024-04-02 16:18:41 +00:00
apiVersion: tekton.dev/v1beta1
2024-04-02 16:23:10 +00:00
kind: PipelineRun
2024-04-02 16:18:41 +00:00
metadata:
generateName: hetzner-cleanup
namespace: "${SP_TEKTON_RUNTIME_NS}"
spec:
params:
- name: namespace
value: "${SP_CUSTOMER_ID}"
- name: environment
value: "${SP_ENVIRONMENT}"
2024-04-02 16:23:10 +00:00
pipelineRef:
resolver: cluster
params:
- name: kind
value: pipeline
- name: name
value: hetzner-cleanup
- name: namespace
value: tekton-pipelines
serviceAccountName: secret-manager