2026-01-19 11:55:17 +01:00
|
|
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
|
|
|
kind: Kustomization
|
|
|
|
|
|
|
|
|
|
metadata:
|
|
|
|
|
name: bakery-ia-dev
|
|
|
|
|
|
|
|
|
|
# NOTE: Do NOT set a global namespace here.
|
|
|
|
|
# Each resource already has its namespace explicitly defined.
|
|
|
|
|
# A global namespace would incorrectly transform cluster-scoped resources
|
|
|
|
|
# like cert-manager namespaces.
|
|
|
|
|
|
|
|
|
|
resources:
|
|
|
|
|
- ../../../environments/common/configs
|
2026-01-19 16:31:11 +01:00
|
|
|
# NOTE: nominatim is NOT included here - it's deployed manually via Tilt trigger 'nominatim-helm'
|
|
|
|
|
# - ../../../platform/nominatim
|
|
|
|
|
- ../../../platform/gateway
|
2026-01-19 11:55:17 +01:00
|
|
|
- ../../../platform/cert-manager
|
|
|
|
|
- ../../../platform/networking/ingress/overlays/dev
|
|
|
|
|
- ../../../platform/storage
|
|
|
|
|
- ../../../services/databases
|
|
|
|
|
- ../../../services/microservices
|
|
|
|
|
# NOTE: cicd is NOT included here - it's deployed manually via Tilt triggers
|
|
|
|
|
# Run 'tilt trigger tekton-install' followed by 'tilt trigger tekton-pipelines-deploy'
|
|
|
|
|
# - ../../../cicd
|
|
|
|
|
- dev-certificate.yaml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Dev-specific patches
|
|
|
|
|
patches:
|
|
|
|
|
- target:
|
|
|
|
|
kind: ConfigMap
|
|
|
|
|
name: bakery-config
|
|
|
|
|
patch: |-
|
|
|
|
|
- op: replace
|
|
|
|
|
path: /data/ENVIRONMENT
|
|
|
|
|
value: "development"
|
|
|
|
|
- op: replace
|
|
|
|
|
path: /data/DEBUG
|
|
|
|
|
value: "true"
|
2026-01-19 16:31:11 +01:00
|
|
|
# NOTE: nominatim patches removed - nominatim is now deployed via Helm (tilt trigger nominatim-helm)
|
2026-01-19 11:55:17 +01:00
|
|
|
|
2026-01-20 07:20:56 +01:00
|
|
|
|
2026-01-19 11:55:17 +01:00
|
|
|
labels:
|
|
|
|
|
- includeSelectors: true
|
|
|
|
|
pairs:
|
|
|
|
|
environment: development
|
|
|
|
|
tier: local
|
|
|
|
|
|
2026-01-20 22:05:10 +01:00
|
|
|
# Dev image overrides - use Kind registry to avoid Docker Hub rate limits
|
2026-01-19 11:55:17 +01:00
|
|
|
# IMPORTANT: All image names must be lowercase (Docker requirement)
|
2026-01-20 22:05:10 +01:00
|
|
|
# The prepull-base-images.sh script pushes images to localhost:5000/ with format: <repo>_<tag>
|
|
|
|
|
# Format: localhost:5000/<package-name>_<tag>:latest
|
2026-01-19 11:55:17 +01:00
|
|
|
images:
|
|
|
|
|
# Database images
|
|
|
|
|
- name: postgres
|
2026-01-20 22:05:10 +01:00
|
|
|
newName: localhost:5000/postgres_17_alpine
|
|
|
|
|
newTag: latest
|
2026-01-19 11:55:17 +01:00
|
|
|
- name: redis
|
2026-01-20 22:05:10 +01:00
|
|
|
newName: localhost:5000/redis_7_4_alpine
|
|
|
|
|
newTag: latest
|
2026-01-19 11:55:17 +01:00
|
|
|
- name: rabbitmq
|
2026-01-20 22:05:10 +01:00
|
|
|
newName: localhost:5000/rabbitmq_4_1_management_alpine
|
|
|
|
|
newTag: latest
|
2026-01-19 11:55:17 +01:00
|
|
|
# Utility images
|
|
|
|
|
- name: busybox
|
2026-01-20 22:05:10 +01:00
|
|
|
newName: localhost:5000/busybox_1_36
|
|
|
|
|
newTag: latest
|
2026-01-19 11:55:17 +01:00
|
|
|
- name: curlimages/curl
|
2026-01-20 22:05:10 +01:00
|
|
|
newName: localhost:5000/curlimages_curl_latest
|
2026-01-19 11:55:17 +01:00
|
|
|
newTag: latest
|
|
|
|
|
- name: bitnami/kubectl
|
2026-01-20 22:05:10 +01:00
|
|
|
newName: localhost:5000/bitnami_kubectl_latest
|
2026-01-19 11:55:17 +01:00
|
|
|
newTag: latest
|
2026-01-19 16:31:11 +01:00
|
|
|
|
2026-01-19 11:55:17 +01:00
|
|
|
# Alpine variants
|
|
|
|
|
- name: alpine
|
2026-01-20 22:05:10 +01:00
|
|
|
newName: localhost:5000/alpine_3_19
|
|
|
|
|
newTag: latest
|
2026-01-19 11:55:17 +01:00
|
|
|
- name: alpine/git
|
2026-01-20 22:05:10 +01:00
|
|
|
newName: localhost:5000/alpine_git_2_43_0
|
|
|
|
|
newTag: latest
|
|
|
|
|
# CI/CD images (cached in Kind registry for consistency)
|
2026-01-19 11:55:17 +01:00
|
|
|
- name: gcr.io/kaniko-project/executor
|
2026-01-20 22:05:10 +01:00
|
|
|
newName: localhost:5000/gcr_io_kaniko_project_executor_v1_23_0
|
|
|
|
|
newTag: latest
|
2026-01-19 11:55:17 +01:00
|
|
|
- name: gcr.io/go-containerregistry/crane
|
2026-01-20 22:05:10 +01:00
|
|
|
newName: localhost:5000/gcr_io_go_containerregistry_crane_latest
|
2026-01-19 11:55:17 +01:00
|
|
|
newTag: latest
|
|
|
|
|
- name: registry.k8s.io/kustomize/kustomize
|
2026-01-20 22:05:10 +01:00
|
|
|
newName: localhost:5000/registry_k8s_io_kustomize_kustomize_v5_3_0
|
|
|
|
|
newTag: latest
|
2026-01-20 07:20:56 +01:00
|
|
|
# Storage images
|
2026-01-19 11:55:17 +01:00
|
|
|
- name: minio/minio
|
2026-01-20 22:05:10 +01:00
|
|
|
newName: localhost:5000/minio_minio_release_2024_11_07t00_52_20z
|
|
|
|
|
newTag: latest
|
2026-01-19 11:55:17 +01:00
|
|
|
- name: minio/mc
|
2026-01-20 22:05:10 +01:00
|
|
|
newName: localhost:5000/minio_mc_release_2024_11_17t19_35_25z
|
|
|
|
|
newTag: latest
|
2026-01-19 16:31:11 +01:00
|
|
|
# NOTE: nominatim image override removed - nominatim is now deployed via Helm
|
2026-01-19 11:55:17 +01:00
|
|
|
# Python base image
|
|
|
|
|
- name: python
|
2026-01-20 22:05:10 +01:00
|
|
|
newName: localhost:5000/python_3_11_slim
|
|
|
|
|
newTag: latest
|