Skip to content

Commit

Permalink
Merge pull request #206 from projectsyn/images
Browse files Browse the repository at this point in the history
Managing container image versions
  • Loading branch information
megian authored Jan 30, 2023
2 parents cdf4335 + 8fd6be3 commit 2172af1
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 2 deletions.
31 changes: 29 additions & 2 deletions class/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,23 @@ parameters:

namespace: syn-${_instance}
name: keycloak
images:
keycloak:
registry: quay.io
repository: keycloak/keycloak
tag: 19.0.3
busybox:
registry: docker.io
repository: busybox
tag: 1.32
postgresql:
registry: docker.io
repository: bitnami/postgresql
tag: 11.17.0-debian-11-r37
bitnamishell:
registry: docker.io
repository: bitnami/bitnami-shell
tag: 11-debian-11-r76
charts:
keycloakx: "1.7.0"
postgresql: "12.1.11"
Expand Down Expand Up @@ -161,7 +178,8 @@ parameters:

helm_values:
image:
repository: quay.io/keycloak/keycloak
repository: ${keycloak:images:keycloak:registry}/${keycloak:images:keycloak:repository}
tag: ${keycloak:images:keycloak:tag}
replicas: ${keycloak:replicas}
statefulsetLabels: ${keycloak:labels}
resources: ${keycloak:resources}
Expand Down Expand Up @@ -259,6 +277,9 @@ parameters:
rules: ${keycloak:monitoring:rules}
dbchecker:
enabled: 'true'
image:
repository: ${keycloak:images:busybox:registry}/${keycloak:images:busybox:repository}
tag: ${keycloak:images:busybox:tag}
proxy:
enabled: 'true'
mode: ${keycloak:ingress:tls:termination}
Expand All @@ -285,6 +306,10 @@ parameters:
labels: ${keycloak:labels}
volumePermissions:
enabled: ${keycloak:database:tls:enabled}
image:
registry: ${keycloak:images:bitnamishell:registry}
repository: ${keycloak:images:bitnamishell:repository}
tag: ${keycloak:images:bitnamishell:tag}
tls:
enabled: ${keycloak:database:tls:enabled}
certificatesSecret: ${keycloak:database:tls:certSecretName}
Expand All @@ -299,4 +324,6 @@ parameters:
app.kubernetes.io/instance: keycloakx
app.kubernetes.io/name: keycloakx
image:
tag: 11.17.0-debian-11-r37
registry: ${keycloak:images:postgresql:registry}
repository: ${keycloak:images:postgresql:repository}
tag: ${keycloak:images:postgresql:tag}
27 changes: 27 additions & 0 deletions docs/modules/ROOT/pages/references/parameters.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,33 @@ default:: `${_instance}`
Usually there is just one deployment and therefore no change is required.


== `images.(keycloak|busybox|postgresql|bitnamishell).registry`

[horizontal]
type:: string
default:: `see class/defaults.yml`

The image registry used for the container image path.


== `images.(keycloak|busybox|postgresql|bitnamishell).repository`

[horizontal]
type:: string
default:: `see class/defaults.yml`

The image repository used for the container image path.


== `images.(keycloak|busybox|postgresql|bitnamishell).repository`

[horizontal]
type:: string
default:: `see class/defaults.yml`

The image tag used for the container image path.


== `charts.keycloakx`

[horizontal]
Expand Down

0 comments on commit 2172af1

Please sign in to comment.