Added support for successfulJobHistoryLimit and failedJobHistoryLimit for CronJob Added support for dnsConfig for Deploymentmain
parent
941ed60d73
commit
f3daa15593
|
|
@ -4,5 +4,5 @@ description: A Helm chart for deploying any custom applications, specifically po
|
|||
maintainers:
|
||||
- name: improwised
|
||||
type: application
|
||||
version: 1.2.2
|
||||
version: 1.2.3
|
||||
appVersion: 1.0.0
|
||||
|
|
|
|||
|
|
@ -13,6 +13,12 @@ metadata:
|
|||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- with .successfulJobsHistoryLimit | default $.Values.cronJobTemplate.successfulJobsHistoryLimit }}
|
||||
successfulJobsHistoryLimit: {{ toYaml . }}
|
||||
{{- end }}
|
||||
{{- with .failedJobsHistoryLimit | default $.Values.cronJobTemplate.failedJobsHistoryLimit }}
|
||||
failedJobsHistoryLimit: {{ toYaml . }}
|
||||
{{- end }}
|
||||
schedule: {{ .schedule | quote }}
|
||||
suspend: {{ .suspend | default false }}
|
||||
jobTemplate:
|
||||
|
|
|
|||
|
|
@ -152,6 +152,10 @@ spec:
|
|||
periodSeconds: {{ .healthcheck.periodSeconds | default $.Values.serviceTemplate.healthcheck.periodSeconds | default "20" }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- with .dnsConfig | default $.Values.workerTemplate.dnsConfig }}
|
||||
dnsConfig:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
{{- with .securityContext | default $.Values.serviceTemplate.securityContext }}
|
||||
securityContext:
|
||||
{{ toYaml . | indent 8 }}
|
||||
|
|
@ -296,4 +300,3 @@ spec:
|
|||
{{- end }}
|
||||
|
||||
{{- end }}
|
||||
|
||||
|
|
|
|||
|
|
@ -139,6 +139,10 @@ spec:
|
|||
{{- end }}
|
||||
successThreshold: 1
|
||||
{{- end }}
|
||||
{{- with .dnsConfig | default $.Values.workerTemplate.dnsConfig }}
|
||||
dnsConfig:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
{{- with .securityContext | default $.Values.workerTemplate.securityContext }}
|
||||
securityContext:
|
||||
{{ toYaml . | indent 8 }}
|
||||
|
|
|
|||
|
|
@ -65,6 +65,16 @@ serviceTemplate:
|
|||
# fsGroup: 1001
|
||||
# runAsGroup: 1001
|
||||
# runAsUser: 1001
|
||||
dnsConfig: {}
|
||||
# nameservers:
|
||||
# - 192.0.2.1 # this is an example
|
||||
# searches:
|
||||
# - ns1.svc.cluster-domain.example
|
||||
# - my.dns.search.suffix
|
||||
# options:
|
||||
# - name: ndots
|
||||
# value: "2"
|
||||
# - name: edns0
|
||||
annotations: {}
|
||||
nodeSelector: {}
|
||||
tolerations: []
|
||||
|
|
@ -127,6 +137,16 @@ workerTemplate:
|
|||
# fsGroup: 1001
|
||||
# runAsGroup: 1001
|
||||
# runAsUser: 1001
|
||||
dnsConfig: {}
|
||||
# nameservers:
|
||||
# - 192.0.2.1 # this is an example
|
||||
# searches:
|
||||
# - ns1.svc.cluster-domain.example
|
||||
# - my.dns.search.suffix
|
||||
# options:
|
||||
# - name: ndots
|
||||
# value: "2"
|
||||
# - name: edns0
|
||||
nodeSelector: {}
|
||||
|
||||
tolerations: []
|
||||
|
|
@ -210,6 +230,8 @@ cronJobTemplate:
|
|||
# fsGroup: 1001
|
||||
# runAsGroup: 1001
|
||||
# runAsUser: 1001
|
||||
successfulJobsHistoryLimit: 1
|
||||
failedJobsHistoryLimit: 1
|
||||
|
||||
cronJobs:
|
||||
# - name: update-status
|
||||
|
|
|
|||
Loading…
Reference in New Issue