Compare commits
9 Commits
1.0.2
...
upstream-1.0.5
| Author | SHA1 | Date | |
|---|---|---|---|
| 5d6a9de2d5 | |||
| 24fcde5f2e | |||
| f09e2ff4fe | |||
| fc3d9c0910 | |||
| 466cff4aa1 | |||
| b5ebad80c8 | |||
| 465e817e22 | |||
| 36c0e0a733 | |||
| 80f4cf1e3f |
@@ -57,6 +57,8 @@ The following table lists the configurable parameters of the Postiz chart and th
|
||||
| `ingress.tls` | Ingress TLS configuration | `[]` |
|
||||
| `ingress.path` | Path within the host | `/` |
|
||||
| `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,
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
name: postiz-app
|
||||
description: A Social Media Scheduling App
|
||||
type: application
|
||||
version: 1.0.2
|
||||
version: 1.0.5
|
||||
appVersion: "1.3.0"
|
||||
maintainers:
|
||||
- name: jonathan-irvin
|
||||
|
||||
@@ -35,8 +35,15 @@ spec:
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 3000
|
||||
containerPort: 5000
|
||||
protocol: TCP
|
||||
volumeMounts:
|
||||
{{- if .Values.extraVolumeMounts }}
|
||||
{{- toYaml .Values.extraVolumeMounts | nindent 12 }}
|
||||
{{- else }}
|
||||
- name: uploads-volume
|
||||
mountPath: /uploads
|
||||
{{- end }}
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: {{ include "postiz.fullname" . }}-config
|
||||
@@ -44,6 +51,9 @@ spec:
|
||||
name: {{ include "postiz.fullname" . }}-secrets
|
||||
resources:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
{{- if .Values.extraContainers }}
|
||||
{{- toYaml .Values.extraContainers | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
@@ -56,3 +66,10 @@ spec:
|
||||
tolerations:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
{{- if .Values.extraVolumes }}
|
||||
{{- toYaml .Values.extraVolumes | nindent 8 }}
|
||||
{{- else }}
|
||||
- name: uploads-volume
|
||||
emptyDir: {}
|
||||
{{- end }}
|
||||
|
||||
@@ -11,5 +11,8 @@ spec:
|
||||
targetPort: http
|
||||
protocol: TCP
|
||||
name: http
|
||||
{{- if .Values.service.additionalPorts }}
|
||||
{{- toYaml .Values.service.additionalPorts | nindent 4 }}
|
||||
{{- end }}
|
||||
selector:
|
||||
{{- 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 }}
|
||||
@@ -23,6 +23,7 @@ securityContext: {}
|
||||
service:
|
||||
type: ClusterIP
|
||||
port: 80
|
||||
additionalPorts: []
|
||||
|
||||
ingress:
|
||||
enabled: false # Disabled by default
|
||||
@@ -44,6 +45,11 @@ ingress:
|
||||
|
||||
resources: {}
|
||||
|
||||
extraContainers: []
|
||||
|
||||
extraVolumes: []
|
||||
extraVolumeMounts: []
|
||||
|
||||
autoscaling:
|
||||
enabled: false
|
||||
minReplicas: 1
|
||||
|
||||
Reference in New Issue
Block a user