update
diff --git a/charts/proxy/.helmignore b/charts/proxy/.helmignore
new file mode 100644
index 0000000..0e8a0eb
--- /dev/null
+++ b/charts/proxy/.helmignore
@@ -0,0 +1,23 @@
+# Patterns to ignore when building packages.
+# This supports shell glob matching, relative path matching, and
+# negation (prefixed with !). Only one pattern per line.
+.DS_Store
+# Common VCS dirs
+.git/
+.gitignore
+.bzr/
+.bzrignore
+.hg/
+.hgignore
+.svn/
+# Common backup files
+*.swp
+*.bak
+*.tmp
+*.orig
+*~
+# Various IDEs
+.project
+.idea/
+*.tmproj
+.vscode/
diff --git a/charts/proxy/Chart.yaml b/charts/proxy/Chart.yaml
new file mode 100644
index 0000000..05aea82
--- /dev/null
+++ b/charts/proxy/Chart.yaml
@@ -0,0 +1,6 @@
+apiVersion: v2
+name: proxy
+description: A Helm chart for proxy
+type: application
+version: 0.0.1
+appVersion: "0.0.1"
diff --git a/charts/proxy/templates/install.yaml b/charts/proxy/templates/install.yaml
new file mode 100644
index 0000000..7b4e3e9
--- /dev/null
+++ b/charts/proxy/templates/install.yaml
@@ -0,0 +1,58 @@
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: {{ .Values.name }}
+ namespace: {{ .Release.Namespace }}
+data:
+ nginx.conf: |
+ {{ toYaml .Values.config | nindent 4 }}
+---
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: {{ .Values.name }}
+ namespace: {{ .Release.Namespace }}
+spec:
+ selector:
+ matchLabels:
+ app: proxy
+ replicas: 1
+ template:
+ metadata:
+ labels:
+ app: proxy
+ spec:
+ containers:
+ - name: proxy
+ image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
+ imagePullPolicy: {{ .Values.image.pullPolicy }}
+ ports:
+ {{- range .Values.ports }}
+ - name: {{ .name }}
+ containerPort: {{ .value }}
+ protocol: {{ .protocol }}
+ {{- end }}
+ volumeMounts:
+ - name: config
+ mountPath: /etc/nginx
+ volumes:
+ - name: config
+ configMap:
+ name: {{ .Values.name }}
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: {{ .Values.name }}
+ namespace: {{ .Release.Namespace }}
+spec:
+ type: ClusterIP
+ selector:
+ app: proxy
+ ports:
+ {{- range .Values.ports }}
+ - name: {{ .name }}
+ port: {{ .value }}
+ targetPort: {{ .name }}
+ protocol: {{ .protocol }}
+ {{- end }}
diff --git a/charts/proxy/values.yaml b/charts/proxy/values.yaml
new file mode 100644
index 0000000..6764883
--- /dev/null
+++ b/charts/proxy/values.yaml
@@ -0,0 +1,13 @@
+name: proxy
+image:
+ repository: library/nginx
+ tag: 1.27.1-alpine3.20-slim
+ pullPolicy: IfNotPresent
+config: "nginx configuration"
+ports:
+- name: web
+ value: 8080
+ protocol: TCP
+- name: API
+ value: 9090
+ protocol: UDP