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:
Ciara Hatcher
2024-10-07 03:23:42 -05:00
committed by GitHub
parent e55bb3e5cd
commit db9ec58f5d
21 changed files with 515 additions and 226 deletions

View 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