25 lines
552 B
YAML
25 lines
552 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: {{ .Release.Name }}-taskfile-build
|
|
labels:
|
|
app: taskfile-build
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: taskfile-build
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: taskfile-build
|
|
spec:
|
|
containers:
|
|
- name: taskfile-build
|
|
image: {{ .Values.image }}
|
|
imagePullPolicy: {{ .Values.imagePullPolicy }}
|
|
envFrom:
|
|
- configMapRef:
|
|
name: {{ .Release.Name }}-configmap
|
|
ports:
|
|
- containerPort: 80
|