softplayer-helmfile/charts/tekton-pipelines/templates/shell-operator/deploy.yaml

27 lines
723 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: shell-operator
namespace: {{ .Values.pipelineRunNamespace }}
labels:
{{- include "tekton-pipelines.labels" . | nindent 4 }}
spec:
replicas: 1
selector:
matchLabels:
{{- include "tekton-pipelines.selectorLabels" . | nindent 6 }}
template:
metadata:
labels:
{{- include "tekton-pipelines.labels" . | nindent 8 }}
spec:
serviceAccountName: shell-operator
containers:
- name: shell-operator
env:
- name: SP_TEKTON_RUNTIME_NS
value: {{ .Values.pipelineRunNamespace }}
imagePullPolicy: Always
image: git.badhouseplants.net/softplayer/softplayer-controller:latest