@ravaga/helm-chart-generator
Version:
Helm chart generator
44 lines (36 loc) • 1.28 kB
YAML
{{job}}:
imagePullSecrets: []
image:
repository: {{imageRepo}}
# Overrides the image tag whose default is the chart appVersion.
tag: "{{{imageTag}}}"
pullPolicy: IfNotPresent
restartPolicy: Never
backoffLimit: 6
{{#if cronjob}}
# CronJob scheduling config.
schedule: "{{schedule}}"
{{/if}}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
resources: {}
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
podSecurityContext: {}
securityContext: {}
{{#if hasEnvVars}}
# Include here the environment variables to be used in containers section of the job's manifest.
# TODO: Here and in the manifest is included an example, please adapt them to the requirements of your component.
envVars:
exampleEnvVar: exampleValue
{{/if}}
# Configure this parameters to deploy the job in specific K8s node(s).
nodeSelector: {}
tolerations: []
affinity: {}