mirror of
https://github.com/dredx/prole.git
synced 2026-09-23 10:13:58 +00:00
37 lines
942 B
YAML
37 lines
942 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: svc-check-web
|
|
namespace: {{ .Values.namespace | default .Release.Namespace }}
|
|
labels:
|
|
app: svc-check-web
|
|
spec:
|
|
replicas: {{ .Values.replicaCount }}
|
|
selector:
|
|
matchLabels:
|
|
app: svc-check-web
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: svc-check-web
|
|
spec:
|
|
containers:
|
|
- name: nginx
|
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
|
ports:
|
|
- name: http
|
|
containerPort: 80
|
|
volumeMounts:
|
|
- name: content
|
|
mountPath: /usr/share/nginx/html
|
|
volumes:
|
|
- name: content
|
|
configMap:
|
|
name: svc-check-content
|
|
items:
|
|
- key: index.html
|
|
path: index.html
|
|
- key: prole-type.gif
|
|
path: prole-type.gif
|