fix(alertmanager-ntfy): add global (and improve docs)
This commit is contained in:
parent
818b26c642
commit
62b585a006
4 changed files with 25 additions and 13 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
|||
name: alertmanager-ntfy
|
||||
description: Receiver for alertmanager to forward to ntfy.sh
|
||||
type: application
|
||||
version: 0.1.5
|
||||
version: "0.1.6"
|
||||
# renovate: image=codeberg.org/xenrox/ntfy-alertmanager
|
||||
appVersion: "0.4.0"
|
||||
maintainers:
|
||||
|
|
|
@ -7,7 +7,7 @@ description: "Receiver for alertmanager to forward to ntfy.sh"
|
|||
|
||||
# alertmanager-ntfy
|
||||
|
||||
  
|
||||
  
|
||||
|
||||
Receiver for alertmanager to forward to ntfy.sh
|
||||
|
||||
|
@ -49,10 +49,12 @@ helm uninstall alertmanager-ntfy-release
|
|||
| autoscaling.minReplicas | int | `1` | |
|
||||
| autoscaling.targetCPUUtilizationPercentage | int | `80` | |
|
||||
| fullnameOverride | string | `""` | |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| image.registry | string | `"codeberg.org"` | |
|
||||
| image.repository | string | `"xenrox/ntfy-alertmanager"` | |
|
||||
| image.tag | string | `""` | |
|
||||
| global.image.pullPolicy | string | `nil` | if set it will overwrite all pullPolicy |
|
||||
| global.image.registry | string | `nil` | if set it will overwrite all registry entries |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | This sets the pull policy for images. (could be overwritten by global.image.pullPolicy) |
|
||||
| image.registry | string | `"codeberg.org"` | image registry (could be overwritten by global.image.registry) |
|
||||
| image.repository | string | `"xenrox/ntfy-alertmanager"` | image repository |
|
||||
| image.tag | string | `""` | image tag - Overrides the image tag whose default is the chart appVersion. |
|
||||
| imagePullSecrets | list | `[]` | |
|
||||
| ingress.annotations | object | `{}` | |
|
||||
| ingress.className | string | `""` | |
|
||||
|
@ -84,7 +86,7 @@ helm uninstall alertmanager-ntfy-release
|
|||
| podAnnotations | object | `{}` | |
|
||||
| podLabels | object | `{}` | |
|
||||
| podSecurityContext | object | `{}` | |
|
||||
| replicaCount | int | `1` | |
|
||||
| replicaCount | int | `1` | replicas |
|
||||
| resources | object | `{}` | |
|
||||
| securityContext | object | `{}` | |
|
||||
| service.port | int | `80` | |
|
||||
|
|
|
@ -35,8 +35,10 @@ spec:
|
|||
- name: {{ .Chart.Name }}
|
||||
securityContext:
|
||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
{{- with .Values.image }}
|
||||
image: "{{ coalesce $.Values.global.image.registry .registry }}/{{ .repository }}:{{ .tag | default $.Chart.AppVersion }}"
|
||||
imagePullPolicy: {{ coalesce $.Values.global.image.pullPolicy .pullPolicy }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: {{ .Values.ntfyAlertmanager.port }}
|
||||
|
|
|
@ -1,14 +1,22 @@
|
|||
# Default values for ntfy-alertmanager.
|
||||
# This is a YAML-formatted file.
|
||||
# Declare variables to be passed into your templates.
|
||||
global:
|
||||
image:
|
||||
# -- if set it will overwrite all registry entries
|
||||
registry:
|
||||
# -- if set it will overwrite all pullPolicy
|
||||
pullPolicy:
|
||||
|
||||
|
||||
# -- replicas
|
||||
replicaCount: 1
|
||||
|
||||
image:
|
||||
# -- image registry (could be overwritten by global.image.registry)
|
||||
registry: codeberg.org
|
||||
# -- image repository
|
||||
repository: xenrox/ntfy-alertmanager
|
||||
# -- This sets the pull policy for images. (could be overwritten by global.image.pullPolicy)
|
||||
pullPolicy: IfNotPresent
|
||||
# Overrides the image tag whose default is the chart appVersion.
|
||||
# -- image tag - Overrides the image tag whose default is the chart appVersion.
|
||||
tag: ""
|
||||
|
||||
ntfyAlertmanager:
|
||||
|
|
Loading…
Add table
Reference in a new issue