diff --git a/.vib/kibana/goss/goss.yaml b/.vib/kibana/goss/goss.yaml index 64263eabac..b933c00410 100644 --- a/.vib/kibana/goss/goss.yaml +++ b/.vib/kibana/goss/goss.yaml @@ -27,7 +27,7 @@ command: # or the one randomly defined by openshift (larger values). Otherwise, the chart is still using the default value. exec: if [ $(id -u) -lt {{ $uid }} ] || [ $(id -G | awk '{print $2}') -lt {{ $gid }} ]; then exit 1; fi exit-status: 0 - {{ if .Vars.serviceAccount.automountServiceAccountToken }} + {{ if .Vars.automountServiceAccountToken }} check-sa: exec: cat /var/run/secrets/kubernetes.io/serviceaccount/token | cut -d '.' -f 2 | xargs -I '{}' echo '{}====' | fold -w 4 | sed '$ d' | tr -d '\n' | base64 -d exit-status: 0 diff --git a/.vib/kibana/runtime-parameters.yaml b/.vib/kibana/runtime-parameters.yaml index 0122c68d75..046eb8731d 100644 --- a/.vib/kibana/runtime-parameters.yaml +++ b/.vib/kibana/runtime-parameters.yaml @@ -25,4 +25,4 @@ sidecars: containerPort: 9200 serviceAccount: create: true - automountServiceAccountToken: true +automountServiceAccountToken: true diff --git a/bitnami/kibana/Chart.yaml b/bitnami/kibana/Chart.yaml index 544893e354..01069a7b66 100644 --- a/bitnami/kibana/Chart.yaml +++ b/bitnami/kibana/Chart.yaml @@ -32,4 +32,4 @@ maintainers: name: kibana sources: - https://github.com/bitnami/charts/tree/main/bitnami/kibana -version: 10.7.2 +version: 10.8.0 diff --git a/bitnami/kibana/README.md b/bitnami/kibana/README.md index dd35bf5667..86f307352c 100644 --- a/bitnami/kibana/README.md +++ b/bitnami/kibana/README.md @@ -96,6 +96,7 @@ The command removes all the Kubernetes components associated with the chart and | `priorityClassName` | %%MAIN_CONTAINER_NAME%% pods' priorityClassName | `""` | | `terminationGracePeriodSeconds` | In seconds, time the given to the %%MAIN_CONTAINER_NAME%% pod needs to terminate gracefully | `""` | | `topologySpreadConstraints` | Topology Spread Constraints for pod assignment | `[]` | +| `automountServiceAccountToken` | Mount Service Account token in pod | `false` | | `hostAliases` | Add deployment host aliases | `[]` | | `plugins` | Array containing the Kibana plugins to be installed in deployment | `[]` | | `savedObjects.urls` | Array containing links to NDJSON files to be imported during Kibana initialization | `[]` | diff --git a/bitnami/kibana/templates/deployment.yaml b/bitnami/kibana/templates/deployment.yaml index 2ce9c6932d..cca8012c0a 100644 --- a/bitnami/kibana/templates/deployment.yaml +++ b/bitnami/kibana/templates/deployment.yaml @@ -36,6 +36,7 @@ spec: app: kibana spec: {{- include "kibana.imagePullSecrets" . | nindent 6 }} + automountServiceAccountToken: {{ .Values.automountServiceAccountToken }} {{- if .Values.hostAliases }} hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.hostAliases "context" $) | nindent 8 }} {{- end }} diff --git a/bitnami/kibana/values.yaml b/bitnami/kibana/values.yaml index a6810c314b..0bde5e54b9 100644 --- a/bitnami/kibana/values.yaml +++ b/bitnami/kibana/values.yaml @@ -122,6 +122,9 @@ terminationGracePeriodSeconds: "" ## The value is evaluated as a template ## topologySpreadConstraints: [] +## @param automountServiceAccountToken Mount Service Account token in pod +## +automountServiceAccountToken: false ## @param hostAliases Add deployment host aliases ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/ ##