update
diff --git a/charts/goproxy/.helmignore b/charts/goproxy/.helmignore
new file mode 100644
index 0000000..0e8a0eb
--- /dev/null
+++ b/charts/goproxy/.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/goproxy/Chart.yaml b/charts/goproxy/Chart.yaml
new file mode 100644
index 0000000..4eb5f60
--- /dev/null
+++ b/charts/goproxy/Chart.yaml
@@ -0,0 +1,6 @@
+apiVersion: v2
+name: goproxy
+description: A Helm chart for goproxy
+type: application
+version: 0.0.1
+appVersion: "0.0.1"
diff --git a/charts/goproxy/templates/install.yaml b/charts/goproxy/templates/install.yaml
new file mode 100644
index 0000000..d2bc499
--- /dev/null
+++ b/charts/goproxy/templates/install.yaml
@@ -0,0 +1,56 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: goproxy
+ namespace: {{ .Release.Namespace }}
+spec:
+ type: ClusterIP
+ selector:
+ app: goproxy
+ ports:
+ - name: http
+ port: {{ .Values.servicePort }}
+ targetPort: http
+ protocol: TCP
+---
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: goproxy
+ namespace: {{ .Release.Namespace }}
+spec:
+ selector:
+ matchLabels:
+ app: goproxy
+ replicas: 1
+ template:
+ metadata:
+ labels:
+ app: goproxy
+ spec:
+ containers:
+ - name: goproxy
+ image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
+ imagePullPolicy: {{ .Values.image.pullPolicy }}
+ ports:
+ - name: http
+ containerPort: {{ .Values.port }}
+ protocol: TCP
+ command:
+ - server
+ - --address=:{{ .Values.port }}
+ env:
+ - name: GOMODCACHE
+ value: /go/pkg/mod
+ volumeMounts:
+ - name: cache-volume
+ mountPath: /go/pkg/mod
+ volumes:
+ - name: cache-volume
+ persistentVolumeClaim:
+ claimName: {{ .Values.persistentVolumeClaimName }}
+ tolerations:
+ - key: "pcloud"
+ operator: "Equal"
+ value: "role"
+ effect: "NoSchedule"
diff --git a/charts/goproxy/values.yaml b/charts/goproxy/values.yaml
new file mode 100644
index 0000000..82926f6
--- /dev/null
+++ b/charts/goproxy/values.yaml
@@ -0,0 +1,7 @@
+image:
+ repository: ghcr.io/goproxy/goproxy
+ tag: latest
+ pullPolicy: Always
+port: 8080
+servicePort: 80
+persistentVolumeClaimName: data