update
diff --git a/charts/soft-serve/templates/ingress.yaml b/charts/soft-serve/templates/ingress.yaml
deleted file mode 100644
index 490a5b3..0000000
--- a/charts/soft-serve/templates/ingress.yaml
+++ /dev/null
@@ -1,31 +0,0 @@
-{{ if .Values.ingress.enabled }}
-apiVersion: networking.k8s.io/v1
-kind: Ingress
-metadata:
- name: ingress
- namespace: {{ .Release.Namespace }}
- {{- if .Values.ingress.certificateIssuer }}
- annotations:
- acme.cert-manager.io/http01-edit-in-place: "true"
- cert-manager.io/cluster-issuer: {{ .Values.ingress.certificateIssuer }}
- {{- end }}
-spec:
- ingressClassName: {{ .Values.ingress.ingressClassName }}
- {{- if .Values.ingress.certificateIssuer }}
- tls:
- - hosts:
- - {{ .Values.ingress.domain }}
- secretName: cert-soft-serve
- {{- end }}
- rules:
- - host: {{ .Values.ingress.domain }}
- http:
- paths:
- - path: /
- pathType: Prefix
- backend:
- service:
- name: soft-serve
- port:
- name: http
-{{ end }}
diff --git a/charts/soft-serve/templates/service-transport.yaml b/charts/soft-serve/templates/service-transport.yaml
deleted file mode 100644
index 969fbbe..0000000
--- a/charts/soft-serve/templates/service-transport.yaml
+++ /dev/null
@@ -1,13 +0,0 @@
-{{ if .Values.ingress.enabled }}
-apiVersion: transport.dodo.cloud/v1
-kind: ServiceTransport
-metadata:
- name: ingress-transport
- namespace: {{ .Release.Namespace }}
-spec:
- port: {{ .Values.port }}
- sourcePort: {{ .Values.ingress.sourcePort }}
- protocol: TCP
- service: soft-serve
- ingressClassName: {{ .Values.ingress.ingressClassName }}
-{{ end }}
diff --git a/charts/soft-serve/templates/stateful-set.yaml b/charts/soft-serve/templates/stateful-set.yaml
index e5b32eb..7c776c2 100644
--- a/charts/soft-serve/templates/stateful-set.yaml
+++ b/charts/soft-serve/templates/stateful-set.yaml
@@ -17,7 +17,7 @@
volumes:
- name: data
persistentVolumeClaim:
- claimName: soft-serve
+ claimName: {{ .Values.persistentVolumeClaimName }}
{{ if and .Values.privateKey .Values.publicKey }}
- name: keys
configMap:
diff --git a/charts/soft-serve/templates/volume.yaml b/charts/soft-serve/templates/volume.yaml
deleted file mode 100644
index f5d0bfc..0000000
--- a/charts/soft-serve/templates/volume.yaml
+++ /dev/null
@@ -1,11 +0,0 @@
-apiVersion: v1
-kind: PersistentVolumeClaim
-metadata:
- name: soft-serve
- namespace: {{ .Release.Namespace }}
-spec:
- accessModes:
- - ReadWriteOnce
- resources:
- requests:
- storage: {{ .Values.storage.size }}
diff --git a/charts/soft-serve/values.yaml b/charts/soft-serve/values.yaml
index cd042fc..c69a7e0 100644
--- a/charts/soft-serve/values.yaml
+++ b/charts/soft-serve/values.yaml
@@ -2,8 +2,7 @@
repository: charmcli/soft-serve
tag: latest
pullPolicy: IfNotPresent
-storage:
- size: 1Gi
+persistentVolumeClaimName: ""
port: 22
sshPublicPort: 22
privateKey: ""