Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Managing container image versions #206

Merged
merged 2 commits into from
Jan 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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:
megian marked this conversation as resolved.
Show resolved Hide resolved
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