Skip to content

Commit

Permalink
fix(typo): PeriodSecond --> PeriodSeconds
Browse files Browse the repository at this point in the history
  • Loading branch information
brokenpip3 committed Jun 11, 2024
1 parent 45d85e6 commit 29ea1de
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion chart/jenkins-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Kubernetes native operator which fully manages Jenkins on Kubernetes
| jenkins.seedJobAgentImage | string | `""` | |
| jenkins.seedJobs | list | `[]` | |
| jenkins.serviceAccount.annotations | object | `{}` | |
| jenkins.terminationGracePeriodSecond | int | `30` | |
| jenkins.terminationGracePeriodSeconds | int | `30` | |
| jenkins.tolerations | list | `[]` | |
| jenkins.validateSecurityWarnings | bool | `false` | |
| jenkins.volumeMounts | list | `[]` | |
Expand Down
4 changes: 2 additions & 2 deletions chart/jenkins-operator/templates/jenkins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ spec:
{{- with .Values.jenkins.hostAliases }}
hostAliases: {{ toYaml . | nindent 4 }}
{{- end }}
{{- if .Values.jenkins.terminationGracePeriodSecond }}
terminationGracePeriodSecond: {{ .Values.jenkins.terminationGracePeriodSecond }}
{{- if .Values.jenkins.terminationGracePeriodSeconds }}
terminationGracePeriodSeconds: {{ .Values.jenkins.terminationGracePeriodSeconds }}
{{- end }}
containers:
- name: jenkins-master
Expand Down
2 changes: 1 addition & 1 deletion chart/jenkins-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jenkins:

# Optional duration in seconds the pod needs to terminate gracefully.
# Default 30sec
terminationGracePeriodSecond: 30
terminationGracePeriodSeconds: 30

# validateSecurityWarnings enables or disables validating potential security warnings in Jenkins plugins via admission webhooks.
validateSecurityWarnings: false
Expand Down

0 comments on commit 29ea1de

Please sign in to comment.