Merge pull request #206 from meysamhadeli/develop

fix: Fix tls error in kubernetes
This commit is contained in:
Meysam Hadeli 2023-02-25 00:15:53 +03:30 committed by GitHub
commit 2464cde8ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 11 additions and 13 deletions

View File

@ -43,11 +43,11 @@ runs:
if: ${{ github.ref == 'refs/heads/main' && success() }}
shell: bash
run: |
docker build -t ${{ inputs.registry-username }}/${{ inputs.image-name }}:v1.6.6 -f "${{ github.workspace }}/${{ inputs.dockerfile-path }}" .
docker build -t ${{ inputs.registry-username }}/${{ inputs.image-name }}:v1.6.7 -f "${{ github.workspace }}/${{ inputs.dockerfile-path }}" .
- name: Publish Docker Image
if: ${{ github.ref == 'refs/heads/main' && success() }}
shell: bash
run: |
docker push ${{ inputs.registry-username }}/${{ inputs.image-name }}:v1.6.6
docker push ${{ inputs.registry-username }}/${{ inputs.image-name }}:v1.6.7

View File

@ -1,5 +1,9 @@
# https://github.com/Huachao/vscode-restclient
@api-gateway=https://localhost:5000
// for using kubernetes revers proxy uncomment this gateway
# @api-gateway=https://booking-microservices.com
@api-gateway=https://localhost:5000
@identity-api=http://localhost:6005
@flight-api=https://localhost:5003
@passenger-api=https://localhost:5012

View File

@ -15,7 +15,7 @@ spec:
app: booking
spec:
containers:
- image: meysamh66/booking-microservices-booking:v1.6.5
- image: meysamh66/booking-microservices-booking:v1.6.6
name: booking
ports:
- containerPort: 80

View File

@ -15,7 +15,7 @@ spec:
app: flight
spec:
containers:
- image: meysamh66/booking-microservices-flight:v1.6.5
- image: meysamh66/booking-microservices-flight:v1.6.6
name: flight
ports:
- containerPort: 80

View File

@ -15,7 +15,7 @@ spec:
app: identity
spec:
containers:
- image: meysamh66/booking-microservices-identity:v1.6.5
- image: meysamh66/booking-microservices-identity:v1.6.6
name: identity
ports:
- containerPort: 80

View File

@ -15,7 +15,7 @@ spec:
app: passenger
spec:
containers:
- image: meysamh66/booking-microservices-passenger:v1.6.5
- image: meysamh66/booking-microservices-passenger:v1.6.6
name: passenger
ports:
- containerPort: 80

View File

@ -96,12 +96,6 @@ public static class InfrastructureExtensions
app.UseForwardedHeaders();
app.Use((context, next) =>
{
context.Request.Scheme = "https";
return next();
});
app.UseProblemDetails();
app.UseSerilogRequestLogging(options =>
{