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>
19 lines
710 B
Smarty
19 lines
710 B
Smarty
{{/*
|
|
This template serves as a blueprint for ServiceAccount objects that are created
|
|
using the common library.
|
|
*/}}
|
|
{{- define "bjw-s.common.class.serviceAccount" -}}
|
|
---
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: {{ include "bjw-s.common.lib.chart.names.serviceAccountName" . }}
|
|
{{- with include "bjw-s.common.lib.metadata.allLabels" $ | fromYaml }}
|
|
labels: {{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
{{- with (merge (.Values.serviceAccount.annotations | default dict) (include "bjw-s.common.lib.metadata.globalAnnotations" $ | fromYaml)) }}
|
|
annotations: {{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
secrets:
|
|
- name: {{ include "bjw-s.common.lib.chart.names.fullname" . }}-sa-token
|
|
{{- end -}}
|