test common helm

This commit is contained in:
Julien Cabillot
2022-02-25 18:11:16 -05:00
parent 7d444f276f
commit 26dc960787
10 changed files with 42 additions and 315 deletions

View File

@@ -1,100 +1,18 @@
# Default values for gotify.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
#
# IMPORTANT NOTE
#
# This chart inherits from our common library chart. You can check the default values/options here:
# https://scm.docker.cabillot.eu/perso/helm-library-common
#
image:
repository: docker.io/gotify/server
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: ""
pullPolicy: Always
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
automountServiceAccountToken: false
user: "admin"
pass: "admin"
serviceAccount:
# Specifies whether a service account should be created
create: false
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: "gotify"
podAnnotations: {}
podSecurityContext: {}
# fsGroup: 2000
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: "ClusterIP"
port: 80
ingress:
enabled: false
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
paths:
- path: /
backend:
serviceName: chart-example.local
servicePort: 80
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
ingressroute:
enabled: false
host: 'chart-example.local'
adminauth: ''
tls: []
annotations: {}
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 1
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
nodeSelector: {}
tolerations: []
affinity: {}
# TODO: pv/pvc for sqlite
env:
TZ: America/New_York
GOTIFY_DATABASE_CONNECTION: data/gotify.db
GOTIFY_DATABASE_DIALECT: sqlite3
GOTIFY_PASSSTRENGTH: "10"
@@ -115,3 +33,23 @@ env:
GOTIFY_SERVER_STREAM_PINGPERIODSECONDS: "45"
GOTIFY_UPLOADEDIMAGESDIR: data/images
TZ: America/New_York
envFrom:
- secretRef:
name: {{ include "common.names.fullname" . }}
secret:
user: "admin"
pass: "admin"
service:
main:
ports:
http:
port: 80
ingress:
main:
enabled: false
# TODO: pv/pvc for sqlite