0
0
mirror of https://github.com/alex289/CleanArchitecture.git synced 2025-06-30 02:31:08 +00:00

Use my image for the k8s file

This commit is contained in:
Alexander Konietzko 2023-07-15 14:23:29 +02:00
parent a07fae2d1e
commit 89b3398036
No known key found for this signature in database
GPG Key ID: BA6905F37AEC2B5B

View File

@ -14,17 +14,9 @@ spec:
spec:
containers:
- name: clean-architecture-app
image: mcr.microsoft.com/dotnet/sdk:7.0
workingDir: /app
command: ["dotnet", "CleanArchitecture.Api.dll"]
image: alexdev28/clean-architecture
ports:
- containerPort: 80
volumeMounts:
- name: app-volume
mountPath: /app
volumes:
- name: app-volume
emptyDir: {}
---
apiVersion: v1
@ -65,3 +57,17 @@ spec:
value: "Password123!#"
ports:
- containerPort: 1433
---
apiVersion: v1
kind: Service
metadata:
name: clean-architecture-db-service
spec:
selector:
app: sql-server
ports:
- protocol: TCP
port: 1433
targetPort: 1433
type: ClusterIP