apiVersion: apps/v1 kind: Deployment metadata: name: ushahidi-client namespace: ushahidi spec: replicas: 1 selector: matchLabels: component: client template: metadata: labels: component: client spec: securityContext: runAsNonRoot: false runAsUser: 0 seccompProfile: type: RuntimeDefault containers: - name: ushahidi-client image: ushahidi/platform-client:v5.1.0 ports: - name: http containerPort: 8080 protocol: TCP env: - name: BACKEND_URL value: https://{{ .apiDomain }} resources: limits: cpu: 200m ephemeral-storage: 256Mi memory: 128Mi requests: cpu: 50m ephemeral-storage: 50Mi memory: 64Mi livenessProbe: httpGet: path: / port: 8080 initialDelaySeconds: 15 timeoutSeconds: 5 periodSeconds: 30 failureThreshold: 3 readinessProbe: httpGet: path: / port: 8080 initialDelaySeconds: 5 timeoutSeconds: 3 periodSeconds: 10 failureThreshold: 3 securityContext: allowPrivilegeEscalation: false capabilities: drop: - ALL add: - CHOWN - SETUID - SETGID readOnlyRootFilesystem: false restartPolicy: Always