PSA/ee/helm/temporal/templates/deployment.yaml
Hermes 284313f908
Some checks are pending
Bidi Control Character Guard / bidi-control-guard (push) Waiting to run
Circular Dependency Check / Check for new circular dependencies (push) Waiting to run
Citus Migration Smoke / Combined migrations on single-node Citus (push) Waiting to run
E2E Fresh Install Tests / fresh-install-e2e (push) Waiting to run
ext-v2 guardrails / Run ext-v2 guard and ESLint (push) Waiting to run
Integration Tests / Check for relevant changes (push) Waiting to run
Integration Tests / ${{ (github.event_name == 'schedule' || github.event.inputs.suite == 'full') && 'Full integration suite' || 'Tier-1 integration subset' }} (push) Blocked by required conditions
Mobile checks / Mobile lint + typecheck (push) Waiting to run
Mobile checks / Mobile unit tests (push) Waiting to run
Mobile checks / Mobile dependency audit (report) (push) Waiting to run
Mobile checks / Mobile reproducibility checks (push) Waiting to run
Secrets guard (env backups) / Ensure no tracked env backup files (push) Waiting to run
Temporal Readiness / fast-readiness (push) Waiting to run
Temporal Readiness / docker-parity (push) Waiting to run
TypeScript Type Check / Nx affected typecheck (push) Waiting to run
Unit Tests / Skipped-test budget (push) Waiting to run
Unit Tests / Nx affected unit tests (push) Waiting to run
Unit Tests / Server unit coverage (informational) (push) Waiting to run
Validate Tenant Management Schema / Check for relevant changes (push) Waiting to run
Validate Tenant Management Schema / Validate Tenant Management Schema (push) Blocked by required conditions
EE Workflows Build Guard / ee-workflows-build-guard (push) Waiting to run
Initial import of AlgaPSA codebase from PSA server
Excluded: .git, node_modules, secrets/, compose.env, assemblyscript tgz

Source: /opt/alga-psa on psa.joliet.tech
2026-06-22 16:12:17 -05:00

95 lines
3.4 KiB
YAML

{{- if .Values.enabled }}
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "temporal.fullname" . }}
namespace: {{ include "temporal.namespace" . }}
labels:
{{- include "temporal.labels" . | nindent 4 }}
app.kubernetes.io/component: server
spec:
replicas: {{ .Values.server.replicaCount }}
selector:
matchLabels:
{{- include "temporal.selectorLabels" . | nindent 6 }}
app.kubernetes.io/component: server
template:
metadata:
annotations:
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "temporal.selectorLabels" . | nindent 8 }}
app.kubernetes.io/component: server
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
enableServiceLinks: false
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: temporal
image: "{{ .Values.server.image.repository }}:{{ .Values.server.image.tag }}"
imagePullPolicy: {{ .Values.server.image.pullPolicy }}
command: ["/bin/sh", "-c", "exec /etc/temporal/entrypoint.sh autosetup"]
env:
- name: DB
value: "{{ .Values.temporal.db }}"
- name: DB_PORT
value: "{{ .Values.db.port }}"
- name: POSTGRES_SEEDS
value: "{{ .Values.temporal.postgresSeeds }}"
- name: POSTGRES_USER
value: "{{ .Values.db.adminUser }}"
- name: POSTGRES_PWD
valueFrom:
secretKeyRef:
name: {{ .Values.db.adminPasswordSecret.name }}
key: {{ .Values.db.adminPasswordSecret.key }}
- name: POSTGRES_HOST
value: "{{ .Values.db.host }}"
- name: TEMPORAL_CLI_ADDRESS
value: "{{ .Values.service.name }}:{{ .Values.service.port }}"
- name: DEFAULT_NAMESPACE
value: "{{ .Values.temporal.namespace }}"
- name: DEFAULT_NAMESPACE_RETENTION
value: "{{ .Values.temporal.namespaceRetention }}"
- name: SKIP_DEFAULT_NAMESPACE_CREATION
value: "true"
- name: SKIP_ADD_CUSTOM_SEARCH_ATTRIBUTES
value: "true"
ports:
- name: grpc
containerPort: {{ .Values.service.port }}
protocol: TCP
startupProbe:
tcpSocket:
port: grpc
failureThreshold: {{ .Values.server.startupProbe.failureThreshold }}
periodSeconds: {{ .Values.server.startupProbe.periodSeconds }}
readinessProbe:
tcpSocket:
port: grpc
initialDelaySeconds: {{ .Values.server.readinessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.server.readinessProbe.periodSeconds }}
livenessProbe:
tcpSocket:
port: grpc
initialDelaySeconds: {{ .Values.server.livenessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.server.livenessProbe.periodSeconds }}
resources:
{{- toYaml .Values.server.resources | nindent 12 }}
{{- end }}