92ceb76f23
NOTES.txt:
- Detect ingress scheme dynamically (http/https based on .Values.ingress.tls)
- Include first path in ingress URL output
- Use .Values.service.port in port-forward example instead of hardcoded 80
- Add -n {{ .Release.Namespace }} to all kubectl commands
postiz-config.yaml:
- Merge temporal enabled/external branches: external address now also emits
TEMPORAL_NAMESPACE and TEMPORAL_TLS, not just TEMPORAL_ADDRESS
temporal-init-job.yaml:
- Use .Values.temporal.postgresql.seeds as PGHOST source (with fallback to
bitnami sub-chart service name) so init job and runtime use the same host
- Switch to quoted heredoc (<<-'SQL') + psql --set to pass credentials as
psql variables, preventing shell expansion from breaking on special chars
temporal-secret.yaml:
- Add required validation: temporal.postgresql.password must be set explicitly
when temporal.enabled=true
values.yaml:
- Remove hardcoded default passwords (postgresPassword, temporal.postgresql.password)
replaced with empty strings to avoid predictable default credentials
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
47 lines
2.0 KiB
Plaintext
47 lines
2.0 KiB
Plaintext
Postiz has been deployed!
|
|
|
|
Access URL:
|
|
{{- if .Values.ingress.enabled }}
|
|
{{ if .Values.ingress.tls }}https{{ else }}http{{ end }}://{{ (first .Values.ingress.hosts).host }}{{ (first (first .Values.ingress.hosts).paths).path }}
|
|
{{- else if eq .Values.service.type "NodePort" }}
|
|
http://<node-ip>:{{ .Values.service.nodePort }}
|
|
{{- else }}
|
|
kubectl port-forward svc/{{ include "postiz.fullname" . }} 5000:{{ .Values.service.port }}
|
|
http://localhost:5000
|
|
{{- end }}
|
|
|
|
{{- if .Values.temporal.enabled }}
|
|
|
|
Temporal:
|
|
Internal address : {{ include "postiz.fullname" . }}-temporal:7233
|
|
Status : kubectl -n {{ .Release.Namespace }} get pods -l app.kubernetes.io/component=temporal
|
|
Init job logs : kubectl -n {{ .Release.Namespace }} logs job/{{ include "postiz.fullname" . }}-temporal-init
|
|
|
|
After first deploy, create Temporal search attributes:
|
|
kubectl -n {{ .Release.Namespace }} exec deploy/{{ include "postiz.fullname" . }}-temporal -- \
|
|
temporal operator search-attribute create \
|
|
--namespace {{ .Values.temporal.namespace | default "default" }} \
|
|
--name organizationId --type Keyword \
|
|
--name postId --type Keyword
|
|
{{- else if .Values.temporal.address }}
|
|
|
|
Temporal (external): {{ .Values.temporal.address }}
|
|
{{- else }}
|
|
|
|
WARNING: Temporal is disabled and no address is configured.
|
|
Postiz v2.12.0+ requires Temporal for post scheduling.
|
|
Set temporal.enabled=true or provide temporal.address.
|
|
{{- end }}
|
|
|
|
{{- if and (gt (.Values.replicaCount | int) 1) (eq (.Values.env.STORAGE_PROVIDER | default "local") "local") }}
|
|
|
|
WARNING: replicaCount={{ .Values.replicaCount }} with STORAGE_PROVIDER=local is unsupported.
|
|
Local uploads are not shared across replicas. Use Cloudflare R2 or an RWX PVC.
|
|
{{- end }}
|
|
|
|
Upgrade reminder:
|
|
Always back up the PostgreSQL database before upgrading Postiz:
|
|
kubectl exec -n {{ .Release.Namespace }} <postgresql-pod> -- \
|
|
pg_dump -U {{ .Values.postgresql.auth.username }} {{ .Values.postgresql.auth.database }} \
|
|
> postiz-backup-$(date +%Y%m%d).sql
|