Skip to content

Commit

Permalink
Merge branch 'main' into prom-2.48
Browse files Browse the repository at this point in the history
Signed-off-by: zeritti <[email protected]>
  • Loading branch information
zeritti authored Nov 21, 2023
2 parents 293f6c6 + 4d95b7a commit aa07171
Show file tree
Hide file tree
Showing 12 changed files with 33 additions and 9 deletions.
2 changes: 1 addition & 1 deletion charts/jiralert/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: jiralert
description: A Helm chart for Kubernetes to install jiralert
type: application
version: 1.6.1
version: 1.7.0
appVersion: "v1.3.0"
home: "https://github.com/prometheus-community/jiralert"
keywords:
Expand Down
4 changes: 4 additions & 0 deletions charts/jiralert/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ spec:
value: {{ $value | quote }}
{{- end }}
{{- end }}
{{- with .Values.envFrom }}
envFrom:
{{- toYaml . | nindent 12 }}
{{- end }}
serviceAccountName: {{ include "jiralert.serviceAccountName" . }}
{{- with .Values.podSecurityContext }}
securityContext:
Expand Down
3 changes: 3 additions & 0 deletions charts/jiralert/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ extraVolumeMounts: []
# -- Additional Volumes
extraVolumes: []

# -- Additional envFrom for jiralert pods
envFrom: {}

# Number of pod replicas
replicaCount: 1

Expand Down
4 changes: 2 additions & 2 deletions charts/prometheus-adapter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: prometheus-adapter
version: 4.8.1
appVersion: v0.11.1
version: 4.8.3
appVersion: v0.11.2
description: A Helm chart for k8s prometheus adapter
home: https://github.com/kubernetes-sigs/prometheus-adapter
keywords:
Expand Down
4 changes: 3 additions & 1 deletion charts/prometheus-adapter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ spec:
{{- toYaml .Values.affinity | nindent 8 }}
topologySpreadConstraints:
{{- toYaml .Values.topologySpreadConstraints | nindent 8 }}
priorityClassName: {{ .Values.priorityClassName }}
{{- with .Values.priorityClassName }}
priorityClassName: {{ . }}
{{- end }}
{{- if .Values.podSecurityContext }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
Expand Down
2 changes: 1 addition & 1 deletion charts/prometheus-windows-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ keywords:
- prometheus
- exporter
type: application
version: 0.1.1
version: 0.1.2
appVersion: 0.22.0
home: https://github.com/prometheus-community/windows_exporter/
sources:
Expand Down
2 changes: 1 addition & 1 deletion charts/prometheus-windows-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ image:

config: |-
collectors:
enabled: '[defaults],container'
enabled: '[defaults],memory,container'
imagePullSecrets: []
# - name: "image-pull-secret"
Expand Down
2 changes: 1 addition & 1 deletion charts/prometheus/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: prometheus
appVersion: v2.48.0
version: 25.7.0
version: 25.8.0
kubeVersion: ">=1.19.0-0"
description: Prometheus is a monitoring system and time series database.
home: https://prometheus.io/
Expand Down
3 changes: 3 additions & 0 deletions charts/prometheus/templates/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ spec:
{{- end }}
{{- end }}
serviceAccountName: {{ template "prometheus.serviceAccountName.server" . }}
{{- if kindIs "bool" .Values.server.automountServiceAccountToken }}
automountServiceAccountToken: {{ .Values.server.automountServiceAccountToken }}
{{- end }}
{{- if .Values.server.extraInitContainers }}
initContainers:
{{ toYaml .Values.server.extraInitContainers | indent 8 }}
Expand Down
4 changes: 3 additions & 1 deletion charts/prometheus/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ metadata:
namespace: {{ include "prometheus.namespace" . }}
annotations:
{{ toYaml .Values.serviceAccounts.server.annotations | indent 4 }}
{{- if .Values.serviceAccounts.server.automountServiceAccountToken }}
{{- if kindIs "bool" .Values.server.automountServiceAccountToken }}
automountServiceAccountToken: {{ .Values.server.automountServiceAccountToken }}
{{- else if kindIs "bool" .Values.serviceAccounts.server.automountServiceAccountToken }}
automountServiceAccountToken: {{ .Values.serviceAccounts.server.automountServiceAccountToken }}
{{- end }}
{{- end }}
3 changes: 3 additions & 0 deletions charts/prometheus/templates/sts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ spec:
{{- end }}
{{- end }}
serviceAccountName: {{ template "prometheus.serviceAccountName.server" . }}
{{- if kindIs "bool" .Values.server.automountServiceAccountToken }}
automountServiceAccountToken: {{ .Values.server.automountServiceAccountToken }}
{{- end }}
{{- if .Values.server.extraInitContainers }}
initContainers:
{{ toYaml .Values.server.extraInitContainers | indent 8 }}
Expand Down
9 changes: 8 additions & 1 deletion charts/prometheus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ serviceAccounts:
create: true
name: ""
annotations: {}
# automountServiceAccountToken:

## Opt out of automounting Kubernetes API credentials.
## It will be overriden by server.automountServiceAccountToken value, if set.
# automountServiceAccountToken: false

## Additional labels to attach to all resources
commonMetaLabels: {}
Expand Down Expand Up @@ -98,6 +101,10 @@ server:
##
name: server

## Opt out of automounting Kubernetes API credentials.
## If set it will override serviceAccounts.server.automountServiceAccountToken value for ServiceAccount.
# automountServiceAccountToken: false

## Use a ClusterRole (and ClusterRoleBinding)
## - If set to false - we define a RoleBinding in the defined namespaces ONLY
##
Expand Down

0 comments on commit aa07171

Please sign in to comment.