9 Commits

Author SHA1 Message Date
James Read 5d6a9de2d5 Merge pull request #7 from kyrbrbik/main
Add extra containers for postiz
2025-01-02 08:52:31 +00:00
Jan Breitkopf 24fcde5f2e add extra containers for postiz 2024-12-10 12:09:13 +01:00
James Read f09e2ff4fe Merge pull request #5 from Mattchewone/feat/volumes
feat: add volumes / fix issue with port
2024-11-05 16:21:05 +00:00
Matt Chaffe fc3d9c0910 continue: add defaults 2024-11-05 12:23:31 +00:00
Matt Chaffe 466cff4aa1 continue: bump version 2024-10-25 11:14:16 +01:00
Matt Chaffe b5ebad80c8 feat: add volumes / fix issue with port 2024-10-25 10:19:37 +01:00
James Read 465e817e22 Merge pull request #4 from zktaiga/add/sa
Add `ServiceAccount` template
2024-10-22 09:11:54 +01:00
Taiga 36c0e0a733 Bump Helm chart 2024-10-20 22:12:14 +04:00
Taiga 80f4cf1e3f Add ServiceAccount template 2024-10-20 22:07:06 +04:00
6 changed files with 44 additions and 4 deletions
+2
View File
@@ -57,6 +57,8 @@ The following table lists the configurable parameters of the Postiz chart and th
| `ingress.tls` | Ingress TLS configuration | `[]` | | `ingress.tls` | Ingress TLS configuration | `[]` |
| `ingress.path` | Path within the host | `/` | | `ingress.path` | Path within the host | `/` |
| `ingress.pathType` | Ingress path type | `ImplementationSpecific` | | `ingress.pathType` | Ingress path type | `ImplementationSpecific` |
| `extraVolumes` | Additional volumes to mount | `[{"name": "uploads-volume", "emptyDir": {}}]` |
| `extraVolumeMounts` | Additional volume mounts to use | `[{"name": "uploads-volume", "mountPath": "/uploads"}]` |
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example, Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v2
name: postiz-app name: postiz-app
description: A Social Media Scheduling App description: A Social Media Scheduling App
type: application type: application
version: 1.0.2 version: 1.0.5
appVersion: "1.3.0" appVersion: "1.3.0"
maintainers: maintainers:
- name: jonathan-irvin - name: jonathan-irvin
+19 -2
View File
@@ -35,8 +35,15 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
ports: ports:
- name: http - name: http
containerPort: 3000 containerPort: 5000
protocol: TCP protocol: TCP
volumeMounts:
{{- if .Values.extraVolumeMounts }}
{{- toYaml .Values.extraVolumeMounts | nindent 12 }}
{{- else }}
- name: uploads-volume
mountPath: /uploads
{{- end }}
envFrom: envFrom:
- configMapRef: - configMapRef:
name: {{ include "postiz.fullname" . }}-config name: {{ include "postiz.fullname" . }}-config
@@ -44,6 +51,9 @@ spec:
name: {{ include "postiz.fullname" . }}-secrets name: {{ include "postiz.fullname" . }}-secrets
resources: resources:
{{- toYaml .Values.resources | nindent 12 }} {{- toYaml .Values.resources | nindent 12 }}
{{- if .Values.extraContainers }}
{{- toYaml .Values.extraContainers | nindent 8 }}
{{- end }}
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}
nodeSelector: nodeSelector:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
@@ -55,4 +65,11 @@ spec:
{{- with .Values.tolerations }} {{- with .Values.tolerations }}
tolerations: tolerations:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
volumes:
{{- if .Values.extraVolumes }}
{{- toYaml .Values.extraVolumes | nindent 8 }}
{{- else }}
- name: uploads-volume
emptyDir: {}
{{- end }}
+4 -1
View File
@@ -11,5 +11,8 @@ spec:
targetPort: http targetPort: http
protocol: TCP protocol: TCP
name: http name: http
{{- if .Values.service.additionalPorts }}
{{- toYaml .Values.service.additionalPorts | nindent 4 }}
{{- end }}
selector: selector:
{{- include "postiz.selectorLabels" . | nindent 4 }} {{- include "postiz.selectorLabels" . | nindent 4 }}
@@ -0,0 +1,12 @@
{{- if .Values.serviceAccount.create }}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "postiz.serviceAccountName" . }}
labels:
{{- include "postiz.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}
+6
View File
@@ -23,6 +23,7 @@ securityContext: {}
service: service:
type: ClusterIP type: ClusterIP
port: 80 port: 80
additionalPorts: []
ingress: ingress:
enabled: false # Disabled by default enabled: false # Disabled by default
@@ -44,6 +45,11 @@ ingress:
resources: {} resources: {}
extraContainers: []
extraVolumes: []
extraVolumeMounts: []
autoscaling: autoscaling:
enabled: false enabled: false
minReplicas: 1 minReplicas: 1