Update nginx-chart/templates/deployment.yaml

This commit is contained in:
2026-07-18 05:51:17 +00:00
parent a82ea85497
commit a3714a6933
+9 -2
View File
@@ -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 }}"