misc: add helm high availablity when replicas are more than 1 (#4420)
* add helm high availablity when replicas are more than 1 * refactor HA expression ***NO_CI***
This commit is contained in:
		| @@ -51,6 +51,8 @@ spec: | ||||
|                   name: {{ template "wiki.postgresql.secret" . }} | ||||
|                 {{- end }} | ||||
|                   key: {{ template "wiki.postgresql.secretKey" . }} | ||||
|             - name: HA | ||||
|               value: {{ .Values.replicaCount | int | le 2 | quote }} | ||||
|           ports: | ||||
|             - name: http | ||||
|               containerPort: 3000 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user