mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 17:07:04 +02:00
# Removed - Promtail add-on has been removed # Fixed - Fixed httpGet probe whitespace rendering (#76) - Fixed Secret management for ServiceAccounts (fixes #78) - Fixed code-server add-on Service rendering # Added - Added support for Gateway API Routes (#59) # Changed - Services and their ports are now assumed enabled by default - Updated `code-server` image to v4.8.3 - Updated `netshoot` image to v0.8 Signed-off-by: András Maróy <andras@maroy.hu> Signed-off-by: András Maróy <andras@maroy.hu> Co-authored-by: András Maróy <andras@maroy.hu> Co-authored-by: pando85 <pando855@gmail.com>
23 lines
746 B
Smarty
23 lines
746 B
Smarty
{{/*
|
|
Renders the serviceAccount object required by the chart.
|
|
*/}}
|
|
{{- define "bjw-s.common.render.serviceAccount" -}}
|
|
{{- if .Values.serviceAccount.create -}}
|
|
|
|
{{- /* Create a service account secret */ -}}
|
|
{{- $_ := set .Values.secrets "sa-token" (dict "enabled" true "type" "kubernetes.io/service-account-token") -}}
|
|
|
|
{{- include "bjw-s.common.class.serviceAccount" $ | nindent 0 -}}
|
|
{{- end -}}
|
|
{{- end -}}
|
|
|
|
# serviceAccount:
|
|
# # -- Specifies whether a service account should be created
|
|
# create: false
|
|
|
|
# # -- Annotations to add to the service account
|
|
# annotations: {}
|
|
|
|
# # -- The name of the service account to use.
|
|
# # If not set and create is true, a name is generated using the fullname template
|
|
# name: ""
|