2026-07-17 21:26:51 -07:00
|
|
|
apiVersion: apps/v1
|
|
|
|
|
kind: Deployment
|
2026-07-18 05:51:17 +00:00
|
|
|
|
2026-07-17 21:26:51 -07:00
|
|
|
metadata:
|
|
|
|
|
name: {{ include "nginx-chart.fullname" . }}
|
|
|
|
|
namespace: {{ .Values.namespace }}
|
2026-07-18 05:51:17 +00:00
|
|
|
|
2026-07-17 21:26:51 -07:00
|
|
|
spec:
|
|
|
|
|
replicas: {{ .Values.replicaCount }}
|
2026-07-18 05:51:17 +00:00
|
|
|
|
2026-07-17 21:26:51 -07:00
|
|
|
selector:
|
2026-07-18 05:51:17 +00:00
|
|
|
matchLabels:
|
|
|
|
|
app: nginx
|
|
|
|
|
|
2026-07-17 21:26:51 -07:00
|
|
|
template:
|
|
|
|
|
metadata:
|
2026-07-18 05:51:17 +00:00
|
|
|
labels:
|
|
|
|
|
app: nginx
|
2026-07-17 21:26:51 -07:00
|
|
|
spec:
|
2026-07-18 05:59:07 +00:00
|
|
|
imagePullSecrets:
|
2026-07-18 05:59:25 +00:00
|
|
|
- name: harbor-secret
|
2026-07-17 21:26:51 -07:00
|
|
|
containers:
|
2026-07-18 05:51:17 +00:00
|
|
|
- name: nginx
|
|
|
|
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
|
|
|
|
ports:
|
|
|
|
|
- containerPort: 80
|