move to helm. S3 secret

This commit is contained in:
Пытков Роман
2024-02-13 19:15:22 +03:00
parent 397abb3555
commit eab8a3ebaf
27 changed files with 22063 additions and 38 deletions

View File

@@ -0,0 +1,18 @@
{{- if .Values.monitoring.podMonitorEnabled }}
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: {{ include "cloudnative-pg.fullname" . }}
labels:
{{- include "cloudnative-pg.labels" . | nindent 4 }}
{{- with .Values.commonAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
selector:
matchLabels:
{{- include "cloudnative-pg.selectorLabels" . | nindent 6 }}
podMetricsEndpoints:
- port: metrics
{{- end }}