fix: staging ASPNETCORE_ENVIRONMENT=Staging, remove secretKeyRef (config in appsettings)
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 8m28s
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 8m28s
This commit is contained in:
@@ -49,36 +49,6 @@ spec:
|
||||
value: "Http1AndHttp2"
|
||||
- name: FileStorage__UploadPath
|
||||
value: "/app/Uploads"
|
||||
- name: ConnectionStrings__DefaultConnection
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: postgres-secret
|
||||
key: connection-string
|
||||
- name: Email__Host
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: email-secret
|
||||
key: smtp-host
|
||||
- name: Email__Port
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: email-secret
|
||||
key: smtp-port
|
||||
- name: Email__Username
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: email-secret
|
||||
key: smtp-username
|
||||
- name: Email__Password
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: email-secret
|
||||
key: smtp-password
|
||||
- name: Kavenegar__ApiKey
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: sms-secret
|
||||
key: api-key
|
||||
volumeMounts:
|
||||
- name: cms-uploads
|
||||
mountPath: /app/Uploads
|
||||
|
||||
@@ -42,43 +42,13 @@ spec:
|
||||
name: http
|
||||
env:
|
||||
- name: ASPNETCORE_ENVIRONMENT
|
||||
value: "Production"
|
||||
value: "Staging"
|
||||
- name: ASPNETCORE_URLS
|
||||
value: "http://+:8080"
|
||||
- name: Kestrel__EndpointDefaults__Protocols
|
||||
value: "Http1AndHttp2"
|
||||
- name: FileStorage__UploadPath
|
||||
value: "/app/Uploads"
|
||||
- name: ConnectionStrings__DefaultConnection
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: postgres-secret
|
||||
key: connection-string
|
||||
- name: Email__Host
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: email-secret
|
||||
key: smtp-host
|
||||
- name: Email__Port
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: email-secret
|
||||
key: smtp-port
|
||||
- name: Email__Username
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: email-secret
|
||||
key: smtp-username
|
||||
- name: Email__Password
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: email-secret
|
||||
key: smtp-password
|
||||
- name: Kavenegar__ApiKey
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: sms-secret
|
||||
key: api-key
|
||||
volumeMounts:
|
||||
- name: cms-uploads
|
||||
mountPath: /app/Uploads
|
||||
|
||||
Reference in New Issue
Block a user