- Ensure prefix is passed for all services
- Add eveai-tem secret (Scaleway Transactional Email) to allow sending emails - Adapted security URLs - Certification problem in regions solved - Redis insight added to tools in k8s - Introduced new way of connection pooling for Redis - TRA-79 - intrernal server error bij registreren catalog
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
apiVersion: external-secrets.io/v1beta1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: redisinsight-redis
|
||||
namespace: tools
|
||||
spec:
|
||||
refreshInterval: 5m
|
||||
secretStoreRef:
|
||||
kind: ClusterSecretStore
|
||||
name: scaleway-secret-store
|
||||
target:
|
||||
name: redisinsight-redis
|
||||
creationPolicy: Owner
|
||||
data:
|
||||
- secretKey: REDIS_USER
|
||||
remoteRef:
|
||||
key: eveai-redis
|
||||
property: REDIS_USER
|
||||
- secretKey: REDIS_PASS
|
||||
remoteRef:
|
||||
key: eveai-redis
|
||||
property: REDIS_PASS
|
||||
- secretKey: REDIS_URL
|
||||
remoteRef:
|
||||
key: eveai-redis
|
||||
property: REDIS_URL
|
||||
- secretKey: REDIS_PORT
|
||||
remoteRef:
|
||||
key: eveai-redis
|
||||
property: REDIS_PORT
|
||||
---
|
||||
apiVersion: external-secrets.io/v1beta1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: redisinsight-ca
|
||||
namespace: tools
|
||||
spec:
|
||||
refreshInterval: 5m
|
||||
secretStoreRef:
|
||||
kind: ClusterSecretStore
|
||||
name: scaleway-secret-store
|
||||
target:
|
||||
name: redisinsight-ca
|
||||
creationPolicy: Owner
|
||||
data:
|
||||
- secretKey: REDIS_CERT
|
||||
remoteRef:
|
||||
key: eveai-redis-certificate
|
||||
property: REDIS_CERT
|
||||
95
scaleway/manifests/base/tools/redisinsight/redisinsight.yaml
Normal file
95
scaleway/manifests/base/tools/redisinsight/redisinsight.yaml
Normal file
@@ -0,0 +1,95 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: tools
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: redisinsight-data
|
||||
namespace: tools
|
||||
labels:
|
||||
app: redisinsight
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 2Gi
|
||||
# storageClassName: default # uncomment and set if your cluster requires an explicit storage class
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: redisinsight
|
||||
namespace: tools
|
||||
labels:
|
||||
app: redisinsight
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: redisinsight
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: redisinsight
|
||||
spec:
|
||||
securityContext:
|
||||
fsGroup: 1001
|
||||
containers:
|
||||
- name: redisinsight
|
||||
image: redis/redisinsight:2.54.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 5540
|
||||
resources:
|
||||
requests:
|
||||
cpu: "200m"
|
||||
memory: "256Mi"
|
||||
limits:
|
||||
cpu: "500m"
|
||||
memory: "512Mi"
|
||||
securityContext:
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1001
|
||||
runAsGroup: 1001
|
||||
readOnlyRootFilesystem: false
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /data
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: http
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 2
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: http
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 20
|
||||
timeoutSeconds: 2
|
||||
volumes:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
claimName: redisinsight-data
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: redisinsight
|
||||
namespace: tools
|
||||
labels:
|
||||
app: redisinsight
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
app: redisinsight
|
||||
ports:
|
||||
- name: http
|
||||
port: 5540
|
||||
targetPort: http
|
||||
Reference in New Issue
Block a user