chart: Add githubAPICacheDuration

Ref #502
This commit is contained in:
Yusuke Kuoka 2021-05-11 02:25:10 +00:00
parent 6cbba80df1
commit ab25907050
2 changed files with 8 additions and 0 deletions

View File

@ -39,6 +39,9 @@ spec:
{{- if .Values.scope.singleNamespace }}
- "--watch-namespace={{ default .Release.Namespace .Values.scope.watchNamespace }}"
{{- end }}
{{- if .Values.githubAPICacheDuration }}
- "--github-api-cache-duration={{ .Values.githubAPICacheDuration }}"
{{- end }}
command:
- "/manager"
env:

View File

@ -8,6 +8,11 @@ replicaCount: 1
syncPeriod: 10m
# The controller tries its best not to repeat the duplicate GitHub API call
# within this duration.
# Defaults to syncPeriod - 10s.
#githubAPICacheDuration: 30s
# Only 1 authentication method can be deployed at a time
# Uncomment the configuration you are applying and fill in the details
authSecret: