File tree 3 files changed +9
-6
lines changed
3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 42
42
- name : core
43
43
image : {{ .Values.core.image.repository }}:{{ .Values.core.image.tag }}
44
44
imagePullPolicy : {{ .Values.imagePullPolicy }}
45
+ {{- if .Values.core.startupProbe.enabled }}
45
46
startupProbe :
46
47
httpGet :
47
48
path : /api/v2.0/ping
50
51
failureThreshold : 360
51
52
initialDelaySeconds : {{ .Values.core.startupProbe.initialDelaySeconds }}
52
53
periodSeconds : 10
54
+ {{- end }}
53
55
livenessProbe :
54
56
httpGet :
55
57
path : /api/v2.0/ping
Original file line number Diff line number Diff line change 19
19
{{- $_ := set . "notary_path" "/.*" -}}
20
20
{{- else }}
21
21
{{- $_ := set . "portal_path" "/" -}}
22
- {{- $_ := set . "api_path" "/api/ " -}}
23
- {{- $_ := set . "service_path" "/service/ " -}}
24
- {{- $_ := set . "v2_path" "/v2/ " -}}
25
- {{- $_ := set . "chartrepo_path" "/chartrepo/ " -}}
26
- {{- $_ := set . "controller_path" "/c/ " -}}
22
+ {{- $_ := set . "api_path" "/api" -}}
23
+ {{- $_ := set . "service_path" "/service" -}}
24
+ {{- $_ := set . "v2_path" "/v2" -}}
25
+ {{- $_ := set . "chartrepo_path" "/chartrepo" -}}
26
+ {{- $_ := set . "controller_path" "/c" -}}
27
27
{{- $_ := set . "notary_path" "/" -}}
28
28
{{- end }}
29
29
Original file line number Diff line number Diff line change 9
9
# images. Refer to https://github.com/goharbor/harbor/issues/5291
10
10
# for the detail.
11
11
enabled : true
12
- # The source of the tls certificate. Set it as "auto", "secret"
12
+ # The source of the tls certificate. Set it as "auto", "secret"
13
13
# or "none" and fill the information in the corresponding section
14
14
# 1) auto: generate the tls certificate automatically
15
15
# 2) secret: read the tls certificate from the specified secret.
@@ -415,6 +415,7 @@ core:
415
415
replicas : 1
416
416
# # Startup probe values
417
417
startupProbe :
418
+ enabled : true
418
419
initialDelaySeconds : 10
419
420
# resources:
420
421
# requests:
You can’t perform that action at this time.
0 commit comments