File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,7 +112,8 @@ spec:
112112 readOnly : true
113113 subPath : lb-config.json
114114 {{- end }}
115- {{- if and .livenessProbe .livenessProbe.enabled }}
115+ {{- if .livenessProbe }}
116+ {{- if .livenessProbe.enabled }}
116117 livenessProbe :
117118 {{- if .livenessProbe.exec }}
118119 exec :
@@ -134,6 +135,7 @@ spec:
134135 failureThreshold : {{ .livenessProbe.failureThreshold }}
135136 {{- end }}
136137 {{- end }}
138+ {{- end }}
137139 volumes :
138140 {{- if .clientCertSecret }}
139141 - name : tls
Original file line number Diff line number Diff line change 2929 asserts :
3030 - isKind :
3131 of : Deployment
32- - exists :
32+ - isNotNull :
3333 path : spec.template.spec.containers[0].livenessProbe
3434 - equal :
3535 path : spec.template.spec.containers[0].livenessProbe.initialDelaySeconds
5555 asserts :
5656 - isKind :
5757 of : Deployment
58- - notExists :
58+ - isNull :
5959 path : spec.template.spec.containers[0].livenessProbe
6060
6161
You can’t perform that action at this time.
0 commit comments