prole/infrastructure/deployments/svc-check-helm/templates/deployment.yaml
chrisfu 765aa0b926 Checkpoint: cluster env UI layout + k3s common services
- Tighten Cluster Environment screen layout; switch Service/Prod to kubectx context selection; keep namespace and key controls on one line; ensure Repair button remains reachable.

- Add UI layout regression test to render with large mock data and assert key widgets remain visible and console is scrollable.

- Make kubeconfig generation deterministic under tests by avoiding overwriting cert-based kubeconfigs; write token sidecar kubeconfig when needed.

- Update common-services init scripts and add k3s/Helm deployment bits (svc-check, Kong/CertMgr tasks).
2026-02-27 14:35:14 -08:00

37 lines
942 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: svc-check-web
namespace: {{ .Values.namespace | default .Release.Namespace }}
labels:
app: svc-check-web
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
app: svc-check-web
template:
metadata:
labels:
app: svc-check-web
spec:
containers:
- name: nginx
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
containerPort: 80
volumeMounts:
- name: content
mountPath: /usr/share/nginx/html
volumes:
- name: content
configMap:
name: svc-check-content
items:
- key: index.html
path: index.html
- key: prole-type.gif
path: prole-type.gif