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:
|
maintainers:
|
||||||
- name: improwised
|
- name: improwised
|
||||||
type: application
|
type: application
|
||||||
version: 1.2.2
|
version: 1.2.3
|
||||||
appVersion: 1.0.0
|
appVersion: 1.0.0
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,12 @@ metadata:
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- with .successfulJobsHistoryLimit | default $.Values.cronJobTemplate.successfulJobsHistoryLimit }}
|
||||||
|
successfulJobsHistoryLimit: {{ toYaml . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .failedJobsHistoryLimit | default $.Values.cronJobTemplate.failedJobsHistoryLimit }}
|
||||||
|
failedJobsHistoryLimit: {{ toYaml . }}
|
||||||
|
{{- end }}
|
||||||
schedule: {{ .schedule | quote }}
|
schedule: {{ .schedule | quote }}
|
||||||
suspend: {{ .suspend | default false }}
|
suspend: {{ .suspend | default false }}
|
||||||
jobTemplate:
|
jobTemplate:
|
||||||
|
|
|
||||||
|
|
@ -152,6 +152,10 @@ spec:
|
||||||
periodSeconds: {{ .healthcheck.periodSeconds | default $.Values.serviceTemplate.healthcheck.periodSeconds | default "20" }}
|
periodSeconds: {{ .healthcheck.periodSeconds | default $.Values.serviceTemplate.healthcheck.periodSeconds | default "20" }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .dnsConfig | default $.Values.workerTemplate.dnsConfig }}
|
||||||
|
dnsConfig:
|
||||||
|
{{ toYaml . | indent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- with .securityContext | default $.Values.serviceTemplate.securityContext }}
|
{{- with .securityContext | default $.Values.serviceTemplate.securityContext }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{ toYaml . | indent 8 }}
|
{{ toYaml . | indent 8 }}
|
||||||
|
|
@ -296,4 +300,3 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -139,6 +139,10 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .dnsConfig | default $.Values.workerTemplate.dnsConfig }}
|
||||||
|
dnsConfig:
|
||||||
|
{{ toYaml . | indent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- with .securityContext | default $.Values.workerTemplate.securityContext }}
|
{{- with .securityContext | default $.Values.workerTemplate.securityContext }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{ toYaml . | indent 8 }}
|
{{ toYaml . | indent 8 }}
|
||||||
|
|
|
||||||
|
|
@ -65,6 +65,16 @@ serviceTemplate:
|
||||||
# fsGroup: 1001
|
# fsGroup: 1001
|
||||||
# runAsGroup: 1001
|
# runAsGroup: 1001
|
||||||
# runAsUser: 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: {}
|
annotations: {}
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
tolerations: []
|
tolerations: []
|
||||||
|
|
@ -127,6 +137,16 @@ workerTemplate:
|
||||||
# fsGroup: 1001
|
# fsGroup: 1001
|
||||||
# runAsGroup: 1001
|
# runAsGroup: 1001
|
||||||
# runAsUser: 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: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
tolerations: []
|
tolerations: []
|
||||||
|
|
@ -210,6 +230,8 @@ cronJobTemplate:
|
||||||
# fsGroup: 1001
|
# fsGroup: 1001
|
||||||
# runAsGroup: 1001
|
# runAsGroup: 1001
|
||||||
# runAsUser: 1001
|
# runAsUser: 1001
|
||||||
|
successfulJobsHistoryLimit: 1
|
||||||
|
failedJobsHistoryLimit: 1
|
||||||
|
|
||||||
cronJobs:
|
cronJobs:
|
||||||
# - name: update-status
|
# - name: update-status
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue