Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## master / unreleased

* [FEATURE] Parquet converter: allow running it as a StatefulSet with a persistent volume per pod #685
* [FEATURE] Add `ruler.sidecar.resourceName` and `alertmanager.sidecar.resourceName` to set `RESOURCE_NAME` on the sidecars #688
* [ENHANCEMENT] Expose `nginx.config.client_body_buffer_size` to set the nginx `client_body_buffer_size` #350
* [DEPENDENCY] Update Helm release rollout-operator to v0.53.1 #683
* [DEPENDENCY] Update prom/memcached-exporter Docker tag to v0.18.0 #684
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ Kubernetes: `^1.19.0-0`
| alertmanager.​sidecar.​readinessProbe.​httpGet.​port | string | `"sidecar-health"` | |
| alertmanager.​sidecar.​readinessProbe.​periodSeconds | int | `5` | |
| alertmanager.​sidecar.​resource | string | `"both"` | The resource type that the operator will filter for. Can be configmap, secret or both |
| alertmanager.​sidecar.​resourceName | string | `""` | Comma separated list of ConfigMap and/or Secret names to watch. When empty, all resources matching the label are watched |
| alertmanager.​sidecar.​resources | object | `{}` | |
| alertmanager.​sidecar.​searchNamespace | string | `""` | The Namespace(s) from which resources will be watched. For multiple namespaces, use a comma-separated string like "default,test". If not set or set to ALL, it will watch all Namespaces. |
| alertmanager.​sidecar.​skipTlsVerify | bool | `false` | Set to true to skip tls verification for kube api calls |
Expand Down Expand Up @@ -893,6 +894,7 @@ Kubernetes: `^1.19.0-0`
| ruler.​sidecar.​readinessProbe.​httpGet.​port | string | `"sidecar-health"` | |
| ruler.​sidecar.​readinessProbe.​periodSeconds | int | `5` | |
| ruler.​sidecar.​resource | string | `"both"` | The resource type that the operator will filter for. Can be configmap, secret or both |
| ruler.​sidecar.​resourceName | string | `""` | Comma separated list of ConfigMap and/or Secret names to watch. When empty, all resources matching the label are watched |
| ruler.​sidecar.​resources | object | `{}` | |
| ruler.​sidecar.​searchNamespace | string | `""` | The Namespace(s) from which resources will be watched. For multiple namespaces, use a comma-separated string like "default,test". If not set or set to ALL, it will watch all Namespaces. |
| ruler.​sidecar.​skipTlsVerify | bool | `false` | Set to true to skip tls verification for kube api calls |
Expand Down
4 changes: 4 additions & 0 deletions templates/alertmanager/alertmanager-dep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ spec:
- name: RESOURCE
value: {{ quote .Values.alertmanager.sidecar.resource }}
{{- end }}
{{- with .Values.alertmanager.sidecar.resourceName }}
- name: RESOURCE_NAME
value: {{ quote . }}
{{- end }}
{{- if .Values.alertmanager.sidecar.enableUniqueFilenames }}
- name: UNIQUE_FILENAMES
value: "{{ .Values.alertmanager.sidecar.enableUniqueFilenames }}"
Expand Down
4 changes: 4 additions & 0 deletions templates/alertmanager/alertmanager-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ spec:
- name: RESOURCE
value: {{ quote .Values.alertmanager.sidecar.resource }}
{{- end }}
{{- with .Values.alertmanager.sidecar.resourceName }}
- name: RESOURCE_NAME
value: {{ quote . }}
{{- end }}
{{- if .Values.alertmanager.sidecar.enableUniqueFilenames }}
- name: UNIQUE_FILENAMES
value: "{{ .Values.alertmanager.sidecar.enableUniqueFilenames }}"
Expand Down
4 changes: 4 additions & 0 deletions templates/ruler/ruler-dep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ spec:
- name: RESOURCE
value: {{ quote .Values.ruler.sidecar.resource }}
{{- end }}
{{- with .Values.ruler.sidecar.resourceName }}
- name: RESOURCE_NAME
value: {{ quote . }}
{{- end }}
{{- if .Values.ruler.sidecar.enableUniqueFilenames }}
- name: UNIQUE_FILENAMES
value: "{{ .Values.ruler.sidecar.enableUniqueFilenames }}"
Expand Down
4 changes: 4 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@ alertmanager:
folderAnnotation: "k8s-sidecar-target-directory"
# -- The resource type that the operator will filter for. Can be configmap, secret or both
resource: "both"
# -- Comma separated list of ConfigMap and/or Secret names to watch. When empty, all resources matching the label are watched
resourceName: ""
containerSecurityContext:
enabled: true
readOnlyRootFilesystem: true
Expand Down Expand Up @@ -768,6 +770,8 @@ ruler:
folderAnnotation: "k8s-sidecar-target-directory"
# -- The resource type that the operator will filter for. Can be configmap, secret or both
resource: "both"
# -- Comma separated list of ConfigMap and/or Secret names to watch. When empty, all resources matching the label are watched
resourceName: ""
containerSecurityContext:
enabled: true
readOnlyRootFilesystem: true
Expand Down
Loading