updates
This commit is contained in:
parent
71bb0466e6
commit
5ad4ff8f29
3 changed files with 7 additions and 38 deletions
|
|
@ -14,6 +14,12 @@ spec:
|
|||
app: portal
|
||||
spec:
|
||||
containers:
|
||||
- name: redis
|
||||
image: redis:5.0.4-alpine
|
||||
ports:
|
||||
- name: redis
|
||||
containerPort: 6379
|
||||
protocol: TCP
|
||||
- name: portal
|
||||
image: sonarsoftware/customerportal:stable
|
||||
ports:
|
||||
|
|
@ -30,7 +36,7 @@ spec:
|
|||
- name: SONAR_URL
|
||||
value: https://vntx.sonar.software
|
||||
- name: REDIS_HOST
|
||||
value: redis-service
|
||||
value: localhost
|
||||
- name: APP_KEY
|
||||
value: base64:O+Bxk/ww7D35liT3tWjwJmpf3gecrxZYd62rRAn7/XA=
|
||||
imagePullPolicy: Always
|
||||
|
|
|
|||
|
|
@ -1,23 +0,0 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: redis
|
||||
namespace: portal
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: portal
|
||||
replicas: 1
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: portal
|
||||
spec:
|
||||
containers:
|
||||
- name: redis
|
||||
image: redis:5.0.4-alpine
|
||||
ports:
|
||||
- name: redis
|
||||
containerPort: 6379
|
||||
protocol: TCP
|
||||
imagePullPolicy: Always
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: redis-service
|
||||
namespace: portal
|
||||
spec:
|
||||
selector:
|
||||
app: portal
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- name: redis
|
||||
port: 6379
|
||||
targetPort: 6379
|
||||
protocol: TCP
|
||||
Loading…
Add table
Reference in a new issue