Commit new App releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2021-11-22 21:42:57 +00:00
parent d6031872ac
commit b414de7295
47 changed files with 14 additions and 91 deletions

View File

@ -1,43 +0,0 @@
{{- if .Values.alertmanager.enabled }}
apiVersion: v1
kind: Service
metadata:
name: {{ template "kube-prometheus.alertmanager.fullname" . }}
namespace: {{ .Release.Namespace }}
labels: {{- include "kube-prometheus.alertmanager.labels" . | nindent 4 }}
{{- with .Values.alertmanager.service.annotations }}
annotations: {{- toYaml . | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.alertmanager.service.type }}
{{- if index .Values.alertmanager "stickySessions" }}
sessionAffinity: ClientIP
{{- end }}
{{- if and .Values.alertmanager.service.loadBalancerIP (eq .Values.alertmanager.service.type "LoadBalancer") }}
loadBalancerIP: {{ .Values.alertmanager.service.loadBalancerIP }}
{{- end }}
{{- if and (eq .Values.alertmanager.service.type "LoadBalancer") .Values.alertmanager.service.loadBalancerSourceRanges }}
{{- with .Values.alertmanager.service.loadBalancerSourceRanges }}
loadBalancerSourceRanges: {{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}
{{- if and (eq .Values.alertmanager.service.type "LoadBalancer") .Values.alertmanager.service.externalTrafficPolicy }}
externalTrafficPolicy: {{ .Values.alertmanager.service.externalTrafficPolicy }}
{{- end }}
{{- if and (eq .Values.alertmanager.service.type "LoadBalancer") (eq .Values.alertmanager.service.externalTrafficPolicy "Local") .Values.alertmanager.service.healthCheckNodePort }}
healthCheckNodePort: {{ .Values.alertmanager.service.healthCheckNodePort }}
{{- end }}
{{- if and (eq .Values.alertmanager.service.type "ClusterIP") .Values.alertmanager.service.clusterIP }}
clusterIP: {{ .Values.alertmanager.service.clusterIP }}
{{- end }}
ports:
- name: http
port: {{ .Values.alertmanager.service.port }}
targetPort: 9093
{{- if and .Values.alertmanager.service.nodePort (or (eq .Values.alertmanager.service.type "NodePort") (eq .Values.alertmanager.service.type "LoadBalancer")) }}
nodePort: {{ .Values.alertmanager.service.nodePort }}
{{- end }}
selector:
app.kubernetes.io/name: alertmanager
alertmanager: {{ template "kube-prometheus.alertmanager.fullname" . }}
{{- end }}

View File

@ -1,42 +0,0 @@
{{- define "prometheus.prometheus.thanos.service" -}}
{{- if and .Values.prometheus.enabled .Values.prometheus.thanos.create }}
---
apiVersion: v1
kind: Service
metadata:
name: {{ template "kube-prometheus.prometheus.fullname" . }}-thanos
namespace: {{ .Release.Namespace }}
labels: {{- include "kube-prometheus.prometheus.labels" . | nindent 4 }}
app.kubernetes.io/subcomponent: thanos
{{- if .Values.prometheus.thanos.service.annotations }}
annotations: {{- include "common.tplvalues.render" (dict "value" .Values.prometheus.thanos.service.annotations "context" $) | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.prometheus.thanos.service.type }}
{{- if and .Values.prometheus.thanos.service.loadBalancerIP (eq .Values.prometheus.thanos.service.type "LoadBalancer") }}
loadBalancerIP: {{ .Values.prometheus.thanos.service.loadBalancerIP }}
{{- end }}
{{- if and (eq .Values.prometheus.thanos.service.type "LoadBalancer") .Values.prometheus.thanos.service.loadBalancerSourceRanges }}
{{- with .Values.prometheus.thanos.service.loadBalancerSourceRanges }}
loadBalancerSourceRanges: {{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}
{{- if and (eq .Values.prometheus.thanos.service.type "ClusterIP") .Values.prometheus.thanos.service.clusterIP }}
clusterIP: {{ .Values.prometheus.thanos.service.clusterIP }}
{{- end }}
ports:
- name: grpc
port: {{ .Values.prometheus.thanos.service.port }}
targetPort: grpc
protocol: TCP
{{- if and .Values.prometheus.thanos.service.nodePort (or (eq .Values.prometheus.thanos.service.type "NodePort") (eq .Values.prometheus.thanos.service.type "LoadBalancer")) }}
nodePort: {{ .Values.prometheus.thanos.service.nodePort }}
{{- end }}
{{- if .Values.prometheus.thanos.service.extraPorts }}
{{- include "common.tplvalues.render" (dict "value" .Values.prometheus.thanos.service.extraPorts "context" $) | nindent 4 }}
{{- end }}
selector:
app.kubernetes.io/name: prometheus
prometheus: {{ template "kube-prometheus.prometheus.fullname" . }}
{{- end }}
{{- end }}

View File

@ -1,6 +1,15 @@
# Changelog<br>
<a name="prometheus-0.0.5"></a>
### [prometheus-0.0.5](https://github.com/truecharts/apps/compare/prometheus-0.0.4...prometheus-0.0.5) (2021-11-22)
#### Fix
* migrate away services
<a name="prometheus-0.0.4"></a>
### [prometheus-0.0.4](https://github.com/truecharts/apps/compare/prometheus-0.0.3...prometheus-0.0.4) (2021-11-22)

View File

@ -3,4 +3,4 @@ dependencies:
repository: https://truecharts.org
version: 8.9.0
digest: sha256:897df8a7a9ac40261f41d88342ca2d8748cdf91b8e8ed0ba04c8f26643bf3430
generated: "2021-11-22T21:20:49.297052633Z"
generated: "2021-11-22T21:40:17.029801231Z"

View File

@ -20,7 +20,7 @@ sources:
- https://github.com/prometheus-community/helm-charts
- https://github.com/prometheus-operator/kube-prometheus
type: application
version: 0.0.4
version: 0.0.5
annotations:
truecharts.org/catagories: |
- metrics

View File

@ -63,7 +63,7 @@ You will, however, be able to use all values referenced in the common chart here
| alertmanager.podSecurityContext.enabled | bool | `true` | |
| alertmanager.podSecurityContext.fsGroup | int | `1001` | |
| alertmanager.podSecurityContext.runAsUser | int | `1001` | |
| alertmanager.portName | string | `"web"` | |
| alertmanager.portName | string | `"alertmanager"` | |
| alertmanager.priorityClassName | string | `""` | |
| alertmanager.readinessProbe.enabled | bool | `true` | |
| alertmanager.readinessProbe.failureThreshold | int | `120` | |

View File

@ -1164,7 +1164,7 @@ alertmanager:
routePrefix: /
## @param alertmanager.portName Port name used for the pods and governing service. This defaults to web
##
portName: web
portName: alertmanager
## @param alertmanager.configNamespaceSelector AlertmanagerConfigs to be selected for to merge and configure Alertmanager with. This defaults to {}
##
configNamespaceSelector: {}

View File

@ -9,7 +9,6 @@
{{- include "prometheus.prometheus.prometheus" . }}
{{- include "prometheus.prometheus.additionalprometheusrules" . }}
{{- include "prometheus.prometheus.additionalscrapejobs" . }}
{{- include "prometheus.prometheus.thanos.service" . }}
{{- include "prometheus.prometheus.servicemonitor" . }}

View File

@ -239,7 +239,7 @@ spec:
resources: {{- toYaml .Values.prometheus.thanos.resources | nindent 8 }}
{{- end }}
ports:
- name: grpc
- name: thanos
containerPort: 10901
protocol: TCP
- name: http