Skip to content

Commit 0723a47

Browse files
authored
feat(pyrra): added extraKubernetesArgs and extraApiArgs (#129)
* feat(pyrra): added extraKubernetesArgs and extraApiArgs Signed-off-by: David Calvert <[email protected]> * doc(pyrra): updated README.md Signed-off-by: David Calvert <[email protected]> * fix(doc): new options descriptions Signed-off-by: David Calvert <[email protected]> --------- Signed-off-by: David Calvert <[email protected]>
1 parent a7c223e commit 0723a47

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

charts/pyrra/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ type: application
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
1818

19-
version: 0.8.0
19+
version: 0.9.0
2020

2121
# This is the version number of the application being deployed. This version number should be
2222
# incremented each time you make changes to the application. Versions are not expected to
2323
# follow Semantic Versioning. They should reflect the version the application is using.
2424
# It is recommended to use it with quotes.
25-
appVersion: v0.6.2
25+
appVersion: v0.6.4

charts/pyrra/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# pyrra
22

3-
![Version: 0.8.0](https://img.shields.io/badge/Version-0.8.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.6.2](https://img.shields.io/badge/AppVersion-v0.6.2-informational?style=flat-square)
3+
![Version: 0.9.0](https://img.shields.io/badge/Version-0.9.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.6.4](https://img.shields.io/badge/AppVersion-v0.6.4-informational?style=flat-square)
44

55
SLO manager and alert generator
66

@@ -13,6 +13,8 @@ Additionaly, you (most likely) will need to specify prometheusExternalUrl with U
1313
| Key | Type | Default | Description |
1414
|-----|------|---------|-------------|
1515
| additionalLabels | object | `{}` | |
16+
| extraApiArgs | list | `[]` | Extra args for Pyrra's API container |
17+
| extraKubernetesArgs | list | `[]` | Extra args for Pyrra's Kubernetes container |
1618
| fullnameOverride | string | `""` | Overrides helm-generated chart fullname |
1719
| genericRules.enabled | bool | `false` | enables generate Pyrra generic recording rules. Pyrra generates metrics with the same name for each SLO. |
1820
| image.pullPolicy | string | `"IfNotPresent"` | Overrides pullpolicy |

charts/pyrra/templates/deployment.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ spec:
3535
{{- if .Values.genericRules.enabled }}
3636
- --generic-rules
3737
{{- end }}
38+
{{- with .Values.extraKubernetesArgs }}
39+
{{- toYaml . | nindent 12 }}
40+
{{- end }}
3841
resources:
3942
{{- toYaml .Values.resources | nindent 12 }}
4043
- name: {{ .Chart.Name }}
@@ -49,6 +52,9 @@ spec:
4952
{{- if .Values.prometheusExternalUrl }}
5053
- --prometheus-external-url={{ .Values.prometheusExternalUrl }}
5154
{{- end }}
55+
{{- with .Values.extraApiArgs }}
56+
{{- toYaml . | nindent 12 }}
57+
{{- end }}
5258
ports:
5359
- name: http
5460
containerPort: 9099

charts/pyrra/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ image:
1616
additionalLabels: {}
1717
# app: pyrra
1818

19+
# -- Extra args for Pyrra's API container
20+
extraApiArgs: []
21+
# -- Extra args for Pyrra's Kubernetes container
22+
extraKubernetesArgs: []
23+
1924
serviceAccount:
2025
# -- Specifies whether a service account should be created
2126
create: true

0 commit comments

Comments
 (0)