Skip to content

Commit

Permalink
Merge pull request #188 from bcgov/bumpAnnotation
Browse files Browse the repository at this point in the history
Bump annotation
  • Loading branch information
thegentlemanphysicist authored Oct 12, 2022
2 parents eae980a + 4d53c92 commit 4ca1ff4
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 6 deletions.
2 changes: 1 addition & 1 deletion helm/keycloak/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ The following table lists the configurable parameters of the Keycloak chart and
| `nodeSelector` | node labels for pod assignment | `{}` |
| `tolerations` | toleration settings | `[]` |
| `affinity` | affinity settings | `{}` |

| `annotations.timeout` | route timeout | null |
### Notes

- The helm chart installs two `Secret` k8s objects:
Expand Down
3 changes: 3 additions & 0 deletions helm/keycloak/templates/route.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ metadata:
annotations:
haproxy.router.openshift.io/balance: roundrobin
haproxy.router.openshift.io/disable_cookies: 'true'
{{ if .Values.annotations.timeout }}
haproxy.router.openshift.io/timeout: {{ .Values.annotations.timeout }}
{{ end }}
spec:
tls:
insecureEdgeTerminationPolicy: Redirect
Expand Down
15 changes: 10 additions & 5 deletions helm/keycloak/values-3d5c3f-prod.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
replicaCount: 1
replicaCount: 7

project: sso-keycloak

image:
tag: 7.4-37-rc.2
tag: 7.4-37-rc.3

service:
type: ClusterIP
Expand All @@ -15,13 +17,16 @@ postgres:
usernameKey: app-db-username
passwordKey: app-db-password

annotations:
timeout: 60s

tls:
enabled: true

resources:
limits:
cpu: 2
memory: 2Gi
memory: 4Gi
requests:
cpu: 1250m
memory: 2Gi
cpu: 250m
memory: 4Gi
3 changes: 3 additions & 0 deletions helm/keycloak/values-6d70e7-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ postgres:
usernameKey: username
passwordKey: password

annotations:
timeout: 60s

persistentLog:
storageClassSize: 15Gi

Expand Down
3 changes: 3 additions & 0 deletions helm/keycloak/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ postgres:
min: 5
max: 20

annotations:
timeout: null

# see https://github.com/keycloak/keycloak-containers/blob/master/server/README.md#start-a-keycloak-instance-with-custom-command-line-options
additionalServerOptions: "-Dkeycloak.profile.feature.authorization=enabled -Djboss.persistent.log.dir=/var/log/eap"

Expand Down

0 comments on commit 4ca1ff4

Please sign in to comment.