prole/deploy/opentofu/k3s/manifests/knoe/knoe-deployment.yaml
chrisfu fb7e8b7135 chore(k3s): rename prole-*.yaml manifests to knoe-* and align contents
Mirrors commit b355855 (auth-side rename). The kustomization at
deploy/opentofu/k3s/manifests/knoe/kustomization.yaml has been
referencing knoe-* names since the rebrand; kustomize was broken
on the k3s deploy mode until this lands.

Five git mv:
  prole-configmap.yaml           -> knoe-configmap.yaml
  prole-deployment.yaml          -> knoe-deployment.yaml
  prole-service.yaml             -> knoe-service.yaml
  prole-kdc-configmap.yaml       -> knoe-kdc-configmap.yaml
  prole-kdc-secrets.example.yaml -> knoe-kdc-secrets.example.yaml

Plus content sweep of knoe-kdc-configmap.yaml: replaced stale
PROLE.LOCAL/PROLE.ORG realm refs and PROLE_KDC_* env vars with
KNOE.DEV/KNOE_KDC_* to match the canonical GKE configmap.

Closes queue item #2 in docs/TODO.md (drift R5).

Co-authored-by: Junie <junie@jetbrains.com>
2026-05-02 02:58:03 -07:00

51 lines
1.2 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: knoe
labels:
app: knoe
spec:
replicas: 1
selector:
matchLabels:
app: knoe
template:
metadata:
labels:
app: knoe
spec:
nodeSelector:
kubernetes.io/hostname: myrddin.knoe.org
containers:
- name: nginx
image: nginx:1.27-alpine
ports:
- containerPort: 443
name: https
volumeMounts:
- name: nginx-config
mountPath: /etc/nginx/nginx.conf
subPath: nginx.conf
- name: tls
mountPath: /etc/nginx/tls
readOnly: true
- name: web-root
mountPath: /usr/share/nginx/html
readinessProbe:
httpGet:
path: /
port: https
scheme: HTTPS
initialDelaySeconds: 3
periodSeconds: 10
volumes:
- name: nginx-config
configMap:
name: knoe-nginx-config
- name: tls
secret:
secretName: knoe-nginx-tls
- name: web-root
configMap:
name: knoe-index-html