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
|
description: A Helm chart for Kubernetes
|
||||||
icon: https://github.com/binwiederhier/ntfy/raw/main/web/public/static/images/pwa-512x512.png
|
icon: https://github.com/binwiederhier/ntfy/raw/main/web/public/static/images/pwa-512x512.png
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.13
|
version: 0.2.0
|
||||||
# renovate: image=docker.io/binwiederhier/ntfy
|
# renovate: image=docker.io/binwiederhier/ntfy
|
||||||
appVersion: "2.11.0"
|
appVersion: "2.11.0"
|
||||||
maintainers:
|
maintainers:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
= ntfy
|
= 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/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]
|
image::https://img.shields.io/badge/AppVersion-2.11.0-informational?style=flat-square[AppVersion: 2.11.0]
|
||||||
== Maintainers
|
== Maintainers
|
||||||
|
@ -72,6 +72,16 @@ helm uninstall ntfy-release
|
||||||
| `80`
|
| `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
|
| fullnameOverride
|
||||||
| string
|
| string
|
||||||
| `""`
|
| `""`
|
||||||
|
@ -435,7 +445,7 @@ helm uninstall ntfy-release
|
||||||
| podSecurityContext
|
| podSecurityContext
|
||||||
| object
|
| object
|
||||||
| `{}`
|
| `{}`
|
||||||
|
|
| set securityContext on pod level
|
||||||
|
|
||||||
| prometheus.rules.additionalRules
|
| prometheus.rules.additionalRules
|
||||||
| list
|
| list
|
||||||
|
@ -475,7 +485,7 @@ helm uninstall ntfy-release
|
||||||
| securityContext
|
| securityContext
|
||||||
| object
|
| object
|
||||||
| `{}`
|
| `{}`
|
||||||
|
|
| set securityContext on container level
|
||||||
|
|
||||||
| service.http.port
|
| service.http.port
|
||||||
| int
|
| int
|
||||||
|
|
|
@ -42,9 +42,16 @@ spec:
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default (printf "v%s" .Chart.AppVersion) }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default (printf "v%s" .Chart.AppVersion) }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
args: [ "serve" ]
|
args: [ "serve" ]
|
||||||
|
{{- with .Values.env }}
|
||||||
|
env:
|
||||||
|
{{- toYaml . | nindent 12 }}
|
||||||
|
{{- end }}
|
||||||
envFrom:
|
envFrom:
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: {{ include "ntfy.fullname" . }}-env
|
name: {{ include "ntfy.fullname" . }}-env
|
||||||
|
{{- with .Values.envFrom }}
|
||||||
|
{{- toYaml . | nindent 12 }}
|
||||||
|
{{- end }}
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: {{ .Values.service.http.port }}
|
containerPort: {{ .Values.service.http.port }}
|
||||||
|
|
|
@ -144,9 +144,16 @@ serviceAccount:
|
||||||
podLabels: {}
|
podLabels: {}
|
||||||
podAnnotations: {}
|
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: {}
|
podSecurityContext: {}
|
||||||
# fsGroup: 2000
|
# fsGroup: 2000
|
||||||
|
|
||||||
|
# -- set securityContext on container level
|
||||||
securityContext: {}
|
securityContext: {}
|
||||||
# capabilities:
|
# capabilities:
|
||||||
# drop:
|
# drop:
|
||||||
|
|
Loading…
Add table
Reference in a new issue