Repository navigation
[stable/keycloak] Add option to configure sidecars and misc improvements - #6090
Conversation
* Allow configuring additional containers as sidecars, e. g. for a database proxy * Use `tpl` function for affinity and configure default anti-affinity * Configure Postgres-specifics only when Postgres is used * Miscellaneous minor fixes and improvements
92ef7c2 to
8589532
Compare
|
/lgtm |
|
@ryandawsonuk: changing LGTM is restricted to assignees, and only kubernetes/charts repo collaborators may be assigned issues. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
@unguiculus This use of tpl is great! It will make it easier to include the keycloak chart as a requirement within another chart (much as the keycloak chart packages postgres). For loading a custom realm in particular, the toYaml approach just allows for referencing a secret with a fixed name. But with tpl I should be able to create a secret in parent chart like: And use that secret through the values.yaml for keycloak with: I just tried it out within the scope of the keycloak chart so should work when within a parent too. |
scottrigby
left a comment
There was a problem hiding this comment.
This looks great 💯
Also linking to the #4283 master issue for charts sidecar pattern.
Let's try Prow commands inside a review:
/lgtm
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ryandawsonuk, scottrigby, unguiculus The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* art-ha-static-volumes: (60 commits) added support for static pv [stable/artifactory] adding support for edge node and replicator (helm#5649) [stable/grafana] Set the user and fs group for grafana (helm#5854) [stable/stolon] Fix issue with secret deletion during helm upgrade (helm#5903) cert-manager: fast-forward to upstream 36289cf0 (helm#5919) Split Jenkins readiness and liveness probe periods (helm#5704) Kafka release name check (helm#5770) Adding JFrog Distribution (helm#5631) Correct default zookeeper host to be compatible with zk charts (helm#5824) [stable/redis] add RBAC (helm#5971) [stable/wordpress] Set dependencies to latest version (helm#6074) [stable/rabbitmq] Release 1.1.6 (helm#6095) [stable/mariadb] Fix configurable parameters (helm#6092) [stable/keycloak] Add option to configure sidecars and misc improvements (helm#6090) [stable/kubewatch] - Use maintained bitnami image for kubewatch (helm#5871) [stable/ghost] Release 4.0.1 (helm#6085) update PROCESSES.md to clarify promotion process (helm#6084) [incubator/drone] Move drone from incubator to stable (helm#5780) fix for helm#6039 (helm#6042) [stable/sonatype-nexus] Update image to 3.12.1 (helm#6076) ...
| {{- with .Values.keycloak.password }} | ||
| password: {{ . | b64enc | quote }} | ||
| {{- if .Values.keycloak.password }} | ||
| password: {{ .Values.keycloak.password | b64enc | quote }} |
There was a problem hiding this comment.
why did this get changed? i've usually seen with preferred over if
…nts (helm#6090) * [stable/keycloak] Add option to configure sidecars and misc improvements * Allow configuring additional containers as sidecars, e. g. for a database proxy * Use `tpl` function for affinity and configure default anti-affinity * Configure Postgres-specifics only when Postgres is used * Miscellaneous minor fixes and improvements * Extend and document 'tpl' function usage * Bump major version due to breaking changes Signed-off-by: voron <[email protected]>
a database proxy
tplin various values