Fix issues
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
apiVersion: skaffold/v2beta28
|
||||
kind: Config
|
||||
metadata:
|
||||
name: bakery-ia-local
|
||||
name: bakery-ia
|
||||
|
||||
build:
|
||||
local:
|
||||
@@ -98,58 +98,24 @@ deploy:
|
||||
paths:
|
||||
- infrastructure/kubernetes/overlays/dev
|
||||
|
||||
# Port forwarding removed - using ingress with direct port mapping
|
||||
# Access via: https://localhost (or http://localhost)
|
||||
# Default deployment uses dev overlay
|
||||
# Access via ingress: http://localhost (or https://localhost)
|
||||
#
|
||||
# Available profiles:
|
||||
# - dev: Local development (default)
|
||||
# - debug: Local development with port forwarding for debugging
|
||||
# - prod: Production deployment with production settings
|
||||
#
|
||||
# Usage:
|
||||
# skaffold dev # Uses default dev overlay
|
||||
# skaffold dev -p dev # Explicitly use dev profile
|
||||
# skaffold dev -p debug # Use debug profile with port forwarding
|
||||
# skaffold run -p prod # Use prod profile for production
|
||||
|
||||
profiles:
|
||||
- name: minimal
|
||||
build:
|
||||
local:
|
||||
push: false
|
||||
tagPolicy:
|
||||
envTemplate:
|
||||
template: "dev"
|
||||
deploy:
|
||||
kubectl:
|
||||
manifests:
|
||||
- infrastructure/kubernetes/base/components/databases/auth-db.yaml
|
||||
- infrastructure/kubernetes/base/components/databases/inventory-db.yaml
|
||||
- infrastructure/kubernetes/base/migrations/auth-migration-job.yaml
|
||||
- infrastructure/kubernetes/base/migrations/inventory-migration-job.yaml
|
||||
- infrastructure/kubernetes/base/configs/*.yaml
|
||||
|
||||
- name: full
|
||||
build:
|
||||
local:
|
||||
push: false
|
||||
tagPolicy:
|
||||
envTemplate:
|
||||
template: "dev"
|
||||
deploy:
|
||||
kubectl:
|
||||
manifests:
|
||||
- infrastructure/kubernetes/base/components/databases/*.yaml
|
||||
- infrastructure/kubernetes/base/migrations/*.yaml
|
||||
- infrastructure/kubernetes/base/configs/*.yaml
|
||||
kustomize:
|
||||
paths:
|
||||
- infrastructure/kubernetes/overlays/dev
|
||||
|
||||
- name: single
|
||||
build:
|
||||
local:
|
||||
push: false
|
||||
tagPolicy:
|
||||
envTemplate:
|
||||
template: "dev"
|
||||
deploy:
|
||||
kubectl:
|
||||
manifests:
|
||||
- infrastructure/kubernetes/base/components/databases/{{SERVICE_NAME}}.yaml
|
||||
- infrastructure/kubernetes/base/migrations/{{SERVICE_NAME}}-migration-job.yaml
|
||||
- infrastructure/kubernetes/base/configs/*.yaml
|
||||
|
||||
- name: dev
|
||||
activation:
|
||||
- command: dev
|
||||
build:
|
||||
local:
|
||||
push: false
|
||||
@@ -162,11 +128,14 @@ profiles:
|
||||
- infrastructure/kubernetes/overlays/dev
|
||||
|
||||
- name: debug
|
||||
activation:
|
||||
- command: debug
|
||||
build:
|
||||
local:
|
||||
push: false
|
||||
tagPolicy:
|
||||
sha256: {}
|
||||
envTemplate:
|
||||
template: "dev"
|
||||
deploy:
|
||||
kustomize:
|
||||
paths:
|
||||
@@ -186,4 +155,16 @@ profiles:
|
||||
resourceName: auth-service
|
||||
namespace: bakery-ia
|
||||
port: 8000
|
||||
localPort: 8001
|
||||
localPort: 8001
|
||||
|
||||
- name: prod
|
||||
build:
|
||||
local:
|
||||
push: false
|
||||
tagPolicy:
|
||||
gitCommit:
|
||||
variant: AbbrevCommitSha
|
||||
deploy:
|
||||
kustomize:
|
||||
paths:
|
||||
- infrastructure/kubernetes/overlays/prod
|
||||
Reference in New Issue
Block a user