Update nginx-chart/templates/deployment.yaml
This commit is contained in:
@@ -1,16 +1,23 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
|
||||
metadata:
|
||||
name: {{ include "nginx-chart.fullname" . }}
|
||||
namespace: {{ .Values.namespace }}
|
||||
|
||||
spec:
|
||||
replicas: {{ .Values.replicaCount }}
|
||||
|
||||
selector:
|
||||
matchLabels: {app: nginx}
|
||||
matchLabels:
|
||||
app: nginx
|
||||
|
||||
template:
|
||||
metadata:
|
||||
labels: {app: nginx}
|
||||
labels:
|
||||
app: nginx
|
||||
spec:
|
||||
imagePullSecrets: harbor-secret
|
||||
containers:
|
||||
- name: nginx
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
|
||||
Reference in New Issue
Block a user