-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chart, build, salt: bump loki chart to 6.16.0
- Loading branch information
Showing
144 changed files
with
10,336 additions
and
1,158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: v2 | ||
appVersion: v0.11.0 | ||
description: Grafana rollout-operator | ||
home: https://github.com/grafana/rollout-operator | ||
kubeVersion: ^1.10.0-0 | ||
name: rollout-operator | ||
type: application | ||
version: 0.13.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
# Grafana rollout-operator Helm Chart | ||
|
||
Helm chart for deploying [Grafana rollout-operator](https://github.com/grafana/rollout-operator) to Kubernetes. | ||
|
||
# rollout-operator | ||
|
||
![Version: 0.13.0](https://img.shields.io/badge/Version-0.13.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.11.0](https://img.shields.io/badge/AppVersion-v0.11.0-informational?style=flat-square) | ||
|
||
Grafana rollout-operator | ||
|
||
## Requirements | ||
|
||
Kubernetes: `^1.10.0-0` | ||
|
||
## Installation | ||
|
||
This section describes various use cases for installation, upgrade and migration from different systems and versions. | ||
|
||
### Preparation | ||
|
||
These are the common tasks to perform before any of the use cases. | ||
|
||
```bash | ||
# Add the repository | ||
helm repo add grafana https://grafana.github.io/helm-charts | ||
helm repo update | ||
``` | ||
|
||
### Installation of Grafana Rollout Operator | ||
|
||
```bash | ||
helm install -n <namespace> <release> grafana/rollout-operator | ||
``` | ||
|
||
The Grafana rollout-operator should be installed in the same namespace as the statefulsets it is operating upon. | ||
It is not a highly available application and runs as a single pod. | ||
|
||
## Values | ||
|
||
| Key | Type | Default | Description | | ||
|-----|------|---------|-------------| | ||
| affinity | object | `{}` | | | ||
| fullnameOverride | string | `""` | | | ||
| hostAliases | list | `[]` | hostAliases to add | | ||
| image.pullPolicy | string | `"IfNotPresent"` | | | ||
| image.repository | string | `"grafana/rollout-operator"` | | | ||
| image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion. | | ||
| imagePullSecrets | list | `[]` | | | ||
| minReadySeconds | int | `10` | | | ||
| nameOverride | string | `""` | | | ||
| nodeSelector | object | `{}` | | | ||
| podAnnotations | object | `{}` | Pod Annotations | | ||
| podLabels | object | `{}` | Pod (extra) Labels | | ||
| podSecurityContext | object | `{}` | | | ||
| priorityClassName | string | `""` | | | ||
| resources.limits.memory | string | `"200Mi"` | | | ||
| resources.requests.cpu | string | `"100m"` | | | ||
| resources.requests.memory | string | `"100Mi"` | | | ||
| securityContext | object | `{}` | | | ||
| serviceAccount.annotations | object | `{}` | Annotations to add to the service account | | ||
| serviceAccount.create | bool | `true` | Specifies whether a service account should be created | | ||
| serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template | | ||
| serviceMonitor.annotations | object | `{}` | ServiceMonitor annotations | | ||
| serviceMonitor.enabled | bool | `false` | Create ServiceMonitor to scrape metrics for Prometheus | | ||
| serviceMonitor.interval | string | `nil` | ServiceMonitor scrape interval | | ||
| serviceMonitor.labels | object | `{}` | Additional ServiceMonitor labels | | ||
| serviceMonitor.namespace | string | `nil` | Alternative namespace for ServiceMonitor resources | | ||
| serviceMonitor.namespaceSelector | object | `{}` | Namespace selector for ServiceMonitor resources | | ||
| serviceMonitor.relabelings | list | `[]` | ServiceMonitor relabel configs to apply to samples before scraping https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/api.md#relabelconfig | | ||
| serviceMonitor.scrapeTimeout | string | `nil` | ServiceMonitor scrape timeout in Go duration format (e.g. 15s) | | ||
| tolerations | list | `[]` | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Grafana rollout-operator Helm Chart | ||
|
||
Helm chart for deploying [Grafana rollout-operator]({{ template "chart.homepage" . }}) to Kubernetes. | ||
|
||
{{ template "chart.header" . }} | ||
|
||
{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }} | ||
|
||
{{ template "chart.description" . }} | ||
|
||
{{ template "chart.sourcesSection" . }} | ||
|
||
{{ template "chart.requirementsSection" . }} | ||
|
||
## Installation | ||
|
||
This section describes various use cases for installation, upgrade and migration from different systems and versions. | ||
|
||
### Preparation | ||
|
||
These are the common tasks to perform before any of the use cases. | ||
|
||
```bash | ||
# Add the repository | ||
helm repo add grafana https://grafana.github.io/helm-charts | ||
helm repo update | ||
``` | ||
|
||
### Installation of Grafana Rollout Operator | ||
|
||
```bash | ||
helm install -n <namespace> <release> grafana/rollout-operator | ||
``` | ||
|
||
The Grafana rollout-operator should be installed in the same namespace as the statefulsets it is operating upon. | ||
It is not a highly available application and runs as a single pod. | ||
|
||
{{ template "chart.valuesSection" . }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Repo : {{ .Chart.Home }} | ||
|
||
Validation: | ||
|
||
Check the logs of the pod and ensure messages for reconcilliation of the statefulsets are present. | ||
``` | ||
kubectl logs -n {{ .Release.Namespace }} -l {{ include "cli.labels" . }} | ||
``` | ||
Example log line: | ||
level=debug ts=2022-04-20T13:59:52.783051541Z msg="reconciling StatefulSet" statefulset=mimir-store-gateway-zone-a |
79 changes: 79 additions & 0 deletions
79
charts/loki/charts/rollout-operator/templates/_helpers.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
{{/* | ||
Expand the name of the chart. | ||
*/}} | ||
{{- define "rollout-operator.name" -}} | ||
{{- default (include "rollout-operator.chartName" .) .Values.nameOverride | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
|
||
{{/* | ||
Create a default fully qualified app name. | ||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). | ||
If release name contains chart name it will be used as a full name. | ||
*/}} | ||
{{- define "rollout-operator.fullname" -}} | ||
{{- if .Values.fullnameOverride }} | ||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} | ||
{{- else }} | ||
{{- $name := default (include "rollout-operator.chartName" .) .Values.nameOverride }} | ||
{{- if contains $name .Release.Name }} | ||
{{- .Release.Name | trunc 63 | trimSuffix "-" }} | ||
{{- else }} | ||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{/* | ||
Recalculate the chart name, because it may be sub-chart included as rollout_operator, | ||
and _ is not valid in resource names. | ||
*/}} | ||
{{- define "rollout-operator.chartName" -}} | ||
{{- print .Chart.Name | replace "_" "-" -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Create chart name and version as used by the chart label. | ||
*/}} | ||
{{- define "rollout-operator.chart" -}} | ||
{{- printf "%s-%s" (include "rollout-operator.chartName" .) .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
|
||
{{/* | ||
Common labels | ||
*/}} | ||
{{- define "rollout-operator.labels" -}} | ||
helm.sh/chart: {{ include "rollout-operator.chart" . }} | ||
{{ include "rollout-operator.selectorLabels" . }} | ||
{{- if .Chart.AppVersion }} | ||
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} | ||
{{- end }} | ||
app.kubernetes.io/managed-by: {{ .Release.Service }} | ||
{{- end }} | ||
|
||
{{/* | ||
Selector labels | ||
*/}} | ||
{{- define "rollout-operator.selectorLabels" -}} | ||
app.kubernetes.io/name: {{ include "rollout-operator.name" . }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
{{- end }} | ||
|
||
{{/* | ||
Create the name of the service account to use | ||
*/}} | ||
{{- define "rollout-operator.serviceAccountName" -}} | ||
{{- if .Values.serviceAccount.create }} | ||
{{- default (include "rollout-operator.fullname" .) .Values.serviceAccount.name }} | ||
{{- else }} | ||
{{- default "default" .Values.serviceAccount.name }} | ||
{{- end }} | ||
{{- end }} | ||
|
||
|
||
{{- define "cli.labels" -}} | ||
{{- $list := list -}} | ||
{{- range $k, $v := ( include "rollout-operator.selectorLabels" . | fromYaml ) -}} | ||
{{- $list = append $list (printf "%s=%s" $k $v) -}} | ||
{{- end -}} | ||
{{ join "," $list }} | ||
{{- end -}} |
Oops, something went wrong.