inital commit

This commit is contained in:
Zahid
2026-07-17 21:26:51 -07:00
commit c18468dde5
9 changed files with 112 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
apiVersion: v2
name: nginx-chart
description: Production NGINX
type: application
version: 1.0.0
appVersion: "1.27"
+18
View File
@@ -0,0 +1,18 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "nginx-chart.fullname" . }}
namespace: {{ .Values.namespace }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels: {app: nginx}
template:
metadata:
labels: {app: nginx}
spec:
containers:
- name: nginx
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
ports:
- containerPort: 80
+8
View File
@@ -0,0 +1,8 @@
apiVersion: v1
kind: Service
metadata: {name: nginx}
spec:
selector: {app: nginx}
ports:
- port: 80
targetPort: 80
+13
View File
@@ -0,0 +1,13 @@
replicaCount: 1
namespace: prod
image:
repository: nginx
tag: latest
pullPolicy: IfNotPresent
service:
type: ClusterIP
port: 80
ingress:
enabled: true
className: traefik
host: nginx.demo.local