softplayer-controller/tpls/flux-create.yaml

28 lines
676 B
YAML
Raw Permalink Normal View History

2024-05-04 17:54:14 +00:00
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
generateName: install-app
labels:
softplayer.net/env_name: "${SP_TEKTON_RUNTIME_NS}"
softplayer.net/user-uuid: "${SP_CUSTOMER_ID}"
tekton.dev/pipeline: hetzner-k3sf9p5s
namespace: "${SP_TEKTON_RUNTIME_NS}"
spec:
params:
- name: namespace
value: "${SP_CUSTOMER_ID}"
- name: environment
value: "${SP_ENVIRONMENT}"
- name: application
value: "${SP_APPLICATION}"
pipelineRef:
params:
- name: kind
value: pipeline
- name: name
value: install-app
- name: namespace
value: tekton-pipelines
resolver: cluster
serviceAccountName: secret-manager