apiVersion: apps/v1 kind: Deployment metadata: name: trade-frontend spec: replicas: 1 selector: matchLabels: app.kubernetes.io/name: trade-frontend template: metadata: labels: app.kubernetes.io/name: trade-frontend spec: imagePullSecrets: - name: gitea-registry containers: - name: frontend image: gitea.mpabi.pl/trade/trade-frontend:pg-derived-phase1-20260319-030252 imagePullPolicy: IfNotPresent ports: - name: http containerPort: 8081 env: - name: PORT value: "8081" - name: APP_VERSION value: "staging" - name: BASIC_AUTH_FILE value: "/tokens/frontend.json" volumeMounts: - name: tokens mountPath: /tokens readOnly: true readinessProbe: httpGet: path: /healthz port: http initialDelaySeconds: 2 periodSeconds: 5 livenessProbe: httpGet: path: /healthz port: http initialDelaySeconds: 10 periodSeconds: 10 volumes: - name: tokens secret: secretName: trade-frontend-tokens