stefanprodan / mgob

MongoDB dockerized backup agent. Runs schedule backups with retention, S3 & SFTP upload, notifications, instrumentation with Prometheus and more.
MIT License
769 stars 152 forks source link

Helm chart service doesn't work with pod from StatefulSet #114

Closed mikitasolo closed 1 year ago

mikitasolo commented 4 years ago

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