stefanprodan / mgob

MongoDB dockerized backup agent. Runs schedule backups with retention, S3 & SFTP upload, notifications, instrumentation with Prometheus and more.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Helm chart service doesn't work with pod from StatefulSet

mikitasolo opened this issue · comments

Currently helm chart service has selectors by app and role:

selector:
    app: {{ template "fullname" . }}
    role: {{ .Values.selector.role }}

But StatefulSet template sets only role label:

template:
    metadata:
      labels:
        role: {{ .Values.selector.role }}

As result created service can't attach to the pod