Compare commits

...

2 Commits

Author SHA1 Message Date
f4a00a63a6 deployment.yaml Güncelle
All checks were successful
Harita Build ve Deploy / build-and-deploy (push) Successful in 31s
2025-12-02 22:56:29 +00:00
gitmuhammedalbayrak
7f1eabfe88 fix: Update Kubernetes deployment namespace from 'default' to 'harita'
Some checks failed
Harita Build ve Deploy / build-and-deploy (push) Failing after 2m43s
2025-11-30 16:59:19 +03:00
2 changed files with 5 additions and 5 deletions

View File

@@ -58,7 +58,7 @@ jobs:
# 3. TLS kontrolünü atlayarak Deployment'ı günceller (Rancher Self-Signed Fix) # 3. TLS kontrolünü atlayarak Deployment'ı günceller (Rancher Self-Signed Fix)
# NOT: Kubeconfig'inize insecure-skip-tls-verify: true eklediyseniz, bu satırlar çalışacaktır. # NOT: Kubeconfig'inize insecure-skip-tls-verify: true eklediyseniz, bu satırlar çalışacaktır.
kubectl set image deployment/dogu-haritasi web=${NEW_IMAGE_DIGEST} \ kubectl set image deployment/dogu-haritasi web=${NEW_IMAGE_DIGEST} \
--kubeconfig=/tmp/kubeconfig.yaml -n default --kubeconfig=/tmp/kubeconfig.yaml -n harita
kubectl rollout restart deployment/dogu-haritasi \ kubectl rollout restart deployment/dogu-haritasi \
--kubeconfig=/tmp/kubeconfig.yaml -n default --kubeconfig=/tmp/kubeconfig.yaml -n harita

View File

@@ -2,7 +2,7 @@ apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: dogu-haritasi name: dogu-haritasi
namespace: default namespace: harita
spec: spec:
replicas: 1 replicas: 1
selector: selector:
@@ -43,7 +43,7 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: dogu-haritasi-service name: dogu-haritasi-service
namespace: default namespace: harita
spec: spec:
# Service objesine secrets eklenmez, sadece Pod'u seçer # Service objesine secrets eklenmez, sadece Pod'u seçer
selector: selector:
@@ -57,7 +57,7 @@ apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
metadata: metadata:
name: dogu-haritasi-ingress name: dogu-haritasi-ingress
namespace: default namespace: harita
annotations: annotations:
kubernetes.io/ingress.class: "traefik" kubernetes.io/ingress.class: "traefik"
spec: spec: