diff --git a/charts/sctgdesk/Chart.yaml b/charts/sctgdesk/Chart.yaml index f1dfdbd..5e23654 100644 --- a/charts/sctgdesk/Chart.yaml +++ b/charts/sctgdesk/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: sctgdesk description: A Helm chart for deploying the backend of the SCTGDesk application type: application -version: 1.0.6 +version: 1.0.7 appVersion: 1.0.0 \ No newline at end of file diff --git a/charts/sctgdesk/templates/pod.yaml b/charts/sctgdesk/templates/pod.yaml index df5cadd..2cec57d 100644 --- a/charts/sctgdesk/templates/pod.yaml +++ b/charts/sctgdesk/templates/pod.yaml @@ -31,7 +31,7 @@ spec: image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" imagePullPolicy: {{ .Values.image.pullPolicy }} # command: [ "{{ .Values.hbbs.command }}" ] - command: [ "/bin/sh", "-c", "ln -svf {{ .Values.volume.mountPath }}/secrets/* {{ .Values.volume.mountPath }}/ && {{ .Values.hbbs.command }} -k {{ .Values.secret.id_ed25519 | b64dec }} {{ if .Values.gateway.proxyV2 }}--proxy-v2=Y{{ end }}" ] + command: [ "/bin/sh", "-c", "ln -svf {{ .Values.volume.mountPath }}/secrets/* {{ .Values.volume.mountPath }}/ && {{ .Values.hbbs.command }} -k {{ .Values.secret.id_ed25519 | b64dec }} {{ if .Values.gateway.proxyV2 }}--proxyv2=true{{ end }}" ] # command: [ "/bin/sh", "-c", "ln -svf {{ .Values.volume.mountPath }}/secrets/* {{ .Values.volume.mountPath }}/ && {{ .Values.hbbs.command }} -k {{ .Values.secret.id_ed25519 | b64dec }}" ] env: - name: KEY diff --git a/charts/web-smtp-relay/Chart.yaml b/charts/web-smtp-relay/Chart.yaml new file mode 100644 index 0000000..deeef07 --- /dev/null +++ b/charts/web-smtp-relay/Chart.yaml @@ -0,0 +1,7 @@ +apiVersion: v2 +name: web-smtp-relay +description: A Helm chart for Web-SMTP Relay +type: application +version: 0.1.0 +appVersion: "1.0.0" +icon: https://avatars.githubusercontent.com/u/165936401?v=4 \ No newline at end of file diff --git a/charts/web-smtp-relay/templates/_helpers.tpl b/charts/web-smtp-relay/templates/_helpers.tpl new file mode 100644 index 0000000..f09bc50 --- /dev/null +++ b/charts/web-smtp-relay/templates/_helpers.tpl @@ -0,0 +1,51 @@ +{{/* +Expand the name of the chart. +*/}} +{{- define "web-smtp-relay.name" -}} +{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{/* +Create a default fully qualified app name. +We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). +If release name contains chart name it will be used as a full name. +*/}} +{{- define "web-smtp-relay.fullname" -}} +{{- if .Values.fullnameOverride }} +{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} +{{- else }} +{{- $name := default .Chart.Name .Values.nameOverride }} +{{- if contains $name .Release.Name }} +{{- .Release.Name | trunc 63 | trimSuffix "-" }} +{{- else }} +{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} +{{- end }} +{{- end }} +{{- end }} + +{{/* +Create chart name and version as used by the chart label. +*/}} +{{- define "web-smtp-relay.chart" -}} +{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{/* +Common labels +*/}} +{{- define "web-smtp-relay.labels" -}} +helm.sh/chart: {{ include "web-smtp-relay.chart" . }} +{{ include "web-smtp-relay.selectorLabels" . }} +{{- if .Chart.AppVersion }} +app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} +{{- end }} +app.kubernetes.io/managed-by: {{ .Release.Service }} +{{- end }} + +{{/* +Selector labels +*/}} +{{- define "web-smtp-relay.selectorLabels" -}} +app.kubernetes.io/name: {{ include "web-smtp-relay.name" . }} +app.kubernetes.io/instance: {{ .Release.Name }} +{{- end }} \ No newline at end of file diff --git a/charts/web-smtp-relay/templates/configmap.yaml b/charts/web-smtp-relay/templates/configmap.yaml new file mode 100644 index 0000000..fbb3852 --- /dev/null +++ b/charts/web-smtp-relay/templates/configmap.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ include "web-smtp-relay.fullname" . }}-config + labels: + {{- include "web-smtp-relay.labels" . | nindent 4 }} +data: + config.yaml: | + users: + {{- range $key, $value := .Values.config.users }} + {{ $key }}: {{ $value }} + {{- end }} + + smtp: + host: {{ .Values.config.smtp.host }} + port: {{ .Values.config.smtp.port }} + username: {{ .Values.config.smtp.username }} + password: {{ .Values.config.smtp.password }} + + port: {{ .Values.config.port }} \ No newline at end of file diff --git a/charts/web-smtp-relay/templates/deployment.yaml b/charts/web-smtp-relay/templates/deployment.yaml new file mode 100644 index 0000000..0d6e6f4 --- /dev/null +++ b/charts/web-smtp-relay/templates/deployment.yaml @@ -0,0 +1,34 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ include "web-smtp-relay.fullname" . }} + labels: + {{- include "web-smtp-relay.labels" . | nindent 4 }} +spec: + replicas: {{ .Values.replicaCount }} + selector: + matchLabels: + {{- include "web-smtp-relay.selectorLabels" . | nindent 6 }} + template: + metadata: + labels: + {{- include "web-smtp-relay.selectorLabels" . | nindent 8 }} + spec: + containers: + - name: {{ .Chart.Name }} + image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" + imagePullPolicy: {{ .Values.image.pullPolicy }} + ports: + - name: http + containerPort: {{ .Values.service.port }} + protocol: TCP + volumeMounts: + - name: config + mountPath: /app/config.yaml + subPath: config.yaml + resources: + {{- toYaml .Values.resources | nindent 12 }} + volumes: + - name: config + configMap: + name: {{ include "web-smtp-relay.fullname" . }}-config \ No newline at end of file diff --git a/charts/web-smtp-relay/templates/ingress.yaml b/charts/web-smtp-relay/templates/ingress.yaml new file mode 100644 index 0000000..8d87c58 --- /dev/null +++ b/charts/web-smtp-relay/templates/ingress.yaml @@ -0,0 +1,31 @@ +{{- if .Values.ingress.enabled -}} +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: {{ include "web-smtp-relay.fullname" . }}-ingress + annotations: + {{- if .Values.ingress.annotations }} + {{- toYaml .Values.ingress.annotations | nindent 4 }} + {{- end }} + {{- if .Values.ingress.clusterIssuer }} + cert-manager.io/cluster-issuer: {{ .Values.ingress.clusterIssuer }} + {{- end }} +spec: + {{- if .Values.ingress.clusterIssuer }} + tls: + - hosts: + - {{ .Values.ingress.host }} + secretName: {{ .Release.Name }}-tls + {{- end }} + rules: + - host: {{ .Values.ingress.host }} + http: + paths: + - pathType: Prefix + path: "/" + backend: + service: + name: {{ include "web-smtp-relay.fullname" . }} + port: + number: {{ .Values.service.port }} +{{- end }} \ No newline at end of file diff --git a/charts/web-smtp-relay/templates/service.yaml b/charts/web-smtp-relay/templates/service.yaml new file mode 100644 index 0000000..2120bf9 --- /dev/null +++ b/charts/web-smtp-relay/templates/service.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ include "web-smtp-relay.fullname" . }} + labels: + {{- include "web-smtp-relay.labels" . | nindent 4 }} +spec: + type: {{ .Values.service.type }} + ports: + - port: {{ .Values.service.port }} + targetPort: http + protocol: TCP + name: http + selector: + {{- include "web-smtp-relay.selectorLabels" . | nindent 4 }} \ No newline at end of file diff --git a/charts/web-smtp-relay/values.yaml b/charts/web-smtp-relay/values.yaml new file mode 100644 index 0000000..96147cd --- /dev/null +++ b/charts/web-smtp-relay/values.yaml @@ -0,0 +1,34 @@ +replicaCount: 1 + +image: + repository: yourdockerhubusername/web-smtp-relay + pullPolicy: IfNotPresent + tag: "latest" + +service: + type: ClusterIP + port: 8080 + +resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi + +config: + users: + admin: "$2a$10$XOPbrlUPQdwdJUpSrIF6X.LbE14qsMmKGhM1A8W9iqDuy0Bx8KzWq" + smtp: + host: smtp.example.com + port: 587 + username: your_username + password: your_password + port: 8080 + +ingress: + enabled: false + host: example.com + annotations: {} + clusterIssuer: "cert-manager" \ No newline at end of file diff --git a/repo/cert-manager-webhook-oci-1.3.1.tgz b/repo/cert-manager-webhook-oci-1.3.1.tgz index ced7505..096ff12 100644 Binary files a/repo/cert-manager-webhook-oci-1.3.1.tgz and b/repo/cert-manager-webhook-oci-1.3.1.tgz differ diff --git a/repo/cloudflared-0.1.0.tgz b/repo/cloudflared-0.1.0.tgz index cfe3370..61e2238 100644 Binary files a/repo/cloudflared-0.1.0.tgz and b/repo/cloudflared-0.1.0.tgz differ diff --git a/repo/crontab-ui-1.0.0.tgz b/repo/crontab-ui-1.0.0.tgz index 8b81d1d..24af9a4 100644 Binary files a/repo/crontab-ui-1.0.0.tgz and b/repo/crontab-ui-1.0.0.tgz differ diff --git a/repo/dolidock-0.11.4.tgz b/repo/dolidock-0.11.4.tgz index 9e5b54b..7fb218b 100644 Binary files a/repo/dolidock-0.11.4.tgz and b/repo/dolidock-0.11.4.tgz differ diff --git a/repo/easyappointments-0.2.0.tgz b/repo/easyappointments-0.2.0.tgz index 7eb657c..7abec46 100644 Binary files a/repo/easyappointments-0.2.0.tgz and b/repo/easyappointments-0.2.0.tgz differ diff --git a/repo/flex-smtpd-0.1.6.tgz b/repo/flex-smtpd-0.1.6.tgz index d381c1a..7d60496 100644 Binary files a/repo/flex-smtpd-0.1.6.tgz and b/repo/flex-smtpd-0.1.6.tgz differ diff --git a/repo/gitea-1.0.2.tgz b/repo/gitea-1.0.2.tgz index 962325c..7ed38aa 100644 Binary files a/repo/gitea-1.0.2.tgz and b/repo/gitea-1.0.2.tgz differ diff --git a/repo/hcf-coder-0.3.0.tgz b/repo/hcf-coder-0.3.0.tgz index a3b43d4..9b5e0e5 100644 Binary files a/repo/hcf-coder-0.3.0.tgz and b/repo/hcf-coder-0.3.0.tgz differ diff --git a/repo/hcfmailer-1.0.0.tgz b/repo/hcfmailer-1.0.0.tgz index 1dec382..fe4384b 100644 Binary files a/repo/hcfmailer-1.0.0.tgz and b/repo/hcfmailer-1.0.0.tgz differ diff --git a/repo/hcfmailerplus-0.4.1.tgz b/repo/hcfmailerplus-0.4.1.tgz index 360fff1..f402376 100644 Binary files a/repo/hcfmailerplus-0.4.1.tgz and b/repo/hcfmailerplus-0.4.1.tgz differ diff --git a/repo/hcfschedule-0.1.0.tgz b/repo/hcfschedule-0.1.0.tgz index 315b336..de1adec 100644 Binary files a/repo/hcfschedule-0.1.0.tgz and b/repo/hcfschedule-0.1.0.tgz differ diff --git a/repo/helm-dashboard-0.1.9.tgz b/repo/helm-dashboard-0.1.9.tgz index c9e862f..e6fdd9e 100644 Binary files a/repo/helm-dashboard-0.1.9.tgz and b/repo/helm-dashboard-0.1.9.tgz differ diff --git a/repo/index.html b/repo/index.html index fb1a9e1..e230f66 100644 --- a/repo/index.html +++ b/repo/index.html @@ -278,8 +278,8 @@
sctgdesk - ( - 1.0.6 + ( + 1.0.7 @ 1.0.0 ) @@ -303,6 +303,20 @@
+ web-smtp-relay + ( + 0.1.0 + @ + 1.0.0 + ) +
++ A Helm chart for Web-SMTP Relay +
+whois-rest @@ -319,6 +333,6 @@