- Add Dockerfile for building Next.js images - Replace init-container deployment with standard deployment - Add kustomization with image tag tracking - Add deploy.sh script for CI/CD pipeline This enables proper GitOps auto-deployment: 1. Build image with commit hash tag 2. Push to GHCR 3. Update kustomization.yaml image tag 4. Flux detects change and restarts pods
12 lines
304 B
YAML
12 lines
304 B
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
resources:
|
|
- deployment.yaml
|
|
- service.yaml
|
|
- ingress.yaml
|
|
|
|
# Images field allows Flux ImageUpdateAutomation to update the tag
|
|
images:
|
|
- name: ghcr.io/unchainedio/manoon-headless
|
|
newTag: 467b513 # This will be updated by CI/CD
|