Skip to content

Add one more env RESOURCE_NAME to ruler sidecar #561

@sportlotto

Description

@sportlotto

Hello
kiwigrid/k8s-sidecar has value called RESOURCE_NAME

Comma separated list of resource names, which are monitored by the sidecar. Items can be prefixed by the namespace and the resource type. E.g. secret/resource-name or namespace/secret/resource-name. Setting this will result method set to WATCH being treated as SLEEP

The ruler sidecar at this time can only work with

          env:
...
            - name: LABEL
              value: "{{ .Values.ruler.sidecar.label }}"
            {{- if .Values.ruler.sidecar.labelValue }}
            - name: LABEL_VALUE
              value: {{ quote .Values.ruler.sidecar.labelValue }}
            {{- end }}
...
            {{- if .Values.ruler.sidecar.resource}}
            - name: RESOURCE
              value: {{ quote .Values.ruler.sidecar.resource }}
            {{- end }}

Could you please add RESOURCE_NAME to the template definition templates/ruler/ruler-dep.yaml?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions