fengling-auth-service/k8s/service.yaml
movingsam 9a7948e634 refactor: reorganize project structure to src/ with slnx solution
- Move all source code to src/ directory
- Add Fengling.AuthService.slnx solution file
- Update Dockerfile to reference src/ paths
- Update CI/CD workflow for new structure
- Optimize .dockerignore for cleaner builds
2026-02-28 18:31:52 +08:00

37 lines
762 B
YAML

apiVersion: v1
kind: Service
metadata:
name: fengling-auth-service
namespace: fengling
labels:
app: fengling-auth-service
spec:
type: ClusterIP
selector:
app: fengling-auth-service
ports:
- name: http
port: 80
targetPort: 80
protocol: TCP
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: fengling-auth-service
namespace: fengling
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
spec:
ingressClassName: traefik
rules:
- host: auth.fengling.local
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: fengling-auth-service
port:
number: 80