X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fcommon%2Fpostgres%2Ftemplates%2Fdeployment-replica.yaml;fp=kubernetes%2Fcommon%2Fpostgres%2Ftemplates%2Fdeployment-replica.yaml;h=97c7e110535395166e4b9e7aaaf2e32520cad410;hb=17ca8751512743a9f8a04e44af79bbfbd988e91e;hp=dc19c2d985abf5df7c090f57716503996934f20b;hpb=5210a5d2f545a6d5b15363783ec6d7e7ff41c387;p=oom.git diff --git a/kubernetes/common/postgres/templates/deployment-replica.yaml b/kubernetes/common/postgres/templates/deployment-replica.yaml index dc19c2d985..97c7e11053 100644 --- a/kubernetes/common/postgres/templates/deployment-replica.yaml +++ b/kubernetes/common/postgres/templates/deployment-replica.yaml @@ -13,4 +13,6 @@ # # See the License for the specific language governing permissions and # # limitations under the License. */}} +{{- if not .Values.global.postgres.useOperator }} {{ include "common.postgres.deployment" (dict "dot" . "pgMode" "replica") }} +{{- end }} \ No newline at end of file