Compare commits

...

5 Commits

7 changed files with 29 additions and 3 deletions

View File

@ -16,3 +16,4 @@ spec:
- https://example.net/oauth2/callback - https://example.net/oauth2/callback
postLogoutRedirectUris: postLogoutRedirectUris:
- https://example.net - https://example.net
userInfoSignedResponseAlg: "RS256"

View File

@ -0,0 +1,5 @@
nameReference:
- kind: ConfigMap
fieldSpecs:
- kind: Redis
path: spec/redisConfig/additionalRedisConfig

View File

@ -0,0 +1,3 @@
maxmemory-policy allkeys-lru
maxmemory 1536mb
tcp-keepalive 90

View File

@ -1,9 +1,17 @@
apiVersion: kustomize.config.k8s.io/v1alpha1 apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component kind: Component
configurations:
- ./configurations/redis-conf.yaml
resources: resources:
- ./resources/redis-sso.yaml - ./resources/redis-sso.yaml
configMapGenerator:
- name: redis-sso-extra-conf
files:
- ./files/redis-additional.conf
patches: patches:
- path: ./patches/hydra-apps.yaml - path: ./patches/hydra-apps.yaml
target: target:

View File

@ -6,6 +6,15 @@ spec:
kubernetesConfig: kubernetesConfig:
image: reg.cadoles.com/quay/opstree/redis:v7.0.15 image: reg.cadoles.com/quay/opstree/redis:v7.0.15
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
resources:
requests:
cpu: 500m
memory: 1024Mi
limits:
cpu: 2000m
memory: 2048Mi
redisConfig:
additionalRedisConfig: redis-sso-extra-conf
storage: storage:
volumeClaimTemplate: volumeClaimTemplate:
spec: spec:
@ -16,4 +25,3 @@ spec:
storage: 1Gi storage: 1Gi
securityContext: securityContext:
runAsUser: 1000 runAsUser: 1000
fsGroup: 1000

View File

@ -1,11 +1,12 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- https://forge.cadoles.com/CadolesKube/c-kustom//crds?ref=develop - https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.31.0/crds.yaml
- https://github.com/cert-manager/cert-manager/releases/download/v1.10.0/cert-manager.yaml - https://github.com/cert-manager/cert-manager/releases/download/v1.10.0/cert-manager.yaml
- ./resources/olm - ./resources/olm
- https://forge.cadoles.com/CadolesKube/c-kustom//base/cloudnative-pg-operator?ref=develop - https://forge.cadoles.com/CadolesKube/c-kustom//base/cloudnative-pg-operator?ref=develop
- https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml - https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml
- https://forge.cadoles.com/CadolesKube/hydra-maester//config/crd?ref=issue-151
patches: patches:
- path: patches/nginx-controller.yaml - path: patches/nginx-controller.yaml

View File

@ -26,7 +26,7 @@ spec:
spec: spec:
containers: containers:
- name: hydra-maester - name: hydra-maester
image: reg.cadoles.com/proxy_cache/oryd/hydra-maester:v0.0.25 image: reg.cadoles.com/wpetit/hydra-maester:latest
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
envFrom: envFrom:
- configMapRef: - configMapRef: