Fixes Deployment
This commit is contained in:
File diff suppressed because it is too large
Load Diff
20
deployment/nginx-ingress/nginx-ingress-load-balancer.yaml
Normal file
20
deployment/nginx-ingress/nginx-ingress-load-balancer.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: ingress-nginx-controller-loadbalancer
|
||||
namespace: ingress-nginx
|
||||
spec:
|
||||
selector:
|
||||
app.kubernetes.io/component: controller
|
||||
app.kubernetes.io/instance: ingress-nginx
|
||||
app.kubernetes.io/name: ingress-nginx
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
protocol: TCP
|
||||
targetPort: 80
|
||||
- name: https
|
||||
port: 443
|
||||
protocol: TCP
|
||||
targetPort: 443
|
||||
type: LoadBalancer
|
||||
@@ -1 +0,0 @@
|
||||
Not Found
|
||||
@@ -20,7 +20,7 @@ spec:
|
||||
args: [ "-q" ]
|
||||
imagePullPolicy: "Always"
|
||||
env:
|
||||
- name: REDIS_HOST
|
||||
- name: REDIS_BASE_URL
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: redis-config
|
||||
@@ -38,6 +38,9 @@ spec:
|
||||
name: redis-secret
|
||||
key: redisPassword
|
||||
|
||||
- name: REDIS_URL
|
||||
value: "redis://:$(REDIS_PASSWORD)@$(REDIS_BASE_URL):$(REDIS_PORT)/rq"
|
||||
|
||||
- name: STORAGE_TYPE
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
|
||||
@@ -24,7 +24,7 @@ spec:
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: frontend-secret
|
||||
key: frontendPath
|
||||
key: backendUrl
|
||||
|
||||
- name: EXPIRES_IN
|
||||
valueFrom:
|
||||
|
||||
Reference in New Issue
Block a user