init
This commit is contained in:
22
helm/nginx/templates/deployment.yaml
Normal file
22
helm/nginx/templates/deployment.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: { { include "nginx.fullname" . } }
|
||||
labels:
|
||||
app: { { include "nginx.name" . } }
|
||||
spec:
|
||||
replicas: { { .Values.replicaCount } }
|
||||
selector:
|
||||
matchLabels:
|
||||
app: { { include "nginx.name" . } }
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: { { include "nginx.name" . } }
|
||||
spec:
|
||||
containers:
|
||||
- name: nginx
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
imagePullPolicy: { { .Values.image.pullPolicy } }
|
||||
ports:
|
||||
- containerPort: 80
|
||||
Reference in New Issue
Block a user