# clusters/atlas/flux-system/applications/game-stream/kustomization.yaml
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
  name: game-stream
  namespace: flux-system
  annotations:
    kustomize.toolkit.fluxcd.io/ssa: IfNotPresent
    atlas.bstein.dev/suspend-reason: "Game streaming is optional and resumes only for planned use."
spec:
  interval: 10m
  suspend: true
  path: ./services/game-stream
  targetNamespace: game-stream
  prune: true
  sourceRef:
    kind: GitRepository
    name: flux-system
    namespace: flux-system
  dependsOn:
    - name: cert-manager
    - name: keycloak
    - name: traefik
    - name: vault
  healthChecks:
    - apiVersion: apps/v1
      kind: Deployment
      name: oauth2-proxy-wolf
      namespace: game-stream
  wait: false
  timeout: 10m
