-
Notifications
You must be signed in to change notification settings - Fork 4
Helpers
Stéphane Brunner edited this page Jun 27, 2024
·
1 revision
Create the name of the service account to use.
Parameters:
-
root: the root object, should be$.
Used values:
-
serviceAccountfrom the values root ($.Values).
Create the pod configuration.
Parameters:
-
root: the root object, should be$. -
service: the service object. -
affinitySelector: the affinity selector (optional).
Used values:
-
imagefrom the global values ($.Values.global). -
podSecurityContextfrom the values root ($.Values). -
nodeSelectorfrom the service object. -
affinityfrom the service object. -
tolerationsfrom the values root ($.Values).
Used Functions:
application.serviceAccountName
Create the container configuration.
Parameters:
-
root: the root object, should be$. -
container: the container definition.
Used values:
-
securityContextfrom the values root ($.Values). -
imagefrom the container object. -
imagefrom the global values ($.Values.global). -
envfrom the container object. -
configMapNameOverridefrom the global values ($.Values.global). -
resourcesfrom the container object.
Used functions:
common.oneEnv
Create the metadata for the Pod.
Parameters:
-
service: the service object.
Used values:
-
podLabelsfrom the service object. -
podAnnotationsfrom the service object.
Used functions:
common.selectorLabels
Create one environment variable.
Parameters:
-
root: the root object, should be$. -
name: the name of the environment variable. -
value: the definition of the environment variable. -
configMapNameOverride: the name override of the ConfigMap to use.
Used functions:
common.fullname