Skip to content

Commit 249b9ee

Browse files
committed
feat: Support for oeprator metrics port
1 parent a329ee7 commit 249b9ee

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

charts/ext-postgres-operator/templates/operator.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ spec:
4444
{{- toYaml .Values.securityContext | nindent 12 }}
4545
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
4646
imagePullPolicy: {{ .Values.image.pullPolicy }}
47+
ports:
48+
- name: metrics
49+
containerPort: 8080
50+
protocol: "TCP"
4751
envFrom:
4852
- secretRef:
4953
{{- if .Values.existingSecret }}

config/manager/operator.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ spec:
1919
- name: ext-postgres-operator
2020
image: movetokube/postgres-operator:2.0.0
2121
imagePullPolicy: Always
22+
ports:
23+
- name: metrics
24+
containerPort: 8080
25+
protocol: "TCP"
2226
envFrom:
2327
- secretRef:
2428
name: ext-postgres-operator

0 commit comments

Comments
 (0)