diff --git a/charts/psmdb-operator/Chart.yaml b/charts/psmdb-operator/Chart.yaml index aaf6b1e5..40e79057 100644 --- a/charts/psmdb-operator/Chart.yaml +++ b/charts/psmdb-operator/Chart.yaml @@ -3,7 +3,7 @@ appVersion: "1.15.0" description: A Helm chart for deploying the Percona Operator for MongoDB name: psmdb-operator home: https://docs.percona.com/percona-operator-for-mongodb/ -version: 1.15.1 +version: 1.15.2 maintainers: - name: tplavcic email: tomislav.plavcic@percona.com diff --git a/charts/psmdb-operator/templates/deployment.yaml b/charts/psmdb-operator/templates/deployment.yaml index c4ccdcd6..5ab46989 100644 --- a/charts/psmdb-operator/templates/deployment.yaml +++ b/charts/psmdb-operator/templates/deployment.yaml @@ -39,9 +39,12 @@ spec: image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" imagePullPolicy: {{ .Values.image.pullPolicy }} ports: - - containerPort: 60000 + - containerPort: 8080 protocol: TCP name: metrics + - containerPort: 8081 + protocol: TCP + name: health command: - percona-server-mongodb-operator env: @@ -65,14 +68,14 @@ spec: value: "{{ .Values.env.resyncPeriod }}" - name: DISABLE_TELEMETRY value: "{{ .Values.disableTelemetry }}" - # livenessProbe: - # httpGet: - # path: / - # port: metrics - # readinessProbe: - # httpGet: - # path: / - # port: metrics + livenessProbe: + httpGet: + path: /healthz + port: health + readinessProbe: + httpGet: + path: /healthz + port: health resources: {{- toYaml .Values.resources | nindent 12 }} {{- with .Values.nodeSelector }}