Skip to content

service account

Francisco Maseda Muiño edited this page Aug 19, 2021 · 2 revisions

Basic structure

name: annotations: {} # optional labels: {} # optional automountServiceAccountToken: # default true imagePullSecrets: [] # l => name of the secret secrets: [] # l => name of the secret

Example

{{ define "my-sa.data" }}

name: my-sa
annotations: 
  an: "an1"
labels:
  lb: "la-1"
secrets:
  - secret1
  - secret2
imagePullSecrets:
  - secret-image-pull
  - secret-image-pull2
{{ end }}

{{ include "ph.sa.render" (include "my-sa.data" . | fromYaml )  }}

Clone this wiki locally