Compare commits
6 Commits
v1.0.25-un
...
v1.0.28-un
Author | SHA1 | Date | |
---|---|---|---|
f300b91316 | |||
30ba1f4d5a | |||
d9bdbccfe4 | |||
2d329501c0 | |||
dc2c97c7f6 | |||
c9d8917e6c |
@ -7,6 +7,7 @@ resources:
|
||||
|
||||
configMapGenerator:
|
||||
- name: hydra-ldap-env
|
||||
behavior: create
|
||||
literals:
|
||||
- WERTHER_DEV_MODE=false
|
||||
- WERTHER_LDAP_ROLE_CLAIM="https://hydra/claims/roles"
|
||||
@ -21,6 +22,7 @@ configMapGenerator:
|
||||
|
||||
secretGenerator:
|
||||
- name: hydra-ldap-sc
|
||||
behavior: create
|
||||
literals:
|
||||
- WERTHER_LDAP_BINDDN="cn=reader,o=test,c=fr"
|
||||
- WERTHER_LDAP_BINDPW=ThisMustBeAbsolutelyChanged
|
||||
|
5
components/redis/configurations/redis-conf.yaml
Normal file
5
components/redis/configurations/redis-conf.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
nameReference:
|
||||
- kind: ConfigMap
|
||||
fieldSpecs:
|
||||
- kind: Redis
|
||||
path: spec/redisConfig/additionalRedisConfig
|
3
components/redis/files/redis-additional.conf
Normal file
3
components/redis/files/redis-additional.conf
Normal file
@ -0,0 +1,3 @@
|
||||
maxmemory-policy allkeys-lru
|
||||
maxmemory 1536mb
|
||||
tcp-keepalive 90
|
@ -1,9 +1,17 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1alpha1
|
||||
kind: Component
|
||||
|
||||
configurations:
|
||||
- ./configurations/redis-conf.yaml
|
||||
|
||||
resources:
|
||||
- ./resources/redis-sso.yaml
|
||||
|
||||
configMapGenerator:
|
||||
- name: redis-sso-extra-conf
|
||||
files:
|
||||
- ./files/redis-additional.conf
|
||||
|
||||
patches:
|
||||
- path: ./patches/hydra-apps.yaml
|
||||
target:
|
||||
|
@ -6,6 +6,15 @@ spec:
|
||||
kubernetesConfig:
|
||||
image: reg.cadoles.com/quay/opstree/redis:v7.0.15
|
||||
imagePullPolicy: IfNotPresent
|
||||
resources:
|
||||
requests:
|
||||
cpu: 500m
|
||||
memory: 1024Mi
|
||||
limits:
|
||||
cpu: 2000m
|
||||
memory: 2048Mi
|
||||
redisConfig:
|
||||
additionalRedisConfig: redis-sso-extra-conf
|
||||
storage:
|
||||
volumeClaimTemplate:
|
||||
spec:
|
||||
@ -16,4 +25,3 @@ spec:
|
||||
storage: 1Gi
|
||||
securityContext:
|
||||
runAsUser: 1000
|
||||
fsGroup: 1000
|
||||
|
Reference in New Issue
Block a user