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=062e7c2a2f0e666ba87d4a0337e5774cf841b3f9;hp=dc19c2d985abf5df7c090f57716503996934f20b;hpb=2ee6ad456a91061d64b859ba20108c7e3c556de3;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