Skip to content

Commit

Permalink
Update Helm chart to 17.0.2 and keycloak from v15.0.2 to v16.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Mainberger committed Mar 7, 2022
1 parent 68a1e94 commit a3577ba
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
10 changes: 5 additions & 5 deletions class/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ parameters:
namespace: syn-${_instance}
name: keycloak
charts:
keycloak: "10.3.1"
keycloak: "17.0.2"
# FQDN should be overwritten on the cluster level
fqdn: keycloak.example.com
# Namespace labels
Expand Down Expand Up @@ -155,7 +155,6 @@ parameters:
helm_values:
image:
repository: quay.io/keycloak/keycloak
tag: '15.0.2'
replicas: ${keycloak:replicas}
statefulsetLabels: ${keycloak:labels}
resources: ${keycloak:resources}
Expand Down Expand Up @@ -215,7 +214,9 @@ parameters:
servicePort: https
rules:
- host: ${keycloak:fqdn}
paths: ["/"]
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- ${keycloak:fqdn}
Expand Down Expand Up @@ -252,8 +253,7 @@ parameters:
existingSecret: ${keycloak:database:secretname}
image:
registry: quay.io
# TODO: Rename master to primary when upgrading to Postgres 11 https://github.com/bitnami/charts/commit/7eabc85fd4fae43127228a22829c7ce3fe85c389
master:
primary:
podAnnotations:
# Annotations to support both K8up v1 and v2
k8up.syn.tools/backupcommand: sh -c 'PGDATABASE="$POSTGRES_DB" PGUSER="$POSTGRES_USER" PGPASSWORD="$POSTGRES_PASSWORD" pg_dump --clean'
Expand Down
2 changes: 2 additions & 0 deletions component/main.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ local admin_secret = kube.Secret(params.admin.secretname) {

local connection_secrets = {
builtin: {
// PostgreSQL admin password
'postgresql-postgres-password': params.database.password,
// this secret is shared between Keycloak and PostgreSQL
'postgresql-password': params.database.password,
[if params.database.jdbcParams != '' then 'JDBC_PARAMS']: params.database.jdbcParams,
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/references/parameters.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Usually there is just one deployment and therefore no change is required.

[horizontal]
type:: helm chart version
default:: `10.3.1`
default:: `17.0.2`

A specific chart version. See the https://kapitan.dev/external_dependencies/#helm-type[kapitan documentation] for more information.

Expand Down

0 comments on commit a3577ba

Please sign in to comment.