feat(ntfy): add support to set env and envFrom
This commit is contained in:
parent
00f54c07ed
commit
1f45a8d4d7
4 changed files with 28 additions and 4 deletions
|
@ -3,7 +3,7 @@ name: ntfy
|
|||
description: A Helm chart for Kubernetes
|
||||
icon: https://github.com/binwiederhier/ntfy/raw/main/web/public/static/images/pwa-512x512.png
|
||||
type: application
|
||||
version: 0.1.13
|
||||
version: 0.2.0
|
||||
# renovate: image=docker.io/binwiederhier/ntfy
|
||||
appVersion: "2.11.0"
|
||||
maintainers:
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
= ntfy
|
||||
|
||||
image::https://img.shields.io/badge/Version-0.1.13-informational?style=flat-square[Version: 0.1.13]
|
||||
image::https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square[Version: 0.2.0]
|
||||
image::https://img.shields.io/badge/Version-application-informational?style=flat-square[Type: application]
|
||||
image::https://img.shields.io/badge/AppVersion-2.11.0-informational?style=flat-square[AppVersion: 2.11.0]
|
||||
== Maintainers
|
||||
|
@ -72,6 +72,16 @@ helm uninstall ntfy-release
|
|||
| `80`
|
||||
|
|
||||
|
||||
| env
|
||||
| list
|
||||
| `[]`
|
||||
| set env in container for usage Environment variables
|
||||
|
||||
| envFrom
|
||||
| list
|
||||
| `[]`
|
||||
| set envFrom in container for usage of ConfigMaps or Secrets as a bunch of Environment variables
|
||||
|
||||
| fullnameOverride
|
||||
| string
|
||||
| `""`
|
||||
|
@ -435,7 +445,7 @@ helm uninstall ntfy-release
|
|||
| podSecurityContext
|
||||
| object
|
||||
| `{}`
|
||||
|
|
||||
| set securityContext on pod level
|
||||
|
||||
| prometheus.rules.additionalRules
|
||||
| list
|
||||
|
@ -475,7 +485,7 @@ helm uninstall ntfy-release
|
|||
| securityContext
|
||||
| object
|
||||
| `{}`
|
||||
|
|
||||
| set securityContext on container level
|
||||
|
||||
| service.http.port
|
||||
| int
|
||||
|
|
|
@ -42,9 +42,16 @@ spec:
|
|||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default (printf "v%s" .Chart.AppVersion) }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
args: [ "serve" ]
|
||||
{{- with .Values.env }}
|
||||
env:
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: {{ include "ntfy.fullname" . }}-env
|
||||
{{- with .Values.envFrom }}
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: {{ .Values.service.http.port }}
|
||||
|
|
|
@ -144,9 +144,16 @@ serviceAccount:
|
|||
podLabels: {}
|
||||
podAnnotations: {}
|
||||
|
||||
# -- set env in container for usage Environment variables
|
||||
env: []
|
||||
# -- set envFrom in container for usage of ConfigMaps or Secrets as a bunch of Environment variables
|
||||
envFrom: []
|
||||
|
||||
# -- set securityContext on pod level
|
||||
podSecurityContext: {}
|
||||
# fsGroup: 2000
|
||||
|
||||
# -- set securityContext on container level
|
||||
securityContext: {}
|
||||
# capabilities:
|
||||
# drop:
|
||||
|
|
Loading…
Add table
Reference in a new issue