From 1991fcdccee03bd5fcfd8ff96bd604b59636a678 Mon Sep 17 00:00:00 2001 From: talbx Date: Thu, 11 Aug 2022 11:34:32 +0200 Subject: [PATCH] [bitnami/wildfly]: add serviceAccountName property (#11706) * feat: [bitnami/wildfly] - add serviceAccountName property to deployment manifest Signed-off-by: Tom Albrecht * docs: [bitnami/wildfly] - added default values and description for serviceAccountName Signed-off-by: Tom Albrecht * docs: [bitnami/wildfly] - readme regenerated Signed-off-by: Tom Albrecht Signed-off-by: Tom Albrecht --- bitnami/wildfly/Chart.yaml | 2 +- bitnami/wildfly/README.md | 19 ++++++++++--------- bitnami/wildfly/templates/deployment.yaml | 3 +++ bitnami/wildfly/values.yaml | 2 ++ 4 files changed, 16 insertions(+), 10 deletions(-) diff --git a/bitnami/wildfly/Chart.yaml b/bitnami/wildfly/Chart.yaml index 8c81fdc6b..32ec0c3d5 100644 --- a/bitnami/wildfly/Chart.yaml +++ b/bitnami/wildfly/Chart.yaml @@ -26,4 +26,4 @@ name: wildfly sources: - https://github.com/bitnami/containers/tree/main/bitnami/wildfly - http://wildfly.org -version: 13.3.15 +version: 13.4.0 diff --git a/bitnami/wildfly/README.md b/bitnami/wildfly/README.md index 055694232..f283b39a0 100644 --- a/bitnami/wildfly/README.md +++ b/bitnami/wildfly/README.md @@ -82,14 +82,14 @@ The command removes all the Kubernetes components associated with the chart and ### WildFly Image parameters -| Name | Description | Value | -| ------------------- | -------------------------------------------------- | --------------------- | -| `image.registry` | WildFly image registry | `docker.io` | -| `image.repository` | WildFly image repository | `bitnami/wildfly` | -| `image.tag` | WildFly image tag (immutable tags are recommended) | `26.1.1-debian-11-r0` | -| `image.pullPolicy` | WildFly image pull policy | `IfNotPresent` | -| `image.pullSecrets` | WildFly image pull secrets | `[]` | -| `image.debug` | Enable image debug mode | `false` | +| Name | Description | Value | +| ------------------- | -------------------------------------------------- | ---------------------- | +| `image.registry` | WildFly image registry | `docker.io` | +| `image.repository` | WildFly image repository | `bitnami/wildfly` | +| `image.tag` | WildFly image tag (immutable tags are recommended) | `26.1.1-debian-11-r26` | +| `image.pullPolicy` | WildFly image pull policy | `IfNotPresent` | +| `image.pullSecrets` | WildFly image pull secrets | `[]` | +| `image.debug` | Enable image debug mode | `false` | ### WildFly Configuration parameters @@ -116,6 +116,7 @@ The command removes all the Kubernetes components associated with the chart and | `hostAliases` | WildFly pod host aliases | `[]` | | `extraVolumes` | Optionally specify extra list of additional volumes for WildFly pods | `[]` | | `extraVolumeMounts` | Optionally specify extra list of additional volumeMounts for WildFly container(s) | `[]` | +| `serviceAccountName` | Name of existing ServiceAccount to be connected | `""` | | `sidecars` | Add additional sidecar containers to the WildFly pod | `[]` | | `initContainers` | Add additional init containers to the WildFly pods | `[]` | | `podLabels` | Extra labels for WildFly pods | `{}` | @@ -218,7 +219,7 @@ The command removes all the Kubernetes components associated with the chart and | `volumePermissions.enabled` | Enable init container that changes the owner/group of the PV mount point to `runAsUser:fsGroup` | `false` | | `volumePermissions.image.registry` | Bitnami Shell image registry | `docker.io` | | `volumePermissions.image.repository` | Bitnami Shell image repository | `bitnami/bitnami-shell` | -| `volumePermissions.image.tag` | Bitnami Shell image tag (immutable tags are recommended) | `11-debian-11-r0` | +| `volumePermissions.image.tag` | Bitnami Shell image tag (immutable tags are recommended) | `11-debian-11-r23` | | `volumePermissions.image.pullPolicy` | Bitnami Shell image pull policy | `IfNotPresent` | | `volumePermissions.image.pullSecrets` | Bitnami Shell image pull secrets | `[]` | | `volumePermissions.resources.limits` | The resources limits for the init container | `{}` | diff --git a/bitnami/wildfly/templates/deployment.yaml b/bitnami/wildfly/templates/deployment.yaml index 4e7ccc291..1c4656aac 100644 --- a/bitnami/wildfly/templates/deployment.yaml +++ b/bitnami/wildfly/templates/deployment.yaml @@ -31,6 +31,9 @@ spec: {{- if .Values.hostAliases }} hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.hostAliases "context" $) | nindent 8 }} {{- end }} + {{- if .Values.serviceAccountName }} + serviceAccountName: {{ .Values.serviceAccountName }} + {{- end }} {{- if .Values.affinity }} affinity: {{- include "common.tplvalues.render" (dict "value" .Values.affinity "context" $) | nindent 8 }} {{- else }} diff --git a/bitnami/wildfly/values.yaml b/bitnami/wildfly/values.yaml index e16f629dd..04996bddc 100644 --- a/bitnami/wildfly/values.yaml +++ b/bitnami/wildfly/values.yaml @@ -150,6 +150,8 @@ extraVolumes: [] ## @param extraVolumeMounts [array] Optionally specify extra list of additional volumeMounts for WildFly container(s) ## extraVolumeMounts: [] +## @param serviceAccountName Name of existing ServiceAccount to be connected +serviceAccountName: "" ## @param sidecars [array] Add additional sidecar containers to the WildFly pod ## e.g: ## sidecars: