Updating terraform and k8s files adding redis... (#7425)
Also updated the way secrets are generated with Terraform and some code cleanup
This commit is contained in:
18
packages/twenty-docker/k8s/manifests/service-redis.yaml
Normal file
18
packages/twenty-docker/k8s/manifests/service-redis.yaml
Normal file
@ -0,0 +1,18 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: twentycrm-redis
|
||||
namespace: twentycrm
|
||||
spec:
|
||||
internalTrafficPolicy: Cluster
|
||||
ports:
|
||||
- port: 6379
|
||||
protocol: TCP
|
||||
targetPort: 6379
|
||||
selector:
|
||||
app: twentycrm-redis
|
||||
sessionAffinity: ClientIP
|
||||
sessionAffinityConfig:
|
||||
clientIP:
|
||||
timeoutSeconds: 10800
|
||||
type: ClusterIP
|
||||
Reference in New Issue
Block a user